mitmproxy/mitmproxy
Matthew Hughes 7b4e219c4e
mitmweb: handle {en,de}coding on server-side (#4811)
* mitmweb: handle {en,de}coding on server-side

Handle this server-side rather than passing the message content encoding
details back when fetching flow content. If {en,de}coding fails, return
the raw request contents.

This addresses https://github.com/mitmproxy/mitmproxy/issues/4809

* fix typo

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-09-23 15:55:43 +02:00
..
addons Merge pull request #4780 from mhils/socks5-auth 2021-08-27 10:30:54 +02:00
contentviews contentviews: ignore empty data 2021-08-12 10:21:06 +02:00
contrib Improve Shell Script syntax (#4497) 2021-03-11 19:12:03 +01:00
coretypes docs++ 2021-02-13 00:13:37 +01:00
io fix tnetstread crash found via fuzzing 2021-08-08 16:12:37 +02:00
net Merge pull request from GHSA-22gh-3r9q-xf38 2021-09-16 11:12:59 +02:00
platform update mypy 2021-06-13 17:17:10 +02:00
proxy catch more tls errors where we know it's a trust issue 2021-09-16 13:38:37 +02:00
script converge on hooks, events, and commands 2021-01-05 22:00:54 +01:00
test make flake8 happy 2021-09-04 00:23:45 +02:00
tools mitmweb: handle {en,de}coding on server-side (#4811) 2021-09-23 15:55:43 +02:00
utils size column: add a bit more precision 2021-08-04 17:14:42 +02:00
__init__.py Remove asyncio event loop workaround for tornado (#4762) 2021-08-18 14:12:39 +00:00
addonmanager.py docs++ 2021-02-13 00:13:37 +01:00
certs.py Make Cert.not{before,after} timezone aware (#4805) 2021-09-16 10:53:36 +02:00
command_lexer.py commands: only accept escaped quotes 2021-07-15 13:12:58 +02:00
command.py handle escape sequences in mitmproxy.types 2021-07-14 13:17:31 +02:00
connection.py Allow no-op assignments to Server.address when connection open (#4687) 2021-07-19 09:25:21 +00:00
controller.py Reply: remove return value 2020-12-28 22:09:57 +01:00
ctx.py update mypy 2019-11-12 04:38:13 +01:00
eventsequence.py remove websocket_error event, fixes #4674 2021-07-12 16:35:25 +02:00
exceptions.py Reply: remove return value 2020-12-28 22:09:57 +01:00
flow.py Add flow.comment command and keybinding to add a comment to a flow. (#4608) 2021-05-28 20:38:27 +02:00
flowfilter.py Add flow.comment command and keybinding to add a comment to a flow. (#4608) 2021-05-28 20:38:27 +02:00
hooks.py duplicate hooks: warn instead of raise 2021-01-16 20:31:50 +01:00
http.py Fix warning in pytest (#4803) 2021-09-13 20:10:56 +00:00
log.py fix #3506 (#4777) 2021-08-23 19:35:31 +00:00
master.py tests++ 2021-03-09 00:55:47 +01:00
options.py socks5 upstream auth: use proxyauth option 2021-08-25 17:23:49 +02:00
optmanager.py fix set command to not keep old values around 2021-07-15 14:31:52 +02:00
py.typed Add py.typed stub as per PEP-561 2019-12-29 14:19:39 +02:00
stateobject.py pyupgrade --py36-plus mitmproxy/**/*.py 2020-11-20 19:25:26 +01:00
tcp.py docs++ 2021-02-13 00:13:37 +01:00
types.py commands: only accept escaped quotes 2021-07-15 13:12:58 +02:00
version.py reopen main for development 2021-08-04 15:12:51 +02:00
websocket.py WebSocketMessage.kill() -> .drop() 2021-07-15 14:57:43 +02:00