aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_proxy.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Repair unit test suite.Aldo Cortesi2011-02-111-18/+9
|
* Also serialize ClientConnection and flow backups.Aldo Cortesi2011-02-061-1/+1
|
* Get rid of ReplayConnection - we now have only one ClientConnection class.Aldo Cortesi2011-02-041-4/+4
|
* Change "connection" to the less confusing "client_conn" throughout.Aldo Cortesi2011-02-031-4/+4
|
* Add timestamps to flows.Aldo Cortesi2011-02-031-0/+2
| | | | | For now, these are only displayed on the connection view screen, with second granularity.
* Test suite rejiggering and cleanup.Aldo Cortesi2011-02-031-1/+6
|
* Add serialization hooks to flows and flow component objects.Aldo Cortesi2011-01-261-0/+27
|
* Initial checkin.Aldo Cortesi2010-02-161-0/+259