aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for modify_form exampleShadab Zafar2016-03-111-1/+17
|
* Merge pull request #969 from dufferzafar/pretty-exportThomas Kriechbaumer2016-03-041-0/+31
|\ | | | | Indent JSON body while exporting it as code
| * Add a test for json requestShadab Zafar2016-03-041-0/+31
| |
* | Merge pull request #989 from dufferzafar/har-extractorThomas Kriechbaumer2016-03-042-0/+115
|\ \ | | | | | | Improve HAR Extractor Script
| * | Use custom Context objectShadab Zafar2016-03-041-6/+6
| | |
| * | Test har_extractor.responseShadab Zafar2016-03-042-0/+105
| | |
| * | Add basic test for har_extractorShadab Zafar2016-03-041-0/+10
| |/
* | Improve test caseyonder2016-03-041-0/+4
| |
* | Add test for upstream-authyonder2016-03-022-0/+11
|/
* suppress pathoc test timeouts on windowsMaximilian Hils2016-02-271-0/+2
|
* fix #956Maximilian Hils2016-02-191-6/+4
|
* Merge remote-tracking branch 'duffer/pretty-host'Maximilian Hils2016-02-182-4/+15
|\
| * Fixup more testsShadab Zafar2016-02-182-5/+8
| |
| * Use host header values only when the ports matchShadab Zafar2016-02-181-2/+6
| |
| * Handle port numbers in host headerShadab Zafar2016-02-171-0/+4
| | | | | | | | from: https://github.com/mitmproxy/netlib/pull/121
* | fix test paths, move coverage config into setup.pyMaximilian Hils2016-02-181-1/+1
| |
* | Make fuzzing run againAldo Cortesi2016-02-182-7/+4
| |
* | Docs and examples to top levelAldo Cortesi2016-02-181-1/+1
| |
* | Add a content view for query parametersWill Coster2016-02-161-0/+21
|/ | | | | | | | | | | | | | The query content view uses format_dict to display a table of query parameters and is made the default content view for requests with query parameters and no request body. To facilitate this the query parameter dictionary of HTTPRequests is added to the metadata content view parameter under the "query" key. Additionally, the logic for handling "no content" messages is moved from contentviews.get_content_view to ViewAuto. This is necessary as it allows the query content view to be displayed when there is no request body.
* move tservers helperThomas Kriechbaumer2016-02-165-5/+116
|
* rename ProxTest -> ProxyTestThomas Kriechbaumer2016-02-165-48/+48
|
* fix all libpathod->pathod referencesThomas Kriechbaumer2016-02-1619-33/+33
|
* fix all libmproxy->mitmproxy referencesThomas Kriechbaumer2016-02-1627-70/+70
|
* Fix failing unit tests caused by a69d223bWill Coster2016-02-151-4/+4
|
* Merge branch 'master' of https://github.com/mitmproxy/mitmproxyMaximilian Hils2016-02-161-2/+7
|\
| * Preserve host header when modifying request pathWill Coster2016-02-151-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently the path_components and query setters of the Request object use the url setter under the hood. The url setter updates all parts of the URL including the host. If the host header and the host in the request URL are different (as is common when making HTTPS requests) then the host header will be updated to the value in the URL as a result of modifying the path. This change fixes this problem by modifying the query and path_components setters to not use the url setter and instead directly update the path field.
* | temporarily silence flaky testsMaximilian Hils2016-02-162-2/+5
|/
* update README.rst, minor fixesMaximilian Hils2016-02-151-0/+2
|
* fix ALPN checksMaximilian Hils2016-02-155-6/+6
|
* move tests into shared folderMaximilian Hils2016-02-15170-0/+64206
|
* move mitmproxyMaximilian Hils2016-02-1595-57220/+0
|
* remove noop codeThomas Kriechbaumer2016-02-143-19/+0
|
* autoflakeThomas Kriechbaumer2016-02-145-11/+6
|
* Merge pull request #916 from dufferzafar/export-codeMaximilian Hils2016-02-101-0/+148
|\ | | | | Export any flow request as Python code
| * Use classes to test a command, move code to separate methods underShadab Zafar2016-02-091-114/+126
| | | | | | | | classes
| * Use textwrap.dedent to improve readability of testsShadab Zafar2016-02-091-51/+82
| |
| * Rename test_export_flow.py to test_flow_export.pyShadab Zafar2016-02-091-0/+0
| |
| * Fix content length header issuesShadab Zafar2016-02-081-2/+6
| | | | | | | | | | Caused by: https://github.com/mitmproxy/netlib/commit/d253ebc142d80708a1bdc065d3db05d1394e3819
| * Tests for flow_export.raw_requestShadab Zafar2016-02-081-1/+23
| |
| * Tests for flow_export.python_codeShadab Zafar2016-02-081-0/+46
| |
| * Test exact return value of flow_export.curl_commandShadab Zafar2016-02-081-4/+15
| |
| * Add some basic tests for flow_exportsShadab Zafar2016-02-081-0/+22
| |
* | make stateobject simpler and stricterMaximilian Hils2016-02-082-6/+16
| |
* | fix #876Maximilian Hils2016-02-081-0/+5
| |
* | fix http2 race conditionThomas Kriechbaumer2016-02-041-12/+54
| |
* | cleanupThomas Kriechbaumer2016-02-041-1/+1
| |
* | improve test reliabilityThomas Kriechbaumer2016-02-041-4/+8
| |
* | fix tests and use netlib utilsThomas Kriechbaumer2016-02-041-7/+7
| |
* | code formattingThomas Kriechbaumer2016-02-042-5/+5
| |
* | add more tests, improve coverageThomas Kriechbaumer2016-02-041-7/+72
| |