aboutsummaryrefslogtreecommitdiffstats
path: root/pathod
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove timestamps from pathoc outputAldo Cortesi2016-06-103-16/+20
| | | | | | Pathoc is an interactive tool, no need for a long leading timestamp. More generally, make timestamps optional in the logging mechanism so we can configure this with command-line flags or something down the track.
* Py3: encode() the spec before appending to pathShadab Zafar2016-06-081-1/+1
|
* Py3: Find content-length header by bytesShadab Zafar2016-06-081-1/+1
|
* Py3: Pass bytes to http Request and ResponseShadab Zafar2016-06-081-5/+5
|
* Py3: Properly encode() access to user_agentsShadab Zafar2016-06-081-1/+1
|
* Utils cleanupsAldo Cortesi2016-06-072-11/+11
| | | | | | | | - Move more stuff that belongs in netlib.human - Move some stuff to near the only use - Zap mitmproxy.utils.timestamp(). I see the rationale, but we used it interchangeably with time.time() throughout the project. Since time.time() dominates in the codebase and timestamp() is such low utility, away it goes.
* Merge remote-tracking branch 'upstream/master'Aldo Cortesi2016-06-075-62/+71
|\
| * fix NestedMessage encodingMaximilian Hils2016-06-061-1/+1
| |
| * fix .freeze(), improve testsMaximilian Hils2016-06-061-1/+1
| |
| * Py3: encode() status code responsesShadab Zafar2016-06-061-1/+1
| |
| * Py3: Exception doesn't have to be bytesShadab Zafar2016-06-061-1/+1
| |
| * Py3: Fix corresponding base.Integer test in test_language_baseShadab Zafar2016-06-061-1/+1
| |
| * Py3: Store base.Integer value as bytesShadab Zafar2016-06-061-2/+2
| |
| * Py3: UASTRINGS should be indexed by and return bytesShadab Zafar2016-06-061-1/+1
| |
| * Py3: decode() input before creating new Header tokenShadab Zafar2016-06-061-4/+4
| |
| * Py3: Use bytes_to_escaped_str for escaping messageShadab Zafar2016-06-061-3/+4
| |
| * Py3: More byte literalsShadab Zafar2016-06-061-6/+6
| |
| * Py3: Use byte string literalsShadab Zafar2016-06-061-4/+4
| |
| * Py3: Return bytes from _Component classShadab Zafar2016-06-061-3/+3
| |
| * fix pathod test on WindowsMaximilian Hils2016-06-061-1/+2
| |
| * Fix sequencing in Pathoc websocket termination testAldo Cortesi2016-06-061-0/+1
| |
| * Close when Pathoc.connect raises an exceptionAldo Cortesi2016-06-061-35/+41
| |
* | Migrate pathod docs to SphinxAldo Cortesi2016-06-0723-1561/+0
|/ | | | | | All the content of the pathod docs are moved into Sphinx. The interactive format has not translated well to static docs, and there's still a lot of rewriting, format fixing, structuring, etc to be done.
* Merge pull request #1211 from cortesi/pathodAldo Cortesi2016-06-0613-462/+28
|\ | | | | WIP: Radical webectomy of pathod
| * Ditch pathod static assetsAldo Cortesi2016-06-059-215/+0
| |
| * Remove last vestiges of noapi and noweb from pathodAldo Cortesi2016-06-052-23/+9
| | | | | | | | Also hide HTTP2 freeze bug by making explain configurable in the tests
| * First-order removal of pathod API and appAldo Cortesi2016-06-053-224/+19
| |
* | Py3: Use functools.total_ordering for better rich comparisonShadab Zafar2016-06-061-0/+2
| |
* | Py3: Use rich comparison methods (__eq__, __lt__) instead of __cmp__Shadab Zafar2016-06-061-2/+5
|/
* Py3: Return path unescapedShadab Zafar2016-06-041-1/+1
| | | | [skip appveyor]
* Use encode to detect if string is valid ASCIIShadab Zafar2016-06-041-2/+2
|
* Fix Docstring: "inject" can be an action tooShadab Zafar2016-06-041-2/+2
|
* More explicit name for the tcp.Server handler counterAldo Cortesi2016-06-031-2/+2
|
* Make tcp.Client.connect return a context manager that closes the connectionAldo Cortesi2016-06-031-1/+2
|
* Pathod websocket service threads should not be immortalAldo Cortesi2016-06-031-1/+1
|
* Implement a service connection handler counter, use it in Pathod test suiteAldo Cortesi2016-06-031-0/+15
| | | | Lots of failures, but that's a good thing.
* Merge remote-tracking branch 'upstream/master' into testsuiteAldo Cortesi2016-06-031-24/+33
|\
| * Handle the slice object case in TransformGenerator.__getitem__Shadab Zafar2016-06-031-0/+2
| |
| * please flake8Maximilian Hils2016-06-021-1/+1
| |
| * Merge remote-tracking branch 'duffer/pathod-lang-generators'Maximilian Hils2016-06-021-24/+31
| |\
| | * Simplify rand_byte by creating a special case for Python 2Shadab Zafar2016-06-021-1/+5
| | |
| | * Remove redundant __getslice__ from TransformGeneratorShadab Zafar2016-06-021-4/+0
| | |
| | * Py3: Return bytes from FileGeneratorShadab Zafar2016-06-021-5/+5
| | | | | | | | | | | | and use __getitem__ instead of __getslice__
| | * Py3: Return bytes from RandomGeneratorShadab Zafar2016-06-021-15/+22
| | | | | | | | | | | | and use __getitem__ rather than __getslice__
* | | Make last_log actually return last logAldo Cortesi2016-06-021-1/+1
| | |
* | | pathod.test shouldn't use the API at allAldo Cortesi2016-06-021-11/+0
| | |
* | | Since we have locks over the logs, use direct access rather than API ↵Aldo Cortesi2016-06-021-5/+3
| | | | | | | | | | | | requests to get to them
* | | Bump error timeoutAldo Cortesi2016-06-021-1/+1
| | |
* | | Remove debug printAldo Cortesi2016-06-021-1/+0
| | |
* | | Add expect_log to the pathod test truss, and use it for last_logAldo Cortesi2016-06-021-1/+15
| | |