aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathoc.py
Commit message (Collapse)AuthorAgeFilesLines
* Add coding style check, reformat.Aldo Cortesi2015-05-301-4/+17
|
* websockets: code specificationAldo Cortesi2015-05-031-1/+1
|
* Lower-case rather than upper-case to canonicalize namesAldo Cortesi2015-05-031-1/+1
| | | | Marginally less finicky
* Revamp pathoc log output with a context handlerAldo Cortesi2015-04-301-10/+17
| | | | | This does two things - it gives us a central place to put log utilities, and it lets us group together related log lines.
* websockets: server handshake schemeAldo Cortesi2015-04-221-1/+1
| | | | Also refactor settings and resolution interfaces
* Whitespace, interface refcactoring, sketch websockets languageAldo Cortesi2015-04-201-1/+1
|
* Whitespace, small fixes.Aldo Cortesi2015-04-201-4/+4
|
* Refactor pathocAldo Cortesi2015-04-191-16/+25
| | | | | | | We're getting ready for websockets. All the output specifiers are now on the Pathoc object itself - we can't assume that all input and output happens in response to a method call any more. This has the upside that we can unify the request/print_request methods.
* pathoc: Print SSL info only once per connectionAldo Cortesi2015-04-191-3/+2
|
* 100% unit testsAldo Cortesi2015-04-191-1/+4
| | | | | - Add SANs to pathod SSLConfig - Fix tricky SSL establishment error test. Lets see if it's platform portable.
* Allow nesting of pathod response specs in pathoc specsAldo Cortesi2014-10-261-1/+4
| | | | | This opens the door to really neat, repeatable, client-side driven fuzzing, especially of proxies.
* Allow specification of multiple patterns from file and on command lineAldo Cortesi2014-10-251-1/+1
|
* Parse patterns eagerly on instantiationAldo Cortesi2014-10-251-15/+22
|
* Nicer way to specify patterns read for file - just use a pathAldo Cortesi2014-10-251-5/+0
|
* Silence insecure requets warnings in our test packageAldo Cortesi2014-09-071-6/+11
|
* pathoc -S dumps information on the remote SSL certificate chainAldo Cortesi2014-03-021-19/+28
|
* Big improvements to SSL handlingAldo Cortesi2014-03-021-1/+1
| | | | | | | | - pathod now dynamically generates SSL certs, using the ~/.mitmproxy cacert - pathoc returns data on SSL peer certificates - Pathod certificate CN can be specified on command line - Support SSLv23
* adjust to signature changes in netlib.tcpMaximilian Hils2014-01-281-9/+6
|
* always return Content-Length: 0 if r is not setMaximilian Hils2013-12-151-6/+6
|
* Adapt for new request_client_cert option in netlib.Aldo Cortesi2013-05-131-1/+4
|
* Improve robustness of proxy CONNECT, test coverage to 100%.Aldo Cortesi2013-03-021-0/+20
|
* Make pathoc request return more human-friendly.Aldo Cortesi2013-02-271-6/+6
|
* Add support for client certificatesAldo Cortesi2013-01-201-0/+13
| | | | | | - pathod request logs now include a clientcert member with details on the client cert, or None if there wasn't one. - pathoc has a -C option to specify a client certificate
* Shift SSL parameters into Pathoc classAldo Cortesi2013-01-041-2/+30
|
* Use .freeze to implement the -e explain flags for pathod and pathoc.Aldo Cortesi2012-10-311-0/+4
| | | | | This now prints (in pathoc) or logs (in pathod) a frozen specification that includes an expanded record of all generated values and locations.
* Unit test suite love: 100% coverageAldo Cortesi2012-10-251-0/+1
| | | | Also start figuring out how to sanitize binary data in the JSON API.
* Remove actions log and explain, preparing for a more sophisticated take on this.Aldo Cortesi2012-10-051-5/+1
|
* Add pathoc -T to ignore timeouts.Aldo Cortesi2012-09-281-1/+2
| | | | Also move -c to -C for consistency.
* Add pathoc -c to specify a list of return codes to ignore.Aldo Cortesi2012-09-271-1/+8
|
* Refactor print_requests -> print_requestAldo Cortesi2012-09-261-8/+9
| | | | | - Change to handle one request at a time - Shift error handling around
* Response printingAldo Cortesi2012-09-261-13/+14
| | | | Options to output full response, as sniffed from the socket.
* Hex and verbatim output of requests.Aldo Cortesi2012-09-261-1/+6
| | | | | This works by sniffing traffic through the socket, so always gives us the exact traffic sent upstream.
* Stub out new output argument structure.Aldo Cortesi2012-09-261-6/+17
|
* 100% test coverage.Aldo Cortesi2012-07-301-0/+1
|
* Swap the offset, seconds arguments for the pause operator.Aldo Cortesi2012-07-241-1/+1
| | | | This makes it uniform with the other operators.s
* 100% test coverage for pathoc.pyAldo Cortesi2012-07-231-0/+11
|
* Allow execution of specs from file, using +./pathAldo Cortesi2012-07-221-0/+5
|
* pathoc: add a flag to dump request information.Aldo Cortesi2012-07-211-2/+2
|
* Factor out request printing in to a method, and test it.Aldo Cortesi2012-06-301-2/+18
|
* Split pathod and pathoc daemon test suites out.Aldo Cortesi2012-06-261-0/+27