mitmproxy/test/mitmproxy
Brad Dixon 4ee6bc79a0
Add json() method for HTTP Request and Response classes. (#4612)
* Add `json()` method for HTTP Request and Response classes.

* Raise errors when fetching content to decode as json.

* Update http.py

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-06-15 08:39:48 +00:00
..
addons [sans-io] add support for body_size_limit 2021-06-13 15:56:33 +02:00
completion
contentviews GraphQL content-view (#4396) 2021-01-22 00:29:09 +01:00
coretypes Fix several DeprecationWarning: invalid escape sequence 2019-01-05 23:37:48 +01:00
data Use emoji and characters as markers. Add ~marker filter syntax. (#4587) 2021-05-27 11:40:41 +02:00
io Use emoji and characters as markers. Add ~marker filter syntax. (#4587) 2021-05-27 11:40:41 +02:00
net move body streaming into proxy core, fix #4470 2021-06-13 15:56:33 +02:00
platform [sans-io] add transparent proxy, improve testing 2020-12-12 21:24:18 +01:00
proxy [sans-io] add support for body_size_limit 2021-06-13 15:56:33 +02:00
script Reply: remove return value 2020-12-28 22:09:57 +01:00
tools coverage++ 2021-03-30 13:03:41 +02:00
utils Use emoji and characters as markers. Add ~marker filter syntax. (#4587) 2021-05-27 11:40:41 +02:00
__init__.py nuke Pillow 2017-02-15 00:54:14 +01:00
test_addonmanager.py converge on hooks, events, and commands 2021-01-05 22:00:54 +01:00
test_certs.py Fix parsing of certificate issuer/subject with escaped special chars (#4557) 2021-05-27 09:51:01 +00:00
test_command_lexer.py add test for console error 2020-05-01 16:07:29 +05:30
test_command.py pyupgrade --py36-plus mitmproxy/**/*.py 2020-11-20 19:25:26 +01:00
test_connection.py adjust tests, increase coverage 2021-02-05 08:44:17 +01:00
test_controller.py add MitmproxyEvent for addon events 2021-01-05 21:54:44 +01:00
test_ctx.py restructure and move test files 2017-02-14 23:31:37 +01:00
test_eventsequence.py tests++ 2021-03-09 00:55:47 +01:00
test_exceptions.py restructure and move test files 2017-02-14 23:31:37 +01:00
test_flow.py Add flow.comment command and keybinding to add a comment to a flow. (#4608) 2021-05-28 20:38:27 +02:00
test_flowfilter.py Add flow.comment command and keybinding to add a comment to a flow. (#4608) 2021-05-28 20:38:27 +02:00
test_hooks.py duplicate hooks: warn instead of raise 2021-01-16 20:31:50 +01:00
test_http.py Add json() method for HTTP Request and Response classes. (#4612) 2021-06-15 08:39:48 +00:00
test_log.py add LogEntry.__eq__ 2017-08-01 13:42:37 +02:00
test_master.py restructure and move test files 2017-02-14 23:31:37 +01:00
test_options.py restructure and move test files 2017-02-14 23:31:37 +01:00
test_optmanager.py update ruamel.yaml, adjust api 2021-06-13 19:59:11 +02:00
test_proxy.py cleanup old proxy server 2020-12-28 14:33:10 +01:00
test_stateobject.py Add typechecking of Any values for state object 2018-06-17 10:22:17 +12:00
test_taddons.py Reply: remove return value 2020-12-28 22:09:57 +01:00
test_tcp.py add individual-coverage check 2017-02-16 11:43:45 +01:00
test_typemanager.py commands: refactor types 2017-12-18 17:02:48 +13:00
test_types.py Use emoji and characters as markers. Add ~marker filter syntax. (#4587) 2021-05-27 11:40:41 +02:00
test_version.py mitmproxy --version: incorporate non-annotated tags 2019-12-21 02:18:26 +01:00
test_websocket.py ressurect killed, is_text -> type 2021-03-10 20:29:16 +01:00
tservers.py add MitmproxyEvent for addon events 2021-01-05 21:54:44 +01:00