aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* netlib.utils -> netlib.checkAldo Cortesi2016-10-204-12/+11
| | | | | | Now only contains is_valid_[host,port] Intermediate step - this will be in mitproxy.net soon.
* netlib.utils.[get,set]bit -> mitmproxy.utils.bitsAldo Cortesi2016-10-201-1/+1
|
* netlib.utils.BiDi -> mitmproxy.types.bidi.BiDiAldo Cortesi2016-10-202-10/+12
|
* netlib.debug -> mitmproxy.utils.debugAldo Cortesi2016-10-201-1/+1
|
* mitmproxy.types.[basethread,multidict,serializable]Aldo Cortesi2016-10-203-7/+7
|
* netlib.strutils -> mitmproxy.utils.strutilsAldo Cortesi2016-10-201-1/+2
|
* netlib.human -> mitmproxy.utils.humanAldo Cortesi2016-10-202-3/+4
|
* Create mitmproxy.utils hierarchyAldo Cortesi2016-10-205-14/+14
| | | | - Add mitproxy.utils.lrucache, mitproxy.utils.data
* mitmproxy.protocol -> mitmproxy.proxy.protocolAldo Cortesi2016-10-192-6/+6
| | | | | The protocols here are compltely proxy-specific, are only used from within the proxy module, and are not exposed to users.
* Move all tools into mitmproxy.tools, move models/* to top levelAldo Cortesi2016-10-1917-77/+79
| | | | | | The primary motivation here (and for all the other moving around) is to present a clean "front of house" to library users, and to migrate primary objects to the top of the module hierarchy.
* Remove flow module entirely, move contents to top levelAldo Cortesi2016-10-196-21/+23
| | | | | mitmproxy.flow.io -> mitmproxy.io mitmproxy.flow.export -> mitmproxy.export
* flow.state -> addons.stateAldo Cortesi2016-10-193-17/+19
|
* addons.Addons -> addonmanager, builtins -> addonsAldo Cortesi2016-10-1923-27/+27
|
* controller.Log -> log.LogAldo Cortesi2016-10-191-3/+3
|
* Kill flow.master - create master.MasterAldo Cortesi2016-10-1919-48/+55
| | | | Also extract events into .events
* Let's dispense with this fiction that we support multiple serversAldo Cortesi2016-10-1921-45/+61
| | | | It's simple enough to re-add if needed, and until then is just cruft.
* web app cleanups: tests and examplesAldo Cortesi2016-10-191-21/+1
|
* Web apps to addonsAldo Cortesi2016-10-199-75/+87
| | | | | This commit removes the app registry, adds a wsgiapp addon base, and ports the onboarding app to it.
* No need for all builtins to be loaded for server testsAldo Cortesi2016-10-183-16/+21
|
* Convert flow.state to an addonAldo Cortesi2016-10-1818-136/+81
| | | | A first step, and already many things are much nicer.
* accept_addon -> resume, intercept/resume eventsAldo Cortesi2016-10-181-4/+4
|
* master.duplicate_flow -> state.duplicate_flowAldo Cortesi2016-10-183-12/+16
| | | | | | This is a pure operation on state, and doesn't belong on master. Part of prep to move state to an addon.
* Response body streaming to addonAldo Cortesi2016-10-182-12/+29
|
* fix testsMaximilian Hils2016-10-171-2/+4
|
* remove empty lines at beginning of fileThomas Kriechbaumer2016-10-1711-11/+0
|
* fix socks5 mode with tlsMaximilian Hils2016-10-161-0/+12
|
* python3: clean up super and __future__Aldo Cortesi2016-10-1721-36/+20
|
* python3: clean up class bracketsAldo Cortesi2016-10-1724-51/+51
|
* Zap object base classAldo Cortesi2016-10-1720-42/+42
|
* test & examples: zap sixAldo Cortesi2016-10-1725-123/+98
|
* scripts: keep scripts just after the ScriptLoader in addon chainAldo Cortesi2016-10-162-7/+3
| | | | | | We need scripts to run _before_ filestreamer, so we can't just add them to the end of the chain. This patch also fixes an issue that could cause scripts to be initialised un-necessarily if only the order of scripts in options changed.
* docs: overview, classes, argumentsAldo Cortesi2016-10-161-5/+2
|
* add regression test for #1605Maximilian Hils2016-10-141-0/+13
|
* certutils: cap the cert store size at 100 by defaultAldo Cortesi2016-10-051-0/+25
| | | | | | | | This should be enough to give us reuse without growing infinitely. This is part of fixing the memory situation in mitmdump. TODO: There's an opportunity here for a better algorithm, that expires certs based on least-recently-accessed time, rather than oldest generated time.
* use flt instead of filt for flowfilter expressionsThomas Kriechbaumer2016-10-041-2/+2
|
* debug: Hard exit after debug signalAldo Cortesi2016-10-041-2/+2
|
* Consolidate loggingAldo Cortesi2016-10-045-16/+31
| | | | | | - Make log event handler work - Move terminal event log into an addon - Clean various log related errors and duplications
* Clarify channel interaction patternAldo Cortesi2016-10-041-3/+2
| | | | | | | Before this patch, it wasn't clear when the arguments to an event could be modified, and when a new object should be returned. After this patch, the right thing to do is to modify the arguments in 99% of cases. The only exception to this is root_layer, for which we can find a better structure down the track.
* Add requestheaders eventAldo Cortesi2016-10-041-1/+1
| | | | HTTP1 only for now, HTTP2 coming next.
* fix flowfilter.match argsThomas Kriechbaumer2016-10-031-10/+10
|
* use flowfilter.matchThomas Kriechbaumer2016-10-031-10/+10
|
* rename mitmproxy.filt -> mitmproxy.flowfilterThomas Kriechbaumer2016-10-032-30/+30
|
* Revert "Add API to programmatically create new requests (#1534)"Maximilian Hils2016-10-021-9/+0
| | | | | This reverts commit ccbdcd684b5a49c0509610a79dad3f220962a42d, which yielded a test timeout.
* Add API to programmatically create new requests (#1534)Tyler St. Onge2016-10-011-0/+9
|
* parse_set_cookie header returns an empty list if no cookies are foundAldo Cortesi2016-09-281-3/+3
| | | | This matches parse_cookie, and is more idiomatic.
* Merge branch 'multi-cookie' of https://github.com/dufferzafar/mitmproxyAldo Cortesi2016-09-282-93/+125
|\
| * Add tests for comma separated Set-CookiesShadab Zafar2016-09-271-10/+47
| |
| * Can't have , in the sticky cookie testShadab Zafar2016-09-271-1/+0
| | | | | | | | Since we support comma separated cookies now
| * Make needed changes in testsShadab Zafar2016-09-271-30/+33
| |
| * Update cookie testsShadab Zafar2016-09-271-91/+84
| | | | | | | | | | This is needed since _read_pairs now returns a list of cookies each of which is a list of [name, value] tuples.