Commit Graph

433 Commits

Author SHA1 Message Date
Maximilian Hils
2f670bac99 fix tests, use pytest
We currently test with unparallelized builds,
because there are apparently some race conditions
in the test suite, which I can't trigger locally
but happen on travis.

Squashed commit of the following:

commit 7dceb6dd3a1bdbc39688258bc4dff6eee685a33b
Author: Maximilian Hils <git@maximilianhils.com>
Date:   Mon Sep 21 23:00:24 2015 +0200

    disable parallelized tests

commit fc0c3f12ee9259162e83026851362925d93b69f2
Author: Maximilian Hils <git@maximilianhils.com>
Date:   Mon Sep 21 22:49:19 2015 +0200

    fix tests

commit baba3ca5ef49bdbd7aad14f1bf0626738fa3d21c
Author: Maximilian Hils <git@maximilianhils.com>
Date:   Mon Sep 21 22:28:20 2015 +0200

    fix tests, use py.test
2015-09-21 23:03:45 +02:00
Maximilian Hils
2da4aaf1ed adjust to netlib changes 2015-09-21 18:39:37 +02:00
Maximilian Hils
6661ad3143 code -> status_code, httpversion -> http_version 2015-09-17 15:25:28 +02:00
Maximilian Hils
8fa01f41a6 minor fixes 2015-09-17 02:39:07 +02:00
Maximilian Hils
f61109db84 use new netlib exceptions 2015-09-17 02:13:42 +02:00
Maximilian Hils
1a6e41c200 minor fixes 2015-09-16 20:12:53 +02:00
Maximilian Hils
9f26d68f47 adjust to netlib changes 2015-09-16 18:44:34 +02:00
Maximilian Hils
b889e9e1a2 adjust to new netlib headers 2015-09-05 18:16:08 +02:00
Maximilian Hils
08b630f83a better sslversion handling 2015-08-29 12:30:54 +02:00
Maximilian Hils
dd317aa5d2 fix alpn 2015-08-28 17:35:22 +02:00
Thomas Kriechbaumer
31dbd2fc75 use netlib http semantics 2015-07-30 19:42:48 +02:00
Thomas Kriechbaumer
96c9c4459f fix duplicated header reading 2015-07-24 17:39:55 +02:00
Thomas Kriechbaumer
dc42e33505 fix bugs 2015-07-22 16:13:21 +02:00
Thomas Kriechbaumer
6101d11d6c http2: remove odict workaround 2015-07-22 15:30:34 +02:00
Thomas Kriechbaumer
3cf6bd5fb6 remove debug prints 2015-07-22 15:30:34 +02:00
Thomas Kriechbaumer
1a9c1a8c2d remove code duplication 2015-07-22 15:30:34 +02:00
Thomas Kriechbaumer
11ac387df2 rename content -> body 2015-07-22 15:30:34 +02:00
Thomas Kriechbaumer
6d5a3da929 use new HTTP/1 protocol 2015-07-22 15:30:34 +02:00
Thomas Kriechbaumer
caaac5cd5a inline log method 2015-07-22 15:30:33 +02:00
Thomas Kriechbaumer
032f8b2985 use common interface for HTTP/1 and HTTP/2 2015-07-22 15:30:33 +02:00
Thomas Kriechbaumer
2b0465dbb9 use new netlib module names 2015-07-22 15:30:33 +02:00
Thomas Kriechbaumer
a2bf19125a refactor protocol-related pathod methods 2015-07-22 15:30:33 +02:00
Thomas Kriechbaumer
c1e84cb322 use websockets protocol 2015-07-22 15:30:33 +02:00
Thomas Kriechbaumer
78ae3e4a00 use netlib.http_semantics for generic data 2015-07-22 15:30:33 +02:00
Maximilian Hils
9a1bee31d6 bump version 2015-07-22 00:21:48 +02:00
Maximilian Hils
4ef83d8c11 pathoc: add socks connect 2015-07-03 02:48:35 +02:00
Aldo Cortesi
4407508e0c Give some structure to the logging module 2015-06-28 12:16:02 +12:00
Aldo Cortesi
6b6317e1de Properly handle pause forever
Fixes #21
2015-06-27 10:46:12 +12:00
Aldo Cortesi
e3c869e4c9 Merge branch 'master' of ssh.github.com:mitmproxy/pathod 2015-06-27 10:35:32 +12:00
Aldo Cortesi
61679acf56 Preserve traceback for errors in log wrapper 2015-06-27 10:34:56 +12:00
Thomas Kriechbaumer
427e6d23ef apply js-beautify changes selectivly 2015-06-26 11:48:22 +02:00
Thomas Kriechbaumer
49707dd97f http2: implement embedded response 2015-06-26 10:48:42 +02:00
Thomas Kriechbaumer
7d7ae446a2 http2: fix framedump argument usage 2015-06-26 10:48:42 +02:00
Thomas Kriechbaumer
01f0982968 prettify html docs 2015-06-26 10:48:42 +02:00
Thomas Kriechbaumer
5c0f0c2c22 http2: update docs 2015-06-26 10:48:15 +02:00
Thomas Kriechbaumer
46255e6e9c http2: implement more language features 2015-06-25 14:59:22 +02:00
Thomas Kriechbaumer
09d76e1758 remove unused imports 2015-06-25 14:53:48 +02:00
Aldo Cortesi
94a7770a94 Output warning info to log fp using logging methods 2015-06-25 10:33:35 +12:00
Thomas Kriechbaumer
5d63afdc6d unify SSL version/method handling 2015-06-22 20:39:05 +02:00
Thomas Kriechbaumer
7a3623a14e fix pep8 whitespace 2015-06-18 18:15:22 +02:00
Thomas Kriechbaumer
bfc889d29a fix prospector code smells 2015-06-18 18:05:09 +02:00
Thomas Kriechbaumer
231cfcea38 fix failing mitmproxy tests 2015-06-18 12:53:36 +02:00
Thomas Kriechbaumer
65be004bb2 fix prospector code smells 2015-06-18 11:07:33 +02:00
Thomas Kriechbaumer
408b4ffef0 http2: implement Headers for request & response
improve test coverage
fix super ctor call
fix legacy httpversion
simpliy SSLInfo without ALPN
2015-06-16 14:53:41 +02:00
Thomas Kriechbaumer
ec68aa303e http2: implement error response 2015-06-16 11:33:10 +02:00
Thomas Kriechbaumer
a0d8afd0fc http2: add request-response to pathod 2015-06-15 15:51:01 +02:00
Thomas Kriechbaumer
30fbf57e4b delay pathod parsing until needed
This allows us to use different languages based on runtime env.
2015-06-15 15:50:45 +02:00
Thomas Kriechbaumer
22811c45dd fix craft anchor
The go-button in the app was broken due to an invalid string representation of the regex. A plain string used as URL prefix simplifies this drastically.
2015-06-15 15:50:45 +02:00
Thomas Kriechbaumer
0bc8fa1d0d http2: add pathoc and language tests 2015-06-15 15:50:44 +02:00
Thomas Kriechbaumer
b7c8021407 http2: using http2 implies SSL 2015-06-15 15:50:44 +02:00