Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | message.content -> .raw_content, implement .text | Maximilian Hils | 2016-07-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | 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. | ||||
* | fix tcp message handling | Maximilian Hils | 2016-07-01 | 1 | -1/+3 |
| | |||||
* | py3++ | Maximilian Hils | 2016-07-01 | 1 | -3/+7 |
| | |||||
* | Handle case when scheme is None | Shadab Zafar | 2016-07-01 | 1 | -1/+1 |
| | |||||
* | minor fixes | Maximilian Hils | 2016-06-06 | 1 | -4/+4 |
| | |||||
* | Utils reorganisation: add netlib.strutils | Aldo Cortesi | 2016-06-02 | 1 | -2/+2 |
| | | | | 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 | -25/+25 |
| | |||||
* | utils.multipartdecode -> http.multipart.decode | Aldo Cortesi | 2016-05-31 | 1 | -1/+2 |
| | | | | | | also utils.parse_content_type -> http.headers.parse_content_type | ||||
* | Module is part of the name - url.decode, not url.urldecode | Aldo Cortesi | 2016-05-31 | 1 | -9/+9 |
| | | | | 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 | 1 | -9/+10 |
| | |||||
* | Start cleaning up netlib.utils | Aldo Cortesi | 2016-05-31 | 1 | -1/+1 |
| | | | | | - Remove http2 functions, move to http2.frame - Remove Serializable, move to netlib.basetypes | ||||
* | more style cleanup | Thomas Kriechbaumer | 2016-05-29 | 1 | -2/+2 |
| | |||||
* | fix tests | Maximilian Hils | 2016-05-28 | 1 | -1/+1 |
| | |||||
* | cleanup imports with flake8 | Thomas Kriechbaumer | 2016-05-28 | 1 | -2/+0 |
| | |||||
* | A clearer implementation of MultiDictView | Aldo Cortesi | 2016-05-21 | 1 | -19/+40 |
| | | | | | | 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. | ||||
* | improve MultiDict, add ImmutableMultiDict, adjust response.cookies | Maximilian Hils | 2016-05-18 | 1 | -49/+20 |
| | |||||
* | add MultiDict | Maximilian Hils | 2016-05-18 | 1 | -27/+44 |
| | | | | | | | | 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 cookie parsing | Thomas Kriechbaumer | 2016-05-10 | 1 | -8/+0 |
| | | | | | 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 | 1 | -0/+17 |
|\ | |||||
| * | improve .replace() and move it into netlib | Maximilian Hils | 2016-04-02 | 1 | -0/+17 |
| | | |||||
* | | form_(in|out) -> first_line_format | Maximilian Hils | 2016-04-02 | 1 | -21/+0 |
|/ | |||||
* | add Serializeable.copy | Maximilian Hils | 2016-04-02 | 1 | -2/+1 |
| | |||||
* | s/nocover/no cover/g | Thomas Kriechbaumer | 2016-03-27 | 1 | -14/+14 |
| | | | according to coveralls docs | ||||
* | netlib: request.path can be None | Maximilian Hils | 2016-03-20 | 1 | -1/+4 |
| | |||||
* | Merge remote-tracking branch 'duffer/pretty-host' | Maximilian Hils | 2016-02-18 | 1 | -1/+24 |
| | |||||
* | combine projects | Maximilian Hils | 2016-02-18 | 1 | -0/+356 |