Commit Graph

74 Commits

Author SHA1 Message Date
Maximilian Hils
67885320c0 add ASGI support for embedded apps
This commit replaces our WSGI implementation with a new ASGI one,
which then uses `asgiref`'s compatibility mode to still support WSGI applications.
The ASGI implementation is a bit bare-bone, but good enough for our purposes.

The major changes are:

  - We now support ASGI apps.
  - Instead of taking connections out of mitmproxy's normal processing,
    we now just set flow.response and let things continue as usual.
    This allows users to see responses in mitmproxy, use the response hook
    to modify app responses, etc. Also important for us,
    this makes the new implementation work for shenanigans like sans-io.
2020-08-13 17:22:31 +02:00
Maximilian Hils
20f6f823ac revamp onboarding app
- improve and simplify layout
- revise install instructions
- ditch fontawesome to reduce file size
2020-08-13 08:12:49 +02:00
sanlengjingvv
5d0e1906e6
Show http trailers in web-ui (#4142) 2020-08-12 17:21:31 +02:00
Alexander Prinzhorn
5ebc338fde
Prevent transparent mode from connecting to itself in the basic cases, references #4128 (#4135) 2020-08-11 13:13:09 +02:00
Maximilian Hils
06f67d6c55
Merge branch 'master' into guess_encoding 2020-08-07 19:01:37 +02:00
Alexander Prinzhorn
2bb5f7b973 Updated typing for WebsocketMessage.content 2020-08-07 12:03:13 +02:00
rugk
9e4f7d47f7
Fix link to anticache docs in mitmweb (#4126) 2020-08-06 22:04:33 +02:00
Alexander Prinzhorn
2fe8f3a218 Use @charset to decode CSS files if available 2020-08-06 15:01:23 +02:00
Tom Hacohen
5fd702934c Add a msgpack content viewer. 2020-07-22 16:47:08 +03:00
Martin Plattner
cc75d7109d bump version to 5.2 2020-07-18 22:05:03 +02:00
Thomas Kriechbaumer
04abe6b85b match HTTP-WebSocket handshake flow with ~websocket
fixes #3990
2020-07-16 17:49:47 +02:00
tunnelpr0
be8cb243b5
Update CHANGELOG
Fixed the DNS Rebind Protection for secure support of IPv6 addresses (@tunnelpr0)
2020-07-09 21:33:06 +02:00
gorogoroumaru
b456c3afa1 Changed iteration to list comprehension in order to prevent "RuntimeError: dictionary changed size during iteration" 2020-07-06 19:01:10 +02:00
Thomas Kriechbaumer
49e10d7cc2 add http trailers changelog entry 2020-07-06 18:54:55 +02:00
Martin Plattner
89fad1e2b1 add mapremote addon to modify request URLs 2020-07-03 14:27:37 +02:00
Thomas Kriechbaumer
ac95f84a4c update changelog 2020-07-01 11:47:42 +02:00
Thomas Kriechbaumer
a233fdd302 bump version to 5.1.1 2020-04-13 13:09:23 +02:00
Thomas Kriechbaumer
c10ae4f524 bump version to 5.1.0 2020-04-13 09:46:45 +02:00
Thomas Kriechbaumer
7f4e73a766 add provisional changelog 2020-04-13 09:46:45 +02:00
Maximilian Hils
f245d24767 update CHANGELOG for 5.0.1 2019-12-27 18:25:57 +01:00
Maximilian Hils
1f45e14242 update CHANGELOG for 5.0 2019-12-12 16:38:29 +01:00
Maximilian Hils
22347d48e9 update CHANGELOG for 4.0.4 2018-07-31 14:18:07 +02:00
Aldo Cortesi
58c93a233b CHANGELOG, release/README updates
We no longer care about annotated tags.
2018-06-16 23:36:39 +12:00
Aldo Cortesi
ff8a9f5440 Sync CHANGELOG for v4.x 2018-06-16 09:07:37 +12:00
Aldo Cortesi
cf14409da9 CHANGELOG 2018-05-17 09:58:17 +12:00
Aldo Cortesi
be27bde4d4 cmdline: --conf -> --confdir, which specifies the config directory, not the yaml options file
This is a much more sensible behaviour for the flag.
2018-05-10 17:35:37 +12:00
Aldo Cortesi
1f02354196 Initial changelog for 4.0 2018-05-10 17:23:29 +12:00
Aldo Cortesi
9830e5b597 cadir -> confdir
We store a lot more than just the CAs in our configuration directory. Clarify
the option name.
2018-05-10 11:40:33 +12:00
Maximilian Hils
e33cf54e07 update CHANGELOG 2018-04-05 17:10:46 +02:00
luz.paz
afbb7f117b Misc. typos
Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt`
Where whitelist contains:
```
cas
doubleclick
nd
ot
seeked
statics
te
thru
```
2018-02-24 21:45:11 -05:00
Aldo Cortesi
3c7f41dee6 Prep for v3.0.1 2018-02-23 14:25:34 +13:00
Maximilian Hils
ef30360481
minor changelog improvements 2018-02-22 12:42:02 +01:00
Aldo Cortesi
7cb6937f03 Update changelog for 3.0
Fixes #2784
2018-02-22 20:53:43 +13:00
Maximilian Hils
bd88733a0a update CHANGELOG 2017-04-28 14:22:56 +02:00
Thomas Kriechbaumer
91c3a99d48 update CHANGELOG with 2.0.0 release 2017-02-21 18:55:31 +01:00
Aldo Cortesi
cd6a4afc05 Bump changelog timestamp 2016-12-26 11:53:27 +13:00
Maximilian Hils
9f1cbe8746 add mitmweb and Windows compat to changelog 2016-12-22 02:55:07 +01:00
Thomas Kriechbaumer
7a14a8cee5 Update CHANGELOG
update changelog
2016-12-21 22:50:53 +01:00
Maximilian Hils
0c18f7ec9e Update CHANGELOG 2016-12-21 22:47:17 +01:00
Aldo Cortesi
aa90fd359d Administrivia: docs for new config file, minor adjustments
For now, the config file docs basically say "it's YAML, read the source". We
should do better for the next release.
2016-12-17 10:57:13 +13:00
Aldo Cortesi
2fe7cf448d Release administrivia: changelog stub, contributors, bump to v1.0 2016-12-17 10:35:13 +13:00
Maximilian Hils
8c3eed16d4 update CHANGELOG 2016-10-15 18:15:28 -07:00
Maximilian Hils
deb7844004 update CHANGELOG 2016-04-09 17:43:47 -07:00
Aldo Cortesi
2e7b29ce20 Merge remote-tracking branch 'origin/unify' 2016-02-18 10:10:31 +13:00
Aldo Cortesi
10047a025f One CHANGELOG at the top of the repo 2016-02-18 09:05:24 +13:00
Maximilian Hils
b7701eb8c1 add combined MANIFEST.in and CHANGELOG 2016-02-17 00:02:18 +01:00
Maximilian Hils
33fa49277a move mitmproxy 2016-02-15 14:58:46 +01:00
Aldo Cortesi
5db6275c63 Changelog 2015-12-04 11:19:24 +13:00
Aldo Cortesi
9beae933ba Bump version, update CONTRIBUTORS, CHANGELOG 2015-11-06 13:52:08 +13:00
Aldo Cortesi
675e70c7eb Changelog for v0.13 2015-07-26 14:21:18 +12:00