Commit Graph

2560 Commits

Author SHA1 Message Date
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
Maximilian Hils
dffc7e7450 Merge pull request #914 from mitmproxy/modern-setuptools
Modern setuptools
2016-02-04 23:00:51 +01:00
Maximilian Hils
d77f11d3ba make sure that we don't get bitten by upstream 2016-02-04 19:03:35 +01:00
Maximilian Hils
110a5147ad always install urwid 2016-02-04 18:46:57 +01:00
Maximilian Hils
b077edbc92 setup.py: no range operators for env markers 2016-02-04 18:44:40 +01:00
Maximilian Hils
a4a8b38dc8 simplify setup.py 2016-02-04 18:37:58 +01:00
Maximilian Hils
375dbe0703 always add common name as subjectAltName 2016-02-04 18:16:23 +01:00
Thomas Kriechbaumer
023026e032 Merge pull request #883 from mitmproxy/hyper-h2
HTTP/2: Implementation using hyper-h2
2016-02-04 10:51:18 +01:00
Maximilian Hils
98f54d21b6 travis: cache wheels on osx, allow pypy failures 2016-02-04 09:52:29 +01:00
Maximilian Hils
69df00c19f remove debug output 2016-02-04 09:52:29 +01:00
Maximilian Hils
07c36542f0 fix travis caching 2016-02-04 09:52:29 +01:00
Maximilian Hils
547dd4163e fix import 2016-02-04 09:52:29 +01:00
Maximilian Hils
9759207c8d check for channel error location 2016-02-04 09:52:29 +01:00
Thomas Kriechbaumer
cf8c063773 fix http2 race condition 2016-02-04 09:52:29 +01:00
Thomas Kriechbaumer
ca5cc34d0b cleanup 2016-02-04 09:52:29 +01:00
Maximilian Hils
68bcc82b8e do not send RST if there is not upstream stream openend yet 2016-02-04 09:52:28 +01:00
Maximilian Hils
6bc1755750 add comment that explains OrderedDict use 2016-02-04 09:52:28 +01:00