| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
|  | 
and return a comma separated string of cookies
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| |\   | 
 | 
| | |  | 
 | 
| |/  
|   
|   
|   
|   
|   
|   
|   
|   
|   
|   
|   
|   
|   
|    | 
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.
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
- 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
 | 
| |  | 
 | 
| |  | 
 | 
| | 
| 
| 
|  | 
implementations
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
|  | 
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.
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
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.
 | 
| | 
| 
| 
| 
|  | 
allows '/' to be within a cookie name
removes deprecated cookie getter/setter
fixes #1118
 | 
| |\  
| | 
| |  | 
move HTTPResponse.refresh into netlib
 | 
| | |  | 
 | 
| |/   | 
 | 
| |  | 
 | 
| | 
| 
|  | 
according to coveralls docs
 | 
|    | 
 |