aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_proxy.py
Commit message (Collapse)AuthorAgeFilesLines
* add skeleton to change destinatin server during intercept, fix all testcases ↵Maximilian Hils2014-02-051-2/+2
| | | | on windows
* fix all tests except those using set_url and get_urlMaximilian Hils2014-02-051-3/+1
|
* fix most testsuite errors, improve proxy error handlingMaximilian Hils2014-01-291-6/+7
|
* Move app mechanism to flow.pyAldo Cortesi2014-01-041-20/+0
| | | | Disable apps while message passing is improved.
* Merge branch 'master' into 0.10Maximilian Hils2013-08-171-4/+1
|\
| * Revamp dummy cert storeAldo Cortesi2013-08-121-3/+0
| | | | | | | | | | | | We no longer keep these on disk. This is for a number of reasons, including some race conditions and the fact that some valid IDNA-encoded domain names are not valid file names on Windows.
| * Make use of a change to netlib.tcp that clarifies error conditions for flush ↵Aldo Cortesi2013-07-301-1/+1
| | | | | | | | | | | | and close. Should fix #144.
* | skip tests on windows that don't make senseMaximilian Hils2013-06-181-0/+1
|/
* 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
|