aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* add MultiDictMaximilian Hils2016-05-181-11/+0
| | | | | | | | 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.
* Sanitize Print (#1135)Maximilian Hils2016-05-121-0/+28
| | | | | | | | * sanitize strings with shell control characters * netlib: add utilities to safe-print bytes * escaped str: add TODO for multi-byte chars
* fix #1120Maximilian Hils2016-05-091-0/+2
|
* improve .replace() and move it into netlibMaximilian Hils2016-04-021-0/+10
|
* add Serializeable.copyMaximilian Hils2016-04-021-0/+3
|
* combine projectsMaximilian Hils2016-02-181-0/+418