aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* @mhils can't mergeMaximilian Hils2016-07-161-1/+1
|
* Merge remote-tracking branch 'duffer/tcpflow-filter'Maximilian Hils2016-07-165-32/+342
|\
| * Allow DummyFlow to match ~e, ~src and ~dstShadab Zafar2016-07-163-18/+37
| |
| * Sort filt items alphabeticallyShadab Zafar2016-07-161-14/+14
| |
| * Add DummyFlow and its TestsShadab Zafar2016-07-161-1/+59
| |
| * Add tests for TCPFlow.matchShadab Zafar2016-07-161-1/+15
| |
| * Add ~http and ~tcp filtersShadab Zafar2016-07-162-1/+31
| |
| * Use ~bq / ~bs for messages sent from client / serverShadab Zafar2016-07-162-19/+31
| |
| * Replace http decorator with one that handles different flowtypesShadab Zafar2016-07-161-20/+29
| |
| * Add TCPFlow.matchShadab Zafar2016-07-161-0/+21
| |
| * Add tests for HTTPFlow only filtersShadab Zafar2016-07-161-0/+50
| |
| * Add decorator for HTTPFlow filtersShadab Zafar2016-07-161-0/+25
| |
| * Add test for operators (& | !)Shadab Zafar2016-07-161-0/+25
| |
| * Add test for addresses (~src, ~dst)Shadab Zafar2016-07-161-0/+16
| |
| * Add test for body (~b)Shadab Zafar2016-07-162-6/+23
| |
| * Add test for error (~e)Shadab Zafar2016-07-161-1/+16
| |
* | Merge pull request #1306 from mitmproxy/message-body-encodingMaximilian Hils2016-07-1629-353/+644
|\ \ | | | | | | Improve Message Body Encoding
| * | preserve content-type parameter orderMaximilian Hils2016-07-152-2/+5
| | |
| * | Merge remote-tracking branch 'origin/master' into message-body-encodingMaximilian Hils2016-07-15162-2901/+3176
| |\|
| * | improve message content semanticsMaximilian Hils2016-07-1510-130/+194
| | |
| * | minor fixMaximilian Hils2016-07-041-1/+1
| | |
| * | raise ValueError if content-encoding is invalidMaximilian Hils2016-07-049-69/+154
| | |
| * | tests++Maximilian Hils2016-07-022-4/+46
| | |
| * | make the linter happyMaximilian Hils2016-07-023-3/+1
| | |
| * | update examples: no decoded() anymore :tada:Maximilian Hils2016-07-027-54/+46
| | |
| * | message.content -> .raw_content, implement .textMaximilian Hils2016-07-0223-268/+377
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR improves our handling of HTTP message body encodings: - The unaltered message body is now accessible as `.raw_content` - The "content-encoding"-decoded content (i.e. gzip removed) content is not `.content`, as this is what we want in 99% of the cases. - `.text` now provides the "content-encoding"-decoded and then "content-type charset"-decoded message body. - The decoded values for `.content` and `.text` are cached, so that repeated access and `x.text = x.text` is cheap. - The `decoded()` decorator is now deprecated, as we can now just use `.content`. Similarly `HTTPMessage.get_decoded_content()` is deprecated.
* | | Merge pull request #1363 from cortesi/replaceAldo Cortesi2016-07-1612-83/+122
|\ \ \ | |_|/ |/| | replacehooks -> addon
| * | replacehooks -> addonAldo Cortesi2016-07-1612-83/+122
|/ / | | | | | | | | Also fixes a bug in header replacements in netlib that resulted in a mutable multidict.
* | console: don't let messages overwrite promptsAldo Cortesi2016-07-161-1/+2
| | | | | | | | This renders mitmproxy unresponsive and is bad UX as well.
* | Merge pull request #1362 from cortesi/errorsAldo Cortesi2016-07-1618-60/+78
|\ \ | | | | | | Some work on errors and logs
| * | Make mitmdump return an error exit status if errors occurred during runAldo Cortesi2016-07-162-0/+6
| | |
| * | Flash a status bar message if an error log event occursAldo Cortesi2016-07-161-0/+3
| | |
| * | Add a helper to translate a log level to a tierAldo Cortesi2016-07-163-4/+8
| | | | | | | | | | | | This is in utils for now - we'll find a better home down the track.
| * | Trigger "start" when scripts are reloaded.Aldo Cortesi2016-07-161-0/+1
| | |
| * | add_event -> add_log throughout projectAldo Cortesi2016-07-1613-47/+47
| | | | | | | | | | | | | | | "Event" is terribly over-loaded in the project, and "log" is straight-forward and self-explanatory.
| * | Fix log level handlingAldo Cortesi2016-07-166-9/+13
| | | | | | | | | | | | We have 4: error, warn, info and debug.
| * | Add addons after initialisation in mitmproxy consoleAldo Cortesi2016-07-161-3/+3
|/ / | | | | | | | | The main effect of this is that we now properly capture errors on startup that were ignored before.
* | Zap unused test scriptsAldo Cortesi2016-07-1511-59/+9
| |
* | fix #1358Maximilian Hils2016-07-152-11/+11
| |
* | Merge pull request #1356 from cortesi/scriptAldo Cortesi2016-07-1535-708/+676
|\ \ | | | | | | Scripts to addon
| * | Script cleanupsAldo Cortesi2016-07-153-18/+100
| | | | | | | | | | | | | | | | | | - Preserve script order on config change - Prohibit script duplicates (i.e. identical script + args) - Various cleanups and tweaks
| * | Fix HAR extractorAldo Cortesi2016-07-152-6/+9
| | | | | | | | | | | | Thanks to @mhils
| * | Adjust concurrent tests for start methodAldo Cortesi2016-07-152-3/+1
| | |
| * | Add .start for addons and scriptsAldo Cortesi2016-07-1514-21/+46
| | | | | | | | | | | | Also improve error messages, fix various unit tests
| * | Fix windows parse_args testAldo Cortesi2016-07-151-1/+1
| | |
| * | Always use PollingObserverAldo Cortesi2016-07-141-7/+2
| | |
| * | Merge branch 'master' into scriptAldo Cortesi2016-07-141-0/+2
| |\ \ | |/ / |/| |
* | | Add missing mitmweb optionAldo Cortesi2016-07-141-0/+2
| | |
| * | Adjust for new options schemeAldo Cortesi2016-07-141-1/+1
| | |
| * | Add a tick event for addons and scripts, and use it for race-free reloadAldo Cortesi2016-07-143-14/+24
| | |