aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/builtins
Commit message (Collapse)AuthorAgeFilesLines
...
* setheaders -> addonAldo Cortesi2016-07-172-0/+41
|
* Merge pull request #1370 from cortesi/filestreamerAldo Cortesi2016-07-172-9/+21
|\ | | | | Some work on stream-to-file
| * Some work on stream-to-fileAldo Cortesi2016-07-172-9/+21
| | | | | | | | | | - stream -> filestreamer throughout - move active_flows set into FileStreamer addon
* | dumper: correctly detect request replayAldo Cortesi2016-07-171-2/+4
| | | | | | | | Fixes #1361
* | Some mild refactoring of dumper.pyAldo Cortesi2016-07-171-19/+46
| |
* | Extract console dump functionality into an addonAldo Cortesi2016-07-171-0/+223
|/ | | | | | | | | | | | | | | This removes all the code that deals with printing flows to screen from dump.py into a self-contained addon. - This fixes a bug - by moving dumping into an addon, we now dump flows AFTER addon transformation, so we can see the changes made. - We get dumping "for free" in other places by simply adding the addon. It's now easy to add dumping to console to mitmweb for debugging and development. The same goes for external projects that derive from master. - We also get major benefits in clarity for a frankly hairy part of our project. Mitmdump is much clearer, and all the hairyness is now isolated for further refactoring.
* replacehooks -> addonAldo Cortesi2016-07-162-0/+51
| | | | | Also fixes a bug in header replacements in netlib that resulted in a mutable multidict.
* Trigger "start" when scripts are reloaded.Aldo Cortesi2016-07-161-0/+1
|
* Script cleanupsAldo Cortesi2016-07-151-14/+33
| | | | | | - Preserve script order on config change - Prohibit script duplicates (i.e. identical script + args) - Various cleanups and tweaks
* Add .start for addons and scriptsAldo Cortesi2016-07-151-10/+19
| | | | Also improve error messages, fix various unit tests
* Always use PollingObserverAldo Cortesi2016-07-141-7/+2
|
* Add a tick event for addons and scripts, and use it for race-free reloadAldo Cortesi2016-07-141-14/+20
|
* First-order integration of scripts addonAldo Cortesi2016-07-142-0/+158
|
* Re-add deletion of stickycookies (#1355)Shadab Zafar2016-07-141-4/+14
| | | | This was originally added in #1324 (fixing issue #1096) but got lost during "the big refactor" (#1352)
* Stream to file -> addonAldo Cortesi2016-07-142-0/+56
| | | | | This commit also clarifies a confusion about the "outfile" attribute and its use in testing in the mitmdump master.
* StickyCookies to addonAldo Cortesi2016-07-142-0/+72
|
* AntiCache to addonAldo Cortesi2016-07-142-0/+15
|
* Move StickyAuth into addonAldo Cortesi2016-07-142-0/+30
| | | | | This is the first addon that handles an OptionsError, so this commit also demos how this works in console. Handling of command-line erorrs is on its way.
* Satisfy our ruthless linting overlordsAldo Cortesi2016-07-131-0/+1
|
* Add the addons mechanismAldo Cortesi2016-07-132-0/+21
Demonstrate how it works and interacts with Options by adding our first new builtin: anticomp.