Maximilian Hils
7b6b157547
properly handle SNI IPs
...
fixes mitmproxy/mitmproxy#772
We must use the ipaddress package here, because that's what cryptography
uses. If we opt for something else, we have nasty namespace conflicts.
2015-09-18 15:35:02 +02:00
Maximilian Hils
66d21fa4ba
trigger inline script hooks for artifical responses, fix #775
2015-09-18 13:51:05 +02:00
Maximilian Hils
5df5ee15f2
remove old server replay workaround, fix #774
2015-09-18 13:27:05 +02:00
Maximilian Hils
f2c87cff8a
fix py3 tests
2015-09-17 17:32:59 +02:00
Maximilian Hils
266b80238d
fix tests
2015-09-17 17:29:55 +02:00
Maximilian Hils
d798ed955d
python3++
2015-09-17 16:31:50 +02:00
Maximilian Hils
6661ad3143
code -> status_code, httpversion -> http_version
2015-09-17 15:25:28 +02:00
Maximilian Hils
906360f63f
code -> status_code, httpversion -> http_version
2015-09-17 15:16:33 +02:00
Maximilian Hils
8d71059d77
clean up http message models
2015-09-17 15:16:12 +02:00
Maximilian Hils
12984f149c
move body assembly to netlib
2015-09-17 02:40:08 +02:00
Maximilian Hils
a07e43df8b
http1: add assemble_body function
2015-09-17 02:39:42 +02:00
Maximilian Hils
8fa01f41a6
minor fixes
2015-09-17 02:39:07 +02:00
Maximilian Hils
dad9f06cb9
organize exceptions, improve content-length handling
2015-09-17 02:14:14 +02:00
Maximilian Hils
f61109db84
use new netlib exceptions
2015-09-17 02:13:42 +02:00
Maximilian Hils
14a5f405fd
use new netlib exceptions
2015-09-17 02:13:28 +02:00
Maximilian Hils
8fbed971ae
Merge pull request #768 from mitmproxy/netlib-http1-refactor
...
Adjust to netlib changes
2015-09-16 20:24:48 +02:00
Maximilian Hils
a7291a7e78
Merge pull request #34 from mitmproxy/netlib-http1-refactor
...
Adjust to netlib changes
2015-09-16 20:22:19 +02:00
Maximilian Hils
e1659f3fcf
Merge pull request #92 from mitmproxy/python3
...
Python3 & HTTP1 Refactor
2015-09-16 20:19:52 +02:00
Maximilian Hils
1a6e41c200
minor fixes
2015-09-16 20:12:53 +02:00
Maximilian Hils
0af0608978
adjust to netlib changes
2015-09-16 18:45:22 +02:00
Maximilian Hils
9f26d68f47
adjust to netlib changes
2015-09-16 18:44:34 +02:00
Maximilian Hils
265f31e878
adjust http1-related code
2015-09-16 18:43:24 +02:00
Maximilian Hils
ee6969c1fa
s/below/above/
2015-09-16 13:40:50 +02:00
Maximilian Hils
f5900d1a7b
simplify test script
2015-09-16 04:09:05 +02:00
Maximilian Hils
1f3844da89
make pypi happy
2015-09-16 04:08:29 +02:00
Maximilian Hils
774d5b42a2
improve readme
2015-09-16 03:59:22 +02:00
Maximilian Hils
457025df9a
Merge pull request #751 from mitmproxy/readthedocs
...
Move Docs to readthedocs
2015-09-16 02:53:01 +02:00
Maximilian Hils
9b882d2450
test parts on python 3.5
2015-09-16 00:09:43 +02:00
Maximilian Hils
a077d8877d
finish netlib.http.http1 refactor
2015-09-16 00:04:23 +02:00
Maximilian Hils
11e7f476bd
wip
2015-09-15 19:12:15 +02:00
Maximilian Hils
436a9ea839
minor fixes
2015-09-14 23:58:06 +02:00
Maximilian Hils
2f9c566e48
remove pathod as dependency
2015-09-13 14:33:45 +02:00
Maximilian Hils
32b487109f
Merge pull request #765 from mitmproxy/such-colors-very-wow
...
Improve Content Views
2015-09-12 17:57:21 +02:00
Maximilian Hils
4106e19612
relax test suite time tests
2015-09-12 17:50:24 +02:00
Maximilian Hils
5fe12a467f
fix tests
2015-09-12 17:40:30 +02:00
Maximilian Hils
eb2264e91a
improve display of non-ascii contents
...
fixes #283
2015-09-12 17:10:38 +02:00
Maximilian Hils
997fcde8ce
make clean_bin unicode-aware
2015-09-12 17:03:09 +02:00
Maximilian Hils
049d253a83
simplify contentview api
2015-09-12 13:49:16 +02:00
Maximilian Hils
9c31669211
mitmdump: colorize output, add content views
2015-09-11 19:03:50 +02:00
Maximilian Hils
b7b46bac46
content view: fix fallback
2015-09-11 16:40:58 +02:00
Maximilian Hils
02d80631dc
Merge pull request #764 from mitmproxy/contentviews
...
Extract Content Views from Console
2015-09-11 15:31:25 +02:00
Maximilian Hils
47602dc1a5
clean up tests
2015-09-11 13:41:16 +02:00
Maximilian Hils
960f62f363
fix bugs
2015-09-11 13:37:52 +02:00
Maximilian Hils
625a719eb1
completely remove console from contentviews
2015-09-11 12:26:52 +02:00
Maximilian Hils
7c186a4edb
Merge branch 'master' into contentviews
2015-09-11 12:13:39 +02:00
Maximilian Hils
dd414e4852
better error messages, remove error cause
2015-09-11 02:17:04 +02:00
Maximilian Hils
40ce06e780
tls layer: fix early peek
2015-09-11 01:47:13 +02:00
Maximilian Hils
ffdf143be4
better exception handling
2015-09-11 01:39:33 +02:00
Maximilian Hils
c159c8ca13
fix chunked encoding
2015-09-11 01:18:17 +02:00
Maximilian Hils
a38142d595
don't yield empty chunks
2015-09-11 01:17:39 +02:00