aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/headers.py
Commit message (Collapse)AuthorAgeFilesLines
* The final piece: netlib -> mitproxy.netAldo Cortesi2016-10-201-221/+0
|
* mitmproxy.types.[basethread,multidict,serializable]Aldo Cortesi2016-10-201-1/+1
|
* netlib.strutils -> mitmproxy.utils.strutilsAldo Cortesi2016-10-201-1/+1
|
* remove empty lines at beginning of fileThomas Kriechbaumer2016-10-171-1/+0
|
* python3: clean up super and __future__Aldo Cortesi2016-10-171-8/+7
|
* First-order conversion to Python3-onlyAldo Cortesi2016-10-171-19/+9
| | | | | | - Zap various occurrences of Python2 in docs and scripts - Remove six from netlib, and some other places where obvious project-wide search and replace works.
* raise TypeError on invalid header assignment, fix #1562Maximilian Hils2016-09-211-0/+1
|
* Lint fix - minorarjun234962016-08-311-2/+1
|
* Lint fix - netlib headersarjun234962016-08-311-4/+2
|
* minor bug fix header replacearjun234962016-08-311-3/+7
|
* Added tests for replace in request,message,headerarjun234962016-08-311-0/+2
|
* Added replace for request and headers - Fixed missing replace optionarjun234962016-08-291-2/+3
|
* Merge pull request #1306 from mitmproxy/message-body-encodingMaximilian Hils2016-07-161-1/+14
|\ | | | | Improve Message Body Encoding
| * preserve content-type parameter orderMaximilian Hils2016-07-151-1/+2
| |
| * Merge remote-tracking branch 'origin/master' into message-body-encodingMaximilian Hils2016-07-151-0/+9
| |\
| * | improve message content semanticsMaximilian Hils2016-07-151-0/+12
| | |
* | | replacehooks -> addonAldo Cortesi2016-07-161-2/+2
| |/ |/| | | | | | | Also fixes a bug in header replacements in netlib that resulted in a mutable multidict.
* | py3++, multidict fixesMaximilian Hils2016-07-061-0/+9
|/ | | | | | | | | | | | 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++Maximilian Hils2016-07-011-2/+4
|
* Utils reorganisation: add netlib.strutilsAldo Cortesi2016-06-021-2/+2
| | | | Extract a number of string and format-related functions to netlib.strutils.
* Reorganise netlib imports according to Google Style GuideAldo Cortesi2016-06-011-4/+4
|
* Satisfy flake8Aldo Cortesi2016-05-311-1/+1
|
* utils.multipartdecode -> http.multipart.decodeAldo Cortesi2016-05-311-0/+27
| | | | | | also utils.parse_content_type -> http.headers.parse_content_type
* Satisfy flake8Aldo Cortesi2016-05-301-5/+0
|
* more style cleanupThomas Kriechbaumer2016-05-291-1/+1
|
* fix testsMaximilian Hils2016-05-281-1/+1
|
* netlib: fix most flake8 offensesThomas Kriechbaumer2016-05-281-4/+10
|
* fix Header docsMaximilian Hils2016-05-201-3/+3
|
* improve MultiDict, add ImmutableMultiDict, adjust response.cookiesMaximilian Hils2016-05-181-0/+4
|
* add MultiDictMaximilian Hils2016-05-181-95/+37
| | | | | | | | 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.
* improve .replace() and move it into netlibMaximilian Hils2016-04-021-1/+30
|
* add Serializeable.copyMaximilian Hils2016-04-021-4/+1
|
* s/nocover/no cover/gThomas Kriechbaumer2016-03-271-3/+3
| | | according to coveralls docs
* combine projectsMaximilian Hils2016-02-181-0/+204