summaryrefslogtreecommitdiff
path: root/webob/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Improving compliance with RFC2616 re HTTP status codes - now an application canMichael Stella2011-12-061-0/+9
| | | | | provide an arbitrary code, and a generic message (based on the x00 code in the same class) will be generated, rather than raising KeyError.
* use undeprecated escapeChris McDonough2011-09-241-2/+2
|
* mirror some deprecation changes from sergey-1.2-py2-only branchSergey Schetinin2011-09-241-2/+3
| | | | | | * warn_deprecation raises exceptions for 1.2 deprecations (first_match, weak_match, resp.body_file = 'x') * Request.str_* and Response.environ/request raise deprecation exceptions when touched * change deprecated_property implementation
* use paren-importsChris McDonough2011-09-221-3/+6
|
* sort imports and more direct importsChris McDonough2011-09-221-3/+5
|
* line lengthsChris McDonough2011-09-211-3/+4
|
* add a test for fileno, dont try to cover warn_deprecationChris McDonough2011-09-211-1/+1
|
* fix failing html_escape testChris McDonough2011-09-201-2/+4
|
* fix most test_exc tests, all datetime_utils tests, some test_dec tests for 3.2Chris McDonough2011-09-201-1/+2
|
* b -> bytes_Chris McDonough2011-09-201-1/+0
| | | | | | u -> text_ Use b'' literals instead of calls to b()
* Merge branch '1.1-branch' into chrism-py3-alt-merge2Sergey Schetinin2011-09-191-1/+1
|\ | | | | | | | | | | | | Conflicts: .gitignore webob/etag.py webob/request.py
| * adjust status code textSergey Schetinin2011-09-141-1/+1
| |
* | made all response tests pass except cookie-related onesChris McDonough2011-09-161-0/+1
| |
* | work on items/keys/values, better conversions, syntax errorsChris McDonough2011-09-151-3/+6
|/
* * change del res.body semantics so that it doesn't make the response invalid,Sergey Schetinin2011-08-091-3/+6
| | | | | | but only removes the response body * deprecate response.ubody / unicode_body in favour of new .text attribute (the old names will be removed in 1.3 or even later)
* * add warn_deprecation(...) mechanism that centralizes the deprecation ↵Sergey Schetinin2011-07-081-1/+13
| | | | | | | warnings / exceptions based on current WebOb version * deprecated_property is only used to throw exception now, simplify accordingly * remove check for cls.charset, cls.default_charset in BaseRequest.__init__ (they were deprecated long enough, for us to allow subclasses to use them as they wish)
* * move html_escape to webob.util (still exported from webob)Sergey Schetinin2011-07-071-7/+32
| | | | * kill rfc_reference, add header_docstring
* fix docs, adjust tests for docstringsSergey Schetinin2011-07-071-3/+3
|
* merge statusreasons into utilSergey Schetinin2010-10-041-0/+62
|
* convert util from a subpackage into a moduleSergey Schetinin2010-10-011-0/+8