aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/http2
Commit message (Collapse)AuthorAgeFilesLines
* http2: improve framereaderThomas Kriechbaumer2016-09-032-5/+10
|
* py3++, multidict fixesMaximilian Hils2016-07-061-3/+3
| | | | | | | | | | | | This commit improves Python 3 compatibility and fixes two multidict issues: 1. Headers.items(multi=True) now decodes fields 2. MultiDict.clear(item) has been removed, as Python's MutableMapping already defines .clear() with different semantics. This is confusing for everyone who expects a dict-like object. `.pop("attr", None)` is not fantastic, but it's the Python way to do it.
* py3: fix bytes vs. strThomas Kriechbaumer2016-07-031-4/+4
|
* h2: move header parsing to netlibShadab Zafar2016-07-032-0/+39
|
* http2: improve error handling in testsThomas Kriechbaumer2016-06-221-1/+2
|
* move custom HTTP/2 stack from netlib to pathodThomas Kriechbaumer2016-06-172-434/+0
|
* Py3: fix http2 bytes issueShadab Zafar2016-06-151-2/+2
|
* Merge pull request #1183 from mitmproxy/module-importsAldo Cortesi2016-06-011-1/+3
|\ | | | | use module-level imports only
| * use module-level imports onlyMaximilian Hils2016-05-311-1/+3
| |
* | Reorganise netlib imports according to Google Style GuideAldo Cortesi2016-06-011-10/+13
|/
* Fix tests harderAldo Cortesi2016-05-311-2/+2
|
* http2.frame -> http2.framereaderAldo Cortesi2016-05-311-0/+0
|
* Module is part of the name - url.decode, not url.urldecodeAldo Cortesi2016-05-311-1/+1
| | | | A pattern we need to use far more often in the codebase
* Extract url functions from netlib.utils and move to netlib.http.urlAldo Cortesi2016-05-311-2/+2
|
* Start cleaning up netlib.utilsAldo Cortesi2016-05-312-29/+51
| | | | | - Remove http2 functions, move to http2.frame - Remove Serializable, move to netlib.basetypes
* Improve handling of pseudo-headersAldo Cortesi2016-05-311-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.
* more style cleanupThomas Kriechbaumer2016-05-291-2/+2
| | | | Use this to check: flake8 --count mitmproxy netlib pathod examples test
* add MultiDictMaximilian Hils2016-05-181-6/+6
| | | | | | | | 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.
* form_(in|out) -> first_line_formatMaximilian Hils2016-04-021-4/+4
|
* combine projectsMaximilian Hils2016-02-182-0/+432