Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use BytesIO instead of StringIO | Shadab Zafar | 2016-06-06 | 1 | -2/+2 |
| | |||||
* | Py3: Use byte literals for comparison | Shadab Zafar | 2016-06-06 | 1 | -1/+1 |
| | |||||
* | Py3: Use global next() function instead of iterator method | Shadab Zafar | 2016-06-06 | 1 | -7/+7 |
| | |||||
* | Fix test that may fail due to binary header data | Aldo Cortesi | 2016-06-05 | 3 | -5/+4 |
| | | | | | | | | This is just inherently not a determinisitc test. We don't use the log HTTP interface any more, so it can just go. A more radical "solution" is inbound shortly. Fixes #1207 | ||||
* | Py3: Write bytes to file | Shadab Zafar | 2016-06-04 | 1 | -3/+3 |
| | |||||
* | Fix function name typo | Shadab Zafar | 2016-06-04 | 1 | -1/+1 |
| | |||||
* | Py3: Convert all data to bytes in pathod.language.writer test | Shadab Zafar | 2016-06-04 | 1 | -28/+28 |
| | |||||
* | Py3: Use global next() instead of iterator method | Shadab Zafar | 2016-06-04 | 1 | -3/+3 |
| | |||||
* | Basic ConsoleMaster tests, based on mastertester | Aldo Cortesi | 2016-06-04 | 1 | -1/+13 |
| | |||||
* | console/__init__.py -> console/master.py | Aldo Cortesi | 2016-06-04 | 1 | -6/+6 |
| | |||||
* | Very basic test truss for web.app | Aldo Cortesi | 2016-06-04 | 1 | -0/+22 |
| | |||||
* | Rebase on master | Aldo Cortesi | 2016-06-04 | 4 | -76/+119 |
| | |||||
* | Make tcp.Client.connect return a context manager that closes the connection | Aldo Cortesi | 2016-06-03 | 1 | -18/+18 |
| | |||||
* | Implement a service connection handler counter, use it in Pathod test suite | Aldo Cortesi | 2016-06-03 | 1 | -0/+1 |
| | | | | Lots of failures, but that's a good thing. | ||||
* | Merge remote-tracking branch 'upstream/master' into testsuite | Aldo Cortesi | 2016-06-03 | 1 | -5/+8 |
|\ | |||||
| * | Merge remote-tracking branch 'duffer/pathod-lang-generators' | Maximilian Hils | 2016-06-02 | 1 | -5/+8 |
| |\ | |||||
| | * | Py3: Return bytes from FileGenerator | Shadab Zafar | 2016-06-02 | 1 | -4/+6 |
| | | | | | | | | | | | | and use __getitem__ instead of __getslice__ | ||||
| | * | Py3: Return bytes from RandomGenerator | Shadab Zafar | 2016-06-02 | 1 | -1/+2 |
| | | | | | | | | | | | | and use __getitem__ rather than __getslice__ | ||||
* | | | Satisfy linting gods | Aldo Cortesi | 2016-06-02 | 1 | -1/+2 |
| | | | |||||
* | | | Silence requests warnings | Aldo Cortesi | 2016-06-02 | 1 | -0/+3 |
| | | | | | | | | | | | | Once we convert the rest of the suite to pathoc, this can go. | ||||
* | | | Reimplement test retrievals on pathoc and ditch requests | Aldo Cortesi | 2016-06-02 | 3 | -11/+27 |
| | | | | | | | | | | | | | | | Requests uses urllib3, which has a connection pool that's not easy to disable (https://github.com/shazow/urllib3/issues/383). | ||||
* | | | pathod.test shouldn't use the API at all | Aldo Cortesi | 2016-06-02 | 1 | -4/+5 |
| | | | |||||
* | | | Since we have locks over the logs, use direct access rather than API ↵ | Aldo Cortesi | 2016-06-02 | 2 | -5/+4 |
| | | | | | | | | | | | | requests to get to them | ||||
* | | | Honesty in testing | Aldo Cortesi | 2016-06-02 | 1 | -5/+0 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | - Don't skip tests that fail - Don't omit console from coverage I'm working on the pathod races, and can't seem to reproduce the failures locally. Also, let's not kid ourselves about the console coverage - it should be tracked. To improve it, we should measure it. Regressions in coverage of the module should be flagged by CI. | ||||
* | | Shift a bunch more string-related functions to strutils | Aldo Cortesi | 2016-06-02 | 3 | -23/+23 |
| | | |||||
* | | Consolidate some functions to strutils.bytes_to_escaped_str | Aldo Cortesi | 2016-06-02 | 1 | -11/+0 |
| | | |||||
* | | Utils reorganisation: add netlib.strutils | Aldo Cortesi | 2016-06-02 | 2 | -37/+40 |
| | | | | | | | | Extract a number of string and format-related functions to netlib.strutils. | ||||
* | | Fix non-deterministic test failures in export | Aldo Cortesi | 2016-06-02 | 1 | -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-base | Maximilian Hils | 2016-05-31 | 1 | -12/+12 |
|\ | | | | | Python 3 - pathod.language.base | ||||
| * | Py3: Use byte literals for comparison | Shadab Zafar | 2016-05-31 | 1 | -12/+12 |
| | | |||||
* | | be more strict about module namespaces | Maximilian Hils | 2016-05-31 | 1 | -2/+1 |
|/ | |||||
* | http2.frame -> http2.framereader | Aldo Cortesi | 2016-05-31 | 2 | -10/+10 |
| | |||||
* | Fix test failures | Aldo Cortesi | 2016-05-31 | 1 | -1/+1 |
| | |||||
* | Satisfy flake8 | Aldo Cortesi | 2016-05-31 | 4 | -0/+4 |
| | |||||
* | Unify and make symmetric pretty_size and parse_size | Aldo Cortesi | 2016-05-31 | 1 | -4/+8 |
| | |||||
* | Move human-friendly format functions to netlib.human, remove redundant ↵ | Aldo Cortesi | 2016-05-31 | 4 | -39/+31 |
| | | | | implementations | ||||
* | utils.multipartdecode -> http.multipart.decode | Aldo Cortesi | 2016-05-31 | 3 | -32/+33 |
| | | | | | | also utils.parse_content_type -> http.headers.parse_content_type | ||||
* | netlib.utils.get_header_tokens -> netlib.http1.read.get_header_tokens | Aldo Cortesi | 2016-05-31 | 2 | -12/+12 |
| | | | | Placing this next to its only use. | ||||
* | Module is part of the name - url.decode, not url.urldecode | Aldo Cortesi | 2016-05-31 | 2 | -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.url | Aldo Cortesi | 2016-05-31 | 3 | -67/+68 |
| | |||||
* | Start cleaning up netlib.utils | Aldo Cortesi | 2016-05-31 | 4 | -47/+47 |
| | | | | | - Remove http2 functions, move to http2.frame - Remove Serializable, move to netlib.basetypes | ||||
* | Improve handling of pseudo-headers | Aldo Cortesi | 2016-05-31 | 1 | -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 error | Aldo Cortesi | 2016-05-31 | 1 | -1/+2 |
| | |||||
* | split mitmproxy.flow into mitmproxy.flow.* | Maximilian Hils | 2016-05-30 | 1 | -21/+21 |
| | |||||
* | fix | Thomas Kriechbaumer | 2016-05-29 | 1 | -1/+1 |
| | |||||
* | fix windows paths | Thomas Kriechbaumer | 2016-05-29 | 1 | -2/+2 |
| | |||||
* | fix har test | Thomas Kriechbaumer | 2016-05-29 | 1 | -5/+5 |
| | |||||
* | fix headers order | Thomas Kriechbaumer | 2016-05-29 | 1 | -1/+1 |
| | |||||
* | fix #1162 | Thomas Kriechbaumer | 2016-05-29 | 1 | -2/+5 |
| | |||||
* | more style cleanup | Thomas Kriechbaumer | 2016-05-29 | 52 | -86/+93 |
| |