Commit Graph

9628 Commits

Author SHA1 Message Date
Maximilian Hils
f9b63e973e
Remove asyncio event loop workaround for tornado (#4762)
* remove asyncio event loop workaround for tornado

* Update CHANGELOG.md
2021-08-18 14:12:39 +00:00
Alexander Prinzhorn
edbb3d6791
update ws injection example, fixes #4751 (#4761)
* update ws injection example, fixes #4751

* Update websocket-inject-message.py

* Revert "Update websocket-inject-message.py"

This reverts commit 86b4cda2f4d6d694db7d0d8b30ec04c3ef123181.

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-08-18 11:37:28 +00:00
Povilas Balciunas
b36ce70ead
Add more type hints (#4754)
* Add more type hints

* Update mitmproxy/net/tls.py

Co-authored-by: Thomas Kriechbaumer <Kriechi@users.noreply.github.com>

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
Co-authored-by: Thomas Kriechbaumer <Kriechi@users.noreply.github.com>
2021-08-18 13:24:36 +02:00
Thomas Kriechbaumer
92518f3b67
Merge pull request #4747 from KORraNpl/korran/fix_DeprecationWarning_in_har_dump.py
Fix DeprecationWarning in har_dump.py
2021-08-13 22:42:25 +02:00
Maximilian Hils
a7f27259a7 contentviews: ignore empty data 2021-08-12 10:21:06 +02:00
Maximilian Hils
f8b4c7bd44 add raw export command 2021-08-12 10:19:49 +02:00
Maximilian Hils
8866cc31bd view: add id-based flow selection 2021-08-12 10:18:56 +02:00
Maximilian Hils
94172594b3 [web] update fontawesome 2021-08-12 10:16:43 +02:00
KORraNpl
52c81c287e Fix DeprecationWarning in har_dump.py 2021-08-11 20:32:39 +02:00
Maximilian Hils
ab6f1ebb44
Merge pull request #4741 from Mattwmaster58/main
case insensitive encoding
2021-08-10 08:18:56 +02:00
Maximilian Hils
4fb3e4c321 treat encoding names case-insensitively, fix #4735
Co-authored-by: Mattwmaster58 <mattwmaster58@gmail.com>
2021-08-10 08:11:34 +02:00
Maximilian Hils
1ce7e8e02e
[requires.io] dependency update on main branch (#4740)
* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

* Update setup.py

Co-authored-by: requires.io <support@requires.io>
2021-08-10 08:07:49 +02:00
Maximilian Hils
fb53df0cc1
expose full ClientHello object in tls_clienthello hook (#4744) 2021-08-09 15:41:05 +00:00
Maximilian Hils
c4dd46c3db
[requires.io] dependency update on main branch (#4738)
* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

Co-authored-by: requires.io <support@requires.io>
2021-08-08 16:16:27 +02:00
Maximilian Hils
fcec63eebc fix tnetstread crash found via fuzzing 2021-08-08 16:12:37 +02:00
Maximilian Hils
ca1229d60f
Merge pull request #4736 from mhils/py310
Add CI for Python 3.10rc1
2021-08-06 13:02:26 +02:00
Maximilian Hils
8ede5a4cb0 fix Python 3.10 compatibility 2021-08-06 10:22:49 +02:00
Maximilian Hils
5990f9e30f add CI for python 3.10rc1 2021-08-06 10:03:24 +02:00
Maximilian Hils
226e31290c Merge branch 'main' into gsoc 2021-08-04 19:16:31 +02:00
Maximilian Hils
7efefb716e docs: remove outdated http/2 advice 2021-08-04 17:30:36 +02:00
Maximilian Hils
4abd00afab
Merge pull request #4731 from aaron-tan/improve-render-size
Improve rendering of size column
2021-08-04 17:26:20 +02:00
Maximilian Hils
6aa9d8658f size column: add a bit more precision 2021-08-04 17:14:42 +02:00
Maximilian Hils
aa2abb9bf4 reopen main for development 2021-08-04 15:12:51 +02:00
Maximilian Hils
8b88e8f0a5 mitmproxy 7.0.2 2021-08-04 15:01:35 +02:00
Maximilian Hils
53a916e39b
fix websocket regression introduced in 7.0.1 (#4733) 2021-08-04 12:59:48 +00:00
Aaron Tan
4266c4852c Improve rendering of size column 2021-08-04 21:02:43 +10:00
Maximilian Hils
88374e958b reopen main for development 2021-08-03 17:33:06 +02:00
Maximilian Hils
2ebcd5f157 mitmproxy 7.0.1 2021-08-03 17:17:14 +02:00
Maximilian Hils
c90aaf55d9
Minor fixes, Docs++ (#4730)
* simplify upstream_cert logic

* docs: update ignore domains tutorial

* update certificate docs

* add proxy-auth header for plain http requests, fix #4728

* update CHANGELOG
2021-08-03 17:15:44 +02:00
Maximilian Hils
45123cd287 update CHANGELOG 2021-08-03 17:14:07 +02:00
Maximilian Hils
416e5046bc add proxy-auth header for plain http requests, fix #4728 2021-08-03 17:02:49 +02:00
Maximilian Hils
359406e7a5 update certificate docs 2021-08-03 17:02:49 +02:00
Maximilian Hils
aca3456fee docs: update ignore domains tutorial 2021-08-03 16:31:57 +02:00
Maximilian Hils
7d2525b4c7 simplify upstream_cert logic 2021-08-03 16:31:16 +02:00
Maximilian Hils
2ad3e5c698
Merge pull request #4716 from Zheaoli/fix-unittest
fix #4705
2021-08-03 14:43:18 +02:00
Maximilian Hils
7624e19010 tnetstring: accept IO[bytes], not just BinaryIO 2021-08-03 14:39:12 +02:00
Maximilian Hils
04a1ff4a42 catch TypeError when reading flows, fix #4705 2021-08-03 14:34:16 +02:00
Maximilian Hils
083987c007
minor export fixups, fix #4718, fix #4714 (#4725) 2021-08-02 18:32:01 +00:00
Brad Dixon
68cc3e721f
Fix #4614 Options and Keybinding screen: home and end crash mitmproxy (#4693)
* Fix #4614 Options and Keybinding screen: home and end crash mitmproxy

* fix flake8

* Add integration test for fix to #4614

* fix the flake8, again.
2021-08-02 19:18:22 +02:00
Maximilian Hils
3b87d3f66e
[requires.io] dependency update on main branch (#4723)
* [requires.io] dependency update

* [requires.io] dependency update

Co-authored-by: requires.io <support@requires.io>
2021-08-02 19:17:29 +02:00
Maximilian Hils
703fdea1a5
asgiapp: lowercase header names, refs #4717 (#4722) 2021-08-02 14:45:40 +00:00
Maximilian Hils
648a799525
don't fail on invalid certs, fix #4713 (#4721) 2021-08-02 13:15:05 +00:00
Maximilian Hils
b57bc68c51
Merge pull request #4710 from mhils/issue-4706
Improve HTTP Stream Modification
2021-08-02 14:36:44 +02:00
Maximilian Hils
51a15be50c extend test coverage for HTTP stream modification 2021-08-02 14:31:52 +02:00
Maximilian Hils
e865484c45
don't emit WS CONT. frames when the peer does not send any, fix #4701 (#4719) 2021-08-02 12:23:56 +00:00
Maximilian Hils
df797cd1b0 improve .stream docs 2021-08-02 14:02:54 +02:00
Maximilian Hils
c7e8b82420 update streaming example 2021-08-02 13:57:12 +02:00
Maximilian Hils
b64005dfea make it possible to return multiple chunks from streaming, refs #4706 2021-08-02 13:57:12 +02:00
Maximilian Hils
9d02eb91c4
[requires.io] dependency update on main branch (#4715)
* [requires.io] dependency update

* [requires.io] dependency update

Co-authored-by: requires.io <support@requires.io>
2021-08-02 13:51:38 +02:00
Manjusaka
331061c6f2
add unittest for mitmproxy.io 2021-08-01 20:57:56 +08:00