Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | h2: move header parsing to netlib | Shadab Zafar | 2016-07-03 | 2 | -0/+39 | |
|/ | ||||||
* | fix tcp message handling | Maximilian Hils | 2016-07-01 | 1 | -1/+3 | |
| | ||||||
* | py3++ | Maximilian Hils | 2016-07-01 | 3 | -7/+17 | |
| | ||||||
* | Handle case when scheme is None | Shadab Zafar | 2016-07-01 | 1 | -1/+1 | |
| | ||||||
* | http2: improve error handling in tests | Thomas Kriechbaumer | 2016-06-22 | 1 | -1/+2 | |
| | ||||||
* | move custom HTTP/2 stack from netlib to pathod | Thomas Kriechbaumer | 2016-06-17 | 2 | -434/+0 | |
| | ||||||
* | Py3: fix http2 bytes issue | Shadab Zafar | 2016-06-15 | 1 | -2/+2 | |
| | ||||||
* | Remove odict | Aldo Cortesi | 2016-06-09 | 1 | -4/+5 | |
| | | | | | | | | - Adds default implementations for _kconv and _reduce_values to MultiDict. Without these, operations fail in really, really non-obvious ways. - Replace the remaining few instances of ODict Fixes #1159 | |||||
* | Utils cleanups | Aldo Cortesi | 2016-06-07 | 2 | -3/+16 | |
| | | | | | | | | - 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. | |||||
* | minor fixes | Maximilian Hils | 2016-06-06 | 2 | -5/+5 | |
| | ||||||
* | Fix test that may fail due to binary header data | Aldo Cortesi | 2016-06-05 | 1 | -1/+3 | |
| | | | | | | | | 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 | |||||
* | Utils reorganisation: add netlib.strutils | Aldo Cortesi | 2016-06-02 | 3 | -7/+7 | |
| | | | | Extract a number of string and format-related functions to netlib.strutils. | |||||
* | Merge pull request #1183 from mitmproxy/module-imports | Aldo Cortesi | 2016-06-01 | 1 | -1/+3 | |
|\ | | | | | use module-level imports only | |||||
| * | use module-level imports only | Maximilian Hils | 2016-05-31 | 1 | -1/+3 | |
| | | ||||||
* | | Reorganise netlib imports according to Google Style Guide | Aldo Cortesi | 2016-06-01 | 12 | -112/+117 | |
|/ | ||||||
* | be more strict about module namespaces | Maximilian Hils | 2016-05-31 | 1 | -4/+4 | |
| | ||||||
* | Fix tests harder | Aldo Cortesi | 2016-05-31 | 1 | -2/+2 | |
| | ||||||
* | http2.frame -> http2.framereader | Aldo Cortesi | 2016-05-31 | 1 | -0/+0 | |
| | ||||||
* | Satisfy flake8 | Aldo Cortesi | 2016-05-31 | 2 | -1/+2 | |
| | ||||||
* | Move human-friendly format functions to netlib.human, remove redundant ↵ | Aldo Cortesi | 2016-05-31 | 1 | -2/+2 | |
| | | | | implementations | |||||
* | utils.multipartdecode -> http.multipart.decode | Aldo Cortesi | 2016-05-31 | 3 | -1/+61 | |
| | | | | | | 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 | 1 | -1/+13 | |
| | | | | Placing this next to its only use. | |||||
* | Module is part of the name - url.decode, not url.urldecode | Aldo Cortesi | 2016-05-31 | 4 | -15/+15 | |
| | | | | 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 | 4 | -12/+109 | |
| | ||||||
* | Start cleaning up netlib.utils | Aldo Cortesi | 2016-05-31 | 4 | -39/+60 | |
| | | | | | - Remove http2 functions, move to http2.frame - Remove Serializable, move to netlib.basetypes | |||||
* | Improve handling of pseudo-headers | Aldo Cortesi | 2016-05-31 | 1 | -6/+8 | |
| | | | | | | | | | - 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. | |||||
* | Satisfy flake8 | Aldo Cortesi | 2016-05-30 | 1 | -5/+0 | |
| | ||||||
* | more style cleanup | Thomas Kriechbaumer | 2016-05-29 | 2 | -3/+3 | |
| | ||||||
* | more style cleanup | Thomas Kriechbaumer | 2016-05-29 | 1 | -2/+2 | |
| | | | | Use this to check: flake8 --count mitmproxy netlib pathod examples test | |||||
* | fix tests | Maximilian Hils | 2016-05-28 | 3 | -3/+3 | |
| | ||||||
* | netlib: fix most flake8 offenses | Thomas Kriechbaumer | 2016-05-28 | 4 | -9/+24 | |
| | ||||||
* | cleanup imports with flake8 | Thomas Kriechbaumer | 2016-05-28 | 4 | -5/+0 | |
| | ||||||
* | Merge branch 'issue-1099' | Maximilian Hils | 2016-05-20 | 1 | -0/+6 | |
|\ | ||||||
| * | fix #1099 | Maximilian Hils | 2016-05-20 | 1 | -0/+6 | |
| | | ||||||
* | | A clearer implementation of MultiDictView | Aldo Cortesi | 2016-05-21 | 4 | -97/+55 | |
|/ | | | | | | This makes MultiDictView work with a simple getter/setter pair, rather than using attributes with implicit leading underscores. Also move MultiDictView into multidict.py and adds some simple unit tests. | |||||
* | tests++ | Maximilian Hils | 2016-05-20 | 2 | -3/+3 | |
| | ||||||
* | fix Header docs | Maximilian Hils | 2016-05-20 | 1 | -3/+3 | |
| | ||||||
* | improve MultiDict, add ImmutableMultiDict, adjust response.cookies | Maximilian Hils | 2016-05-18 | 6 | -87/+123 | |
| | ||||||
* | add MultiDict | Maximilian Hils | 2016-05-18 | 7 | -136/+137 | |
| | | | | | | | | This commit introduces MultiDict, a multi-dictionary similar to ODict, but with improved semantics (as in the Headers class). MultiDict fixes a few issues that were present in the Request/Response API. In particular, `request.cookies["foo"] = "bar"` has previously been a no-op, as the cookies property returned a mutable _copy_ of the cookies. | |||||
* | replace SimpleCookie with our own parser lib | Thomas Kriechbaumer | 2016-05-11 | 1 | -1/+1 | |
| | ||||||
* | improve cookie parsing | Thomas Kriechbaumer | 2016-05-10 | 3 | -37/+20 | |
| | | | | | allows '/' to be within a cookie name removes deprecated cookie getter/setter fixes #1118 | |||||
* | fix #1120 | Maximilian Hils | 2016-05-09 | 1 | -1/+1 | |
| | ||||||
* | fix CONNECT display in upstream mode | Maximilian Hils | 2016-04-20 | 1 | -0/+2 | |
| | ||||||
* | peer_address -> ip_address | Maximilian Hils | 2016-04-11 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'better-replace' | Maximilian Hils | 2016-04-03 | 3 | -1/+66 | |
|\ | ||||||
| * | improve .replace() and move it into netlib | Maximilian Hils | 2016-04-02 | 3 | -1/+66 | |
| | | ||||||
* | | Merge pull request #1074 from mitmproxy/move-response-refresh | Thomas Kriechbaumer | 2016-04-03 | 2 | -0/+68 | |
|\ \ | | | | | | | move HTTPResponse.refresh into netlib | |||||
| * | | move HTTPResponse.refresh into netlib | Maximilian Hils | 2016-04-02 | 2 | -0/+68 | |
| |/ | ||||||
* | | Merge pull request #1073 from mitmproxy/first-line-format | Thomas Kriechbaumer | 2016-04-03 | 2 | -25/+4 | |
|\ \ | | | | | | | form_(in|out) -> first_line_format | |||||
| * | | form_(in|out) -> first_line_format | Maximilian Hils | 2016-04-02 | 2 | -25/+4 | |
| |/ |