aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/har_dump.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix converting to HAR in case of void responseShrub, Aliaksei2019-11-291-2/+2
|
* fix lintingThomas Kriechbaumer2019-09-281-1/+1
|
* make dict comprehension more readableMaximilian Hils2019-09-051-1/+4
|
* Updated har_dump,py timings dictionary functionRamiBerm2019-09-031-1/+1
| | | | | | the HAR file spec (http://www.softwareishard.com/blog/har-12-spec/#timings) states that timings that do not apply for a certain requests should be set to -1, this example may set -1000 as a timings value for certain requests. This ends up producing invalid HAR files in many cases. My proposed fix is to assign -1 into the dic and only multiply by 1000 for other values
* har_dump example cmdline invocation0xHJK2018-05-081-0/+6
|
* fix Python 3.6 variable type annotations #3053oscure762018-04-141-4/+4
|
* Extend mypy checking, fix #2194 (#2819)Arushit Mudgal2018-02-031-2/+4
|
* rename TLS/SSL-related attributesThomas Kriechbaumer2018-01-061-2/+2
| | | | | | SSL is an outdated protocol superseeded by TLS. Although the commonly used library is called OpenSSL, it is no reason to still use outdated language for attributes.
* Merge pull request #2265 from cortesi/addonsAldo Cortesi2017-04-271-22/+17
|\ | | | | Addons and addon testing
| * Addons and addon testingAldo Cortesi2017-04-261-22/+17
| | | | | | | | | | | | | | | | - Fix some loading sequence bugs affecting command-line script invocation - Allow addons to over-ride existing options (with a warning). We need this for reloading. - Convert har_dump to new-style arguments, fix and re-instate its test suite. - Covnert miscelaneous other exmples to new-style args.
* | fix #2250, add type info to cookie moduleMaximilian Hils2017-04-261-1/+1
|/
* addon loader: add boot_into, which replaces returning from start()Aldo Cortesi2017-03-251-1/+1
| | | | | While we're here, expand test coverage for addonmanager to 100%, and promote to individual coverage.
* addons: start -> load throughoutAldo Cortesi2017-03-251-1/+1
|
* Enable custom options for addonsAldo Cortesi2017-03-141-1/+1
| | | | | | | | - Add an options parameter to the start() event. This is to be used by addons on startup to add custom options. - Add a running() event that is called once the proxy is up and running. - With the new paradigm we can't log during master __init__, so add a tiny termstatus addon to print proxy status to terminal once we're running.
* fix tcp.Address leftoversMaximilian Hils2017-03-081-1/+1
| | | this fixes the issue described in https://github.com/mitmproxy/mitmproxy/issues/2119#issuecomment-285067292
* Remove pytz in hardumpUjjwal Verma2017-02-251-7/+3
|
* Encoding fixes and testsUjjwal Verma2017-02-051-1/+2
|
* fix #1858Maximilian Hils2016-12-191-1/+1
|
* organize examplesMaximilian Hils2016-11-211-0/+219
This commit is largely based on work by Thiago Arrais (@thiagoarrais) and Shane Bradfield (@l33tLumberjack). I wasn't really able to get their PR reasonably merged onto the latest master, so I reapplied their changes manually here and did some further improvements on that.