Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Integrated encode/decoder for brotli | Angelo Agatino Nicolosi | 2016-07-30 | 1 | -1/+1 |
| | |||||
* | remove content caching in netlib.http.Message | Maximilian Hils | 2016-07-23 | 1 | -84/+31 |
| | |||||
* | fix content view cache invalidation | Maximilian Hils | 2016-07-21 | 1 | -6/+0 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into message-body-encoding | Maximilian Hils | 2016-07-15 | 1 | -1/+1 |
|\ | |||||
| * | py3++ | Maximilian Hils | 2016-07-07 | 1 | -0/+3 |
| | | |||||
* | | improve message content semantics | Maximilian Hils | 2016-07-15 | 1 | -52/+81 |
| | | |||||
* | | raise ValueError if content-encoding is invalid | Maximilian Hils | 2016-07-04 | 1 | -13/+29 |
| | | |||||
* | | tests++ | Maximilian Hils | 2016-07-02 | 1 | -3/+3 |
| | | |||||
* | | make the linter happy | Maximilian Hils | 2016-07-02 | 1 | -1/+1 |
| | | |||||
* | | message.content -> .raw_content, implement .text | Maximilian Hils | 2016-07-02 | 1 | -60/+132 |
|/ | | | | | | | | | | | | | | | This PR improves our handling of HTTP message body encodings: - The unaltered message body is now accessible as `.raw_content` - The "content-encoding"-decoded content (i.e. gzip removed) content is not `.content`, as this is what we want in 99% of the cases. - `.text` now provides the "content-encoding"-decoded and then "content-type charset"-decoded message body. - The decoded values for `.content` and `.text` are cached, so that repeated access and `x.text = x.text` is cheap. - The `decoded()` decorator is now deprecated, as we can now just use `.content`. Similarly `HTTPMessage.get_decoded_content()` is deprecated. | ||||
* | py3++ | Maximilian Hils | 2016-07-01 | 1 | -2/+6 |
| | |||||
* | Utils reorganisation: add netlib.strutils | Aldo Cortesi | 2016-06-02 | 1 | -3/+3 |
| | | | | Extract a number of string and format-related functions to netlib.strutils. | ||||
* | Reorganise netlib imports according to Google Style Guide | Aldo Cortesi | 2016-06-01 | 1 | -2/+2 |
| | |||||
* | Start cleaning up netlib.utils | Aldo Cortesi | 2016-05-31 | 1 | -9/+8 |
| | | | | | - Remove http2 functions, move to http2.frame - Remove Serializable, move to netlib.basetypes | ||||
* | netlib: fix most flake8 offenses | Thomas Kriechbaumer | 2016-05-28 | 1 | -5/+12 |
| | |||||
* | cleanup imports with flake8 | Thomas Kriechbaumer | 2016-05-28 | 1 | -1/+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 | 1 | -69/+0 |
|/ | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | improve MultiDict, add ImmutableMultiDict, adjust response.cookies | Maximilian Hils | 2016-05-18 | 1 | -3/+38 |
| | |||||
* | add MultiDict | Maximilian Hils | 2016-05-18 | 1 | -0/+35 |
| | | | | | | | | 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 netlib | Maximilian Hils | 2016-04-02 | 1 | -0/+19 |
| | |||||
* | add Serializeable.copy | Maximilian Hils | 2016-04-02 | 1 | -3/+1 |
| | |||||
* | s/nocover/no cover/g | Thomas Kriechbaumer | 2016-03-27 | 1 | -3/+3 |
| | | | according to coveralls docs | ||||
* | replace CONTENT_MISSING with None. | Matthew Shao | 2016-03-26 | 1 | -2/+0 |
| | |||||
* | Setting CONTENT_MISSING to None | Matthew Shao | 2016-03-26 | 1 | -1/+1 |
| | |||||
* | combine projects | Maximilian Hils | 2016-02-18 | 1 | -0/+222 |