Commit Graph

2576 Commits

Author SHA1 Message Date
Maximilian Hils
ea0ba6d143 Merge pull request #935 from mitmproxy/coding-style
Improve Coding Style
2016-02-14 15:10:09 +01:00
Thomas Kriechbaumer
4767474d4b remove noop code 2016-02-14 14:58:36 +01:00
Thomas Kriechbaumer
6746cf5f54 autoflake 2016-02-14 14:45:27 +01:00
Thomas Kriechbaumer
efcfc62b73 autopep8 2016-02-14 14:43:48 +01:00
Thomas Kriechbaumer
5e65b933b2 improve landscape config 2016-02-14 14:36:44 +01:00
Thomas Kriechbaumer
c394ee31fb Merge pull request #933 from mitmproxy/http2-log
Print HTTP2 frames to debug log
2016-02-14 14:33:02 +01:00
Maximilian Hils
7c17c6ddbe print http2 frames to debug log 2016-02-14 14:18:31 +01:00
Maximilian Hils
5968983b4c make travis less noisy 2016-02-14 12:53:46 +01:00
Maximilian Hils
a54fc2785f Merge pull request #932 from fimad/master
Do not send Proxy-Agent in CONNECT responses, fix #783
2016-02-14 01:27:51 +01:00
Will Coster
d60257e767 Do not send Proxy-Agent in CONNECT responses
Sending any headers at all in response to a CONNECT request breaks
proxying Android emulators on all non-80 ports.

Issue: #783
2016-02-13 16:16:12 -08:00
Maximilian Hils
bd68b4f678 Merge pull request #929 from ganguera/ganguera/basic_auth
Added Basic Auth support for MITMWeb interface
2016-02-12 23:35:16 +01:00
Guillem Anguera
195ea8e15a Send password_manager as a general application setting instead of per handler 2016-02-12 23:30:42 +01:00
Maximilian Hils
1f4d031a60 improve snapshot upload 2016-02-12 21:42:02 +01:00
Maximilian Hils
cb3c7b9072 Merge pull request #931 from mortonfox/patch-1
Update virtualenv links
2016-02-12 07:34:58 +01:00
Morton Fox
be4a1711da Update virtualenv links 2016-02-12 00:11:01 -05:00
Maximilian Hils
8d8ae74102 workaround for RTD issue rtfd/readthedocs.org#152 2016-02-11 00:38:49 +01:00
Guillem Anguera
5306523446 Added Basic Auth support for MITMWeb interface 2016-02-11 00:14:38 +01:00
Maximilian Hils
b0dc44428e fix #823 2016-02-10 19:42:41 +01:00
Maximilian Hils
5283074cba relax dependencies for enum34, fix #924 2016-02-10 17:05:43 +01:00
Maximilian Hils
678bf6b793 Merge branch 'master' of https://github.com/mitmproxy/mitmproxy 2016-02-10 17:04:37 +01:00
Maximilian Hils
d1a617be85 fix #925 2016-02-10 17:03:40 +01:00
Maximilian Hils
324184a25a Merge pull request #916 from dufferzafar/export-code
Export any flow request as Python code
2016-02-10 16:05:03 +01:00
Shadab Zafar
33c514e2a7 Use textwrap.dedent in flow_export.python_code too 2016-02-10 14:13:32 +05:30
Shadab Zafar
5f044d03b7 Use classes to test a command, move code to separate methods under
classes
2016-02-09 21:58:29 +05:30
Shadab Zafar
0576f579ed Use textwrap.dedent to improve readability of tests 2016-02-09 21:52:22 +05:30
Shadab Zafar
1c2f8a608e Rename test_export_flow.py to test_flow_export.py 2016-02-09 21:26:05 +05:30
Thomas Kriechbaumer
d5aa4f017d fix syntax 2016-02-08 20:06:33 +01:00
Thomas Kriechbaumer
bee1201918 fix #920
This might be implemented by hyper-h2 in the future.
2016-02-08 19:41:11 +01:00
Shadab Zafar
ae8fb0a3d3 Fix content length header issues
Caused by:
d253ebc142
2016-02-08 23:31:56 +05:30
Shadab Zafar
56892f885b Tests for flow_export.raw_request 2016-02-08 23:31:30 +05:30
Shadab Zafar
ddeb3731a8 Tests for flow_export.python_code 2016-02-08 23:31:01 +05:30
Shadab Zafar
61a4743b62 Test exact return value of flow_export.curl_command 2016-02-08 21:56:20 +05:30
Shadab Zafar
abc1552800 Add some basic tests for flow_exports 2016-02-08 21:28:10 +05:30
Shadab Zafar
3374be9f4b Move exporters to a separate file 2016-02-08 20:18:25 +05:30
Thomas Kriechbaumer
ec087a1960 Merge pull request #921 from mitmproxy/model-cleanup
Model Cleanup
2016-02-08 11:41:30 +01:00
Maximilian Hils
bdb763d9cf make stateobject simpler and stricter 2016-02-08 04:19:25 +01:00
Maximilian Hils
e9934cc008 simplify state management 2016-02-08 02:10:10 +01:00
Maximilian Hils
cd744592f6 remove duplicate code 2016-02-08 01:11:52 +01:00
Maximilian Hils
2654cd87af fix #876 2016-02-08 01:06:18 +01:00
Maximilian Hils
b0477fd8c9 http2: indicate http version in the ui 2016-02-08 00:45:35 +01:00
Maximilian Hils
370a0f91c1 http2: fix http_version 2016-02-08 00:45:19 +01:00
Maximilian Hils
c8d2876f23 raise error if --http2 is specified, but the OpenSSL version doesn't support it 2016-02-08 00:44:38 +01:00
Maximilian Hils
218e66cb32 removed unused parameter 2016-02-08 00:43:20 +01:00
Maximilian Hils
992842ddaf update dependencies 2016-02-06 00:29:06 +01:00
Maximilian Hils
5ce2d8c26d do not include 'test' as package 2016-02-06 00:27:10 +01:00
Maximilian Hils
066aeb1b19 update dependencies 2016-02-05 23:29:13 +01:00
Thomas Kriechbaumer
b69f48f1f3 Merge pull request #917 from mitmproxy/not-so-modern-setuptools
remove compatible version specifiers
2016-02-05 23:19:17 +01:00
Maximilian Hils
db719f1673 remove compatible version specifiers 2016-02-05 22:59:24 +01:00
Shadab Zafar
545014dcb6 Export any flow as Python code, not just GET
The generic code idea was taken from Postman's code export:
https://www.getpostman.com/
2016-02-06 00:41:57 +05:30
Shadab Zafar
9efda4d138 Refactor copy_as_python_code
Make it easier to support other HTTP request types
2016-02-06 00:41:01 +05:30