aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_proxy.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove __slots__ to make it possible to inherit from Options classes.Aldo Cortesi2013-03-031-1/+0
|
* 100% unit test coverage on proxy.py. Hallelujah!Aldo Cortesi2013-03-031-1/+15
|
* Unit test proxy option parsing.Aldo Cortesi2013-03-031-4/+71
|
* Move HTTP auth module to netlib.Aldo Cortesi2013-03-031-0/+8
|
* Test cert generation errors.Aldo Cortesi2013-03-021-1/+0
|
* Significantly simplify server connection handling, and test.Aldo Cortesi2013-02-241-31/+4
|
* Refactor to prepare for SNI fixes.Aldo Cortesi2013-02-241-6/+6
|
* Test WSGI app calling.Aldo Cortesi2013-02-161-1/+1
| | | | | - Factor out test servers into a separate file - Adjust docs to note new Flask dependency
* Unit tests for ServerConnectionPoolAldo Cortesi2013-01-291-1/+29
|
* Test suite, remove extraneous code.Aldo Cortesi2013-01-281-5/+7
|
* Unit tests and minor code refactoring for ServerConnection.Aldo Cortesi2013-01-051-1/+31
|
* removed unused importsAndrás Veres-Szentkirályi2012-07-151-4/+1
|
* Make WSGI apps work in transparent mode.Aldo Cortesi2012-07-101-0/+8
|
* Refator server tests to use flow.FlowMaster and flow.StateAldo Cortesi2012-07-091-14/+12
|
* Move wsgi to netlib.Aldo Cortesi2012-06-191-0/+13
|
* Pull out protocol components into protocol.pyAldo Cortesi2012-06-161-135/+0
|
* Rename our tcpserver to netlib, expand to include client network functions.Aldo Cortesi2012-06-161-11/+0
|
* Localise client connection object manipulation.Aldo Cortesi2012-06-101-12/+16
| | | | This simplifies the call signature for a bunch of functions.
* Consolidate HTTP major and minor versions into a single variable.Aldo Cortesi2012-06-101-10/+7
|
* Add proxy.should_connection_close, and strip out unused code.Aldo Cortesi2012-06-101-27/+9
|
* Port mitmproxy test suite entirely to nose.Aldo Cortesi2012-06-091-92/+70
|
* Split parsing of intial line into separate protocols.Aldo Cortesi2012-06-031-0/+52
|
* Unit test++.Aldo Cortesi2012-02-251-1/+1
|
* Unit test import cleanups.Aldo Cortesi2012-02-201-2/+2
|
* Rename Headers class to ODictAldo Cortesi2012-02-201-3/+45
| | | | | ODict is an ordered dictionary class that will be useful in many other parts of our API.
* Basic infrastructure for request and response body size limits.Aldo Cortesi2011-09-091-5/+36
|
* Code cleanliness - appease pychecker.Aldo Cortesi2011-08-041-2/+1
|
* Move all HTTP objects to flow.pyAldo Cortesi2011-08-031-239/+0
| | | | That's Request, Response, ClientConnect, ClientDisconnect, Error, and Headers.
* Rip out old script interface, start replacing with new stubs.Aldo Cortesi2011-08-031-1/+1
| | | | Scripts are broken for now.
* Refresh current connection when toggling autodecode.Aldo Cortesi2011-08-021-4/+4
| | | | Also fix the unit tests I forgot to commit...
* Add decoding/encoding for requests.Aldo Cortesi2011-08-011-0/+25
|
* Merge remote-tracking branch 'alts/encoding'Aldo Cortesi2011-07-281-0/+25
|\
| * Adds test method for Response encoding and decodingStephen Altamirano2011-07-261-0/+25
| |
* | Changes replace logic to function in both Python 2.6.x and 2.7.xStephen Altamirano2011-07-261-2/+2
|/ | | | Tests now only assume Python 2.6.x rather than requiring 2.7.x. This does not preclude the use of flags as a kwarg in replace
* Also replace strings path for requests.Aldo Cortesi2011-07-221-1/+3
|
* Add utility functions to search and replace strings in flowsAldo Cortesi2011-07-221-1/+22
| | | | | | | | | | This is a common task in pentesting scenarios. This commit adds the following functions: utils.Headers.replace proxy.Request.replace proxy.Response.replace flow.Flow.replace
* unit test coverage ++Aldo Cortesi2011-03-201-0/+18
|
* Unit tests for proxy.read_chunkedAldo Cortesi2011-03-121-0/+17
|
* Add --norefresh to stop refreshing server playback to mitmdump.Aldo Cortesi2011-03-111-0/+11
| | | | Also, make cookie parsing for refreshing more error-tolerant.
* Stub out refresh for server-side replay.Aldo Cortesi2011-03-091-1/+19
|
* Add an --anticache option to mitmdump.Aldo Cortesi2011-03-091-0/+9
| | | | | | | This removes all headers that might cause a server to return 304-not-modified. For now, all the new features are going into mitmdump - everything will be ported over to mitmproxy once I have the feature set locked down.
* Add client replay options to mitmdump.Aldo Cortesi2011-03-061-73/+1
|
* Reorganize test suite to remove confusion between test utils and libmproxy ↵Aldo Cortesi2011-03-051-87/+11
| | | | utils.
* Move stringification funcs from proxy to dump.Aldo Cortesi2011-02-251-2/+0
|
* Revamp SSL configuration.Aldo Cortesi2011-02-201-2/+1
| | | | | | | | - Move option parsing utiliities to proxy.py - Don't have a global config object. Pass it as an argument to ProxyServer. - Simplify certificate generation logic.
* Implement state loading that doesn't change object identity.Aldo Cortesi2011-02-201-1/+30
| | | | We need this to let us load state from copied Flows returned from scripts.
* Fix serialization when a Request has no associated client connection.Aldo Cortesi2011-02-191-0/+4
|
* Refactor Flow primitives to remove HTTP1.0 assumption.Aldo Cortesi2011-02-191-5/+5
| | | | | | This is a big patch removing the assumption that there's one connection per Request/Response pair. It touches pretty much every part of mitmproxy, so expect glitches until everything is ironed out.
* Repair unit test to match removal of arg from Response class.Aldo Cortesi2011-02-161-1/+1
|
* drop unused protocol parameter from ResponseHenrik Nordstrom2011-02-151-1/+1
|