aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_flow.py
Commit message (Collapse)AuthorAgeFilesLines
* Some refactoring of the console inteface.Aldo Cortesi2013-07-281-1/+1
| | | | | | Reduce some state duplication, by removing currentflow variable. Fixes #141
* always read files in binary modeMaximilian Hils2013-06-161-1/+1
|
* Minor coverage.Aldo Cortesi2013-04-301-0/+2
|
* Merge pull request #101 from eentzel/keep-blank-paramsAldo Cortesi2013-04-041-1/+1
|\ | | | | Keep blank URL parameters
| * Keep blank URL parametersEric Entzel2013-02-111-1/+1
| | | | | | | | TODO: This should probably be configurable
* | Add the --host option, which uses the value in the Host header for dispaly URLs.Aldo Cortesi2013-03-171-1/+12
| | | | | | | | | | - Can be toggled with "o" then "h" in mitmproxy - Useful for transparent mode
* | Introduce a filtered flow writer, and use it in dump.pyAldo Cortesi2013-03-141-2/+19
| | | | | | | | Fixes #104
* | Significantly refactor the master/slave message passing interface.Aldo Cortesi2013-02-171-13/+19
|/
* Beef up unit tests for HAR utility functions - flow.py coverage now 100%.Aldo Cortesi2013-01-291-6/+22
|
* adding helper functions to make HAR export easierRouli2013-01-281-0/+113
|
* Unit test love - 100% for flow.py, dump.pyAldo Cortesi2013-01-051-1/+17
|
* Expand Flow.match to accept either a string or a compiled filter expression.Aldo Cortesi2012-09-141-3/+6
|
* Getter and setter for path component on Requests.Aldo Cortesi2012-08-191-1/+19
|
* Add SetHeaders, analogous to ReplaceHooks, with a graphical editor in ↵Aldo Cortesi2012-08-181-5/+62
| | | | | | | mitmproxy (H shortcut). SetHeaders defines headers that are set on flows, based on a matching pattern. Existing headers are over-ridden.
* Add a size() method to flow.Request and flow.Response.Aldo Cortesi2012-08-041-0/+7
|
* removed assigned but unread variablesAndrás Veres-Szentkirályi2012-07-151-1/+1
|
* removed unused importsAndrás Veres-Szentkirályi2012-07-151-2/+0
|
* Add streaming to FlowMasterAldo Cortesi2012-07-091-1/+27
|
* Remove ODict tests. ODict is now in netlib.Aldo Cortesi2012-07-091-111/+0
|
* Fix error when serializing reverted SSL flows.Aldo Cortesi2012-07-051-0/+7
|
* Serialization and de-serialization of new cert format.Aldo Cortesi2012-06-281-11/+1
|
* Fix a problem in ODictCaseless that could cause duplicate headers.Aldo Cortesi2012-06-151-0/+6
|
* Fix an exception when replaying a flow with no response.Aldo Cortesi2012-06-101-3/+0
|
* Add HTTP version to response objects.Aldo Cortesi2012-06-101-4/+4
| | | | Another change in the serialization format.
* Add HTTP version to flow.RequestAldo Cortesi2012-06-101-11/+11
| | | | | This is a serialization format change, that makes us incompatible with previous versions.
* Nose mopup: docs, no cover pragmas, a few missing path specs.Aldo Cortesi2012-06-091-1/+1
|
* Port mitmproxy test suite entirely to nose.Aldo Cortesi2012-06-091-107/+89
|
* Fix a crashing bug when replacing text in a flow with unicode bodies.Aldo Cortesi2012-05-251-0/+5
|
* Refuse to replay a request with missing content.Aldo Cortesi2012-05-161-0/+10
|
* Add the ability to flag content as missing in a request or a response.Aldo Cortesi2012-05-161-0/+6
| | | | | | | We'll use this in a number of situations. First, we'll soon have response streaming that directly pipes responses to clients. These will be content-less from mitmproxy's perspective. Second, we'll be growing new events that fire after headers are received, but before content is read.
* Add a WSGI adapter that lets us serve a WSGI app out of mitmproxy.Aldo Cortesi2012-04-241-0/+9
| | | | | | | | This commit adds: - A WSGI App adapter for mitmproxy - An app registry in the proxy instance that lets us link WSGI apps with (hostname, port) combinations. - Fixes for a number of bugs discovered while creating this feature.
* Serialized data version check.Aldo Cortesi2012-04-111-1/+12
|
* Serialize requestcount for ClientConnect objects.Aldo Cortesi2012-04-031-1/+2
|
* Add accessor method for SSLCert object on Response.Aldo Cortesi2012-04-021-0/+7
|
* Expand SSL cert supportAldo Cortesi2012-04-021-3/+3
| | | | | | - Capture the remote SSL certificate - Expose the remote cert as an attribute on Response - Expand the certutils.SSLCert interface to expose more cert info
* Refactor pretty view mechanism.Aldo Cortesi2012-03-241-0/+5
| | | | Also start adding unit tests for this subsystem.
* Add error indications to GridEditor.Aldo Cortesi2012-03-231-0/+4
|
* Generalize GridEditor to N columns.Aldo Cortesi2012-03-181-4/+7
| | | | Start adding a replacement rule editor.
* Hooks -> ReplaceHooksAldo Cortesi2012-03-171-20/+23
| | | | | It makes more sense to specialize this, which will let me build a nicer interface for replacement hooks in mitmproxy.
* Add a hooks mechanism, based on filter expressions.Aldo Cortesi2012-03-161-0/+35
|
* replace() methods now decode and re-encode contents before substitution.Aldo Cortesi2012-03-161-0/+18
|
* Add a decoded context manager.Aldo Cortesi2012-03-161-0/+24
| | | | | | | | | This simplifies a common chore when modifying traffic - decoding the object, modifying it, then re-encoding it with the same encoding afterwards. You can now simply say: with flow.decoded(request): request.content = "bar"
* Added tests for ServerPlaybackState with nopopValtteri Virtanen2012-03-051-0/+12
|
* Fixed old testsValtteri Virtanen2012-03-051-6/+6
|
* Unit test++.Aldo Cortesi2012-02-251-2/+11
|
* Fix detection of URL-encoded forms.Aldo Cortesi2012-02-241-1/+10
| | | | Thanks to Paul Capestany <capestany@gmail.com> for reporting this.
* Create ODictCaseless for headers, use vanilla ODict for everything else.Aldo Cortesi2012-02-201-32/+46
|
* Use ODict for request.get_form_urlencoded and set_form_urlencodedAldo Cortesi2012-02-201-3/+3
|
* Unit test import cleanups.Aldo Cortesi2012-02-201-3/+3
|
* Use ODict for Request.get_query and Request.set_queryAldo Cortesi2012-02-201-3/+3
|