summaryrefslogtreecommitdiff
path: root/webob/compat.py
Commit message (Collapse)AuthorAgeFilesLines
* unused imports, long lineChris McDonough2012-01-261-2/+0
|
* fix https://github.com/Pylons/webob/issues/18 (non-ascii form POST, then ↵Sergey Schetinin2011-12-261-1/+2
| | | | parse, then serialize)
* test coverage; transcode fixes; remove multidict_from_bodyfileSergey Schetinin2011-09-251-43/+0
|
* Merge branch 'sergey-1.2-py2-only' into 1.2-mergeSergey Schetinin2011-09-251-16/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/test_descriptors.py tests/test_etag.py tests/test_misc.py tests/test_multidict.py tests/test_request.py tests/test_request_nose.py tox.ini webob/cookies.py webob/dec.py webob/descriptors.py webob/etag.py webob/exc.py webob/multidict.py webob/request.py webob/response.py
* | remove exec_, change reraise to take single argumentSergey Schetinin2011-09-251-26/+6
| |
* | remove print_ from compatSergey Schetinin2011-09-251-48/+0
| |
* | binary_type -> bytesSergey Schetinin2011-09-251-3/+1
| |
* | remove text_to_wsgiSergey Schetinin2011-09-251-7/+0
| | | | | | | | | | | | | | | | if the header is set to * text on py3 we trust it to be in latin-1 charset * bytes on py3 the resulting response is invalid * text on py2 we encode to latin-1 like we always did * bytes on py2 we use it verbatim
* | use undeprecated escapeChris McDonough2011-09-241-0/+4
| |
* | fix url_unquote on py3 (should be real url -> bytes -> unquote -> latin-1 text)Sergey Schetinin2011-09-241-1/+1
| |
* | implement url_unquote as a wrapper around compat.unquote on py3Sergey Schetinin2011-09-241-3/+5
| |
* | work on test coverageSergey Schetinin2011-09-241-3/+1
| |
* | typoSergey Schetinin2011-09-231-1/+1
| | | | | | | | (make one change before commit w/o testing and there it is)
* | fix tests on windows; improve GET parsing; simpler cookie escapingSergey Schetinin2011-09-231-31/+41
| | | | | | | | | | | | * decoding with mbcd + surrogateescape is not supported * parse_qsl is ridiculous on py3, merge into compat and simplify * on py3 we can still do map(_escape_char, v) on bytes if we change _escape_map key type
* | sort imports and more direct importsChris McDonough2011-09-221-2/+2
| |
* | no need for two separate functions for upath_propertyChris McDonough2011-09-211-2/+2
| |
* | md5 doesnt need a compat importChris McDonough2011-09-211-5/+0
| |
* | do the import outside of the functionChris McDonough2011-09-211-2/+2
| |
* | bw compat: decode filename and fieldname when processing a FieldStorage itemChris McDonough2011-09-211-1/+7
| |
* | 100% datetime_utils coverageChris McDonough2011-09-211-0/+11
| |
* | trim compat down to only necessary components; more direct imports; 100% ↵Chris McDonough2011-09-211-30/+15
| | | | | | | | test coverage for compat on py2
* | use direct imports, kill dead importsChris McDonough2011-09-201-7/+5
| |
* | make all test_request tests pass under py 3.2Chris McDonough2011-09-201-7/+7
| |
* | atrocious straddling codeChris McDonough2011-09-201-0/+4
| |
* | b -> bytes_Chris McDonough2011-09-201-17/+18
| | | | | | | | | | | | u -> text_ Use b'' literals instead of calls to b()
* | try to make cookies work on both python 2 and python 3Chris McDonough2011-09-171-32/+21
| |
* | use a 'normal' MultiDict for both GET and POST instead of a ↵Chris McDonough2011-09-161-0/+70
| | | | | | | | UnicodeMultiDict; try to beat down some more test failures.
* | made all response tests pass except cookie-related onesChris McDonough2011-09-161-1/+21
| |
* | work on items/keys/values, better conversions, syntax errorsChris McDonough2011-09-151-0/+13
| |
* | work towards creating and using 'compat' module and removing syntax errors ↵Chris McDonough2011-09-151-0/+145
|/ | | | when code is run under py3k; all tests pass under py2, but most tests still fail under py3k
* * merge headersdict and datastruct modules into new module webob.headersSergey Schetinin2010-08-111-23/+0
| | | | | | | * rename HeadersDict to ResponseHeaders * merge updatedict module into cachecontrol * merge webob.util.reversed and webob.compat modules into webob.util.__init__ * make DictMixin, reversed and sorted importable directly from webob.util
* compatibility module (forgot to commit?)Ian Bicking2008-05-291-0/+23