aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'duffer/pathod-lang-generators'Maximilian Hils2016-06-021-5/+8
|\
| * Py3: Return bytes from FileGeneratorShadab Zafar2016-06-021-4/+6
| | | | | | | | and use __getitem__ instead of __getslice__
| * Py3: Return bytes from RandomGeneratorShadab Zafar2016-06-021-1/+2
| | | | | | | | and use __getitem__ rather than __getslice__
* | Shift a bunch more string-related functions to strutilsAldo Cortesi2016-06-023-23/+23
| |
* | Consolidate some functions to strutils.bytes_to_escaped_strAldo Cortesi2016-06-021-11/+0
| |
* | Utils reorganisation: add netlib.strutilsAldo Cortesi2016-06-022-37/+40
| | | | | | | | Extract a number of string and format-related functions to netlib.strutils.
* | Fix non-deterministic test failures in exportAldo Cortesi2016-06-021-2/+4
|/ | | | | We had various places in the code where we relied on incidental order of dict keys. Add a helper to multidict, and fix.
* Merge pull request #1180 from dufferzafar/pathod-baseMaximilian Hils2016-05-311-12/+12
|\ | | | | Python 3 - pathod.language.base
| * Py3: Use byte literals for comparisonShadab Zafar2016-05-311-12/+12
| |
* | be more strict about module namespacesMaximilian Hils2016-05-311-2/+1
|/
* http2.frame -> http2.framereaderAldo Cortesi2016-05-312-10/+10
|
* Fix test failuresAldo Cortesi2016-05-311-1/+1
|
* Satisfy flake8Aldo Cortesi2016-05-314-0/+4
|
* Unify and make symmetric pretty_size and parse_sizeAldo Cortesi2016-05-311-4/+8
|
* Move human-friendly format functions to netlib.human, remove redundant ↵Aldo Cortesi2016-05-314-39/+31
| | | | implementations
* utils.multipartdecode -> http.multipart.decodeAldo Cortesi2016-05-313-32/+33
| | | | | | also utils.parse_content_type -> http.headers.parse_content_type
* netlib.utils.get_header_tokens -> netlib.http1.read.get_header_tokensAldo Cortesi2016-05-312-12/+12
| | | | Placing this next to its only use.
* Module is part of the name - url.decode, not url.urldecodeAldo Cortesi2016-05-312-22/+22
| | | | A pattern we need to use far more often in the codebase
* Extract url functions from netlib.utils and move to netlib.http.urlAldo Cortesi2016-05-313-67/+68
|
* Start cleaning up netlib.utilsAldo Cortesi2016-05-314-47/+47
| | | | | - Remove http2 functions, move to http2.frame - Remove Serializable, move to netlib.basetypes
* Improve handling of pseudo-headersAldo Cortesi2016-05-311-1/+4
| | | | | | | | | - The canonical source for :method, :scheme and :path are the .method, .scheme and .path attributes on the request object. - These pseudo-headers are stripped after reading the request, and re-inserted just before sending. - The :authority header remains, and should be handled analagously to the Host header in HTTP1 with respect to display and user interaction.
* Fix test import errorAldo Cortesi2016-05-311-1/+2
|
* split mitmproxy.flow into mitmproxy.flow.*Maximilian Hils2016-05-301-21/+21
|
* fixThomas Kriechbaumer2016-05-291-1/+1
|
* fix windows pathsThomas Kriechbaumer2016-05-291-2/+2
|
* fix har testThomas Kriechbaumer2016-05-291-5/+5
|
* fix headers orderThomas Kriechbaumer2016-05-291-1/+1
|
* fix #1162Thomas Kriechbaumer2016-05-291-2/+5
|
* more style cleanupThomas Kriechbaumer2016-05-2952-86/+93
|
* more style cleanupThomas Kriechbaumer2016-05-2911-57/+63
| | | | Use this to check: flake8 --count mitmproxy netlib pathod examples test
* Merge pull request #1172 from cortesi/solidcoreAldo Cortesi2016-05-296-104/+104
|\ | | | | First steps to solidifying the core
| * handle_* -> *Aldo Cortesi2016-05-296-66/+58
| | | | | | | | | | Now that we have the controller.handler decorator, the _handler prefix stutters.
| * Explicitly list all eventsAldo Cortesi2016-05-291-2/+2
| |
| * Flatten ServerMaster into MasterAldo Cortesi2016-05-291-5/+2
| |
| * Merge branch 'master' into solidcoreAldo Cortesi2016-05-2918-28/+21
| |\
| * | Make @controller.handler inheritance-friendlyAldo Cortesi2016-05-281-4/+1
| | | | | | | | | | | | Use this to adapt mitmweb and mitproxy console
| * | Mandate that all handlers must be wrapped, make tests passAldo Cortesi2016-05-282-18/+26
| | | | | | | | | | | | mitmproxy, mitmdump and mitmweb masters still to be done
| * | Sketch out a more solid coreAldo Cortesi2016-05-283-15/+21
| | | | | | | | | | | | | | | - Decorator for handler methods - Stricter checking for double-acks and non-acks
* | | fix testsMaximilian Hils2016-05-284-5/+5
| |/ |/|
* | cleanup imports with flake8Thomas Kriechbaumer2016-05-2817-25/+18
| |
* | fix Python 2 testsMaximilian Hils2016-05-281-2/+2
| |
* | Py3: Use cStringIO from six.movesShadab Zafar2016-05-281-3/+3
|/
* Go Python 3 by default with the bytes conversionShadab Zafar2016-05-261-2/+4
|
* Remove inner_repr, fixup escape_unprintablesShadab Zafar2016-05-261-8/+4
|
* Py3: Handle bytes case in inner_reprShadab Zafar2016-05-261-0/+1
|
* bytes_to_escaped_str: always escape single quotesMaximilian Hils2016-05-252-1/+3
|
* escaped_str_to_bytes: support unicode on python 2Maximilian Hils2016-05-251-3/+6
|
* Merge pull request #1127 from mitmproxy/tcp-flowsThomas Kriechbaumer2016-05-235-12/+42
|\ | | | | mitmdump: Add Basic Support for TCP Flows
| * tests++Maximilian Hils2016-05-202-2/+32
| |
| * add FlowMaster.active_flowsMaximilian Hils2016-05-191-4/+1
| |