summaryrefslogtreecommitdiff
path: root/webob/multidict.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'pr/162': Fix MultiDict's extend()Bert JW Regeer2015-04-141-0/+3
|\
| * Fix: GetDict.extend() should update QUERY_STRINGJeff Dairiki2014-10-031-0/+3
| |
* | multidict: fix typosNils Philippsen2014-07-231-3/+3
|/
* Use list comprehension for multidict getallZhongyue Luo2012-12-281-5/+1
|
* coverageChris McDonough2012-10-111-2/+2
|
* multidict: reindentJohan Euphrosine2012-08-141-7/+7
|
* multidict: use binascii for PY3K compatJohan Euphrosine2012-08-141-3/+13
|
* multidict: remove printJohan Euphrosine2012-08-141-2/+0
|
* multidict: handle Content-Transfer-EncodingJohan Euphrosine2012-08-141-1/+7
|
* py3 - make sure the MultiDict.from_fieldstorage actually decodes the values ↵Sergey Schetinin2012-08-091-1/+4
| | | | in non-utf8 encodings
* fix issue #64 - multidict.from_fieldstorage: decode fields value using charset.Johan Euphrosine2012-08-081-4/+5
|
* Python 3 constructor fixGryanko Alexander2012-06-071-1/+1
|
* fix https://github.com/Pylons/webob/issues/34Sergey Schetinin2012-03-031-1/+1
|
* * Mutating the ``request.cookies`` property now retains the mutated valueChris McDonough2011-10-061-11/+0
| | | | | during the course of a single request (bug-for-bug compatibility with previous versions; in-the-wild codebases depend upon this behavior).
* forgot the TypeError messageSergey Schetinin2011-09-301-1/+1
|
* merge all methods overridden in ImmutableDict into oneSergey Schetinin2011-09-301-23/+6
|
* * ``request.cookies`` property now returns an immutable dictionary;Chris McDonough2011-09-291-0/+28
| | | | attempting to modify it will result in a TypeError.
* test coverage; transcode fixes; remove multidict_from_bodyfileSergey Schetinin2011-09-251-1/+1
|
* Merge branch 'sergey-1.2-py2-only' into 1.2-mergeSergey Schetinin2011-09-251-21/+32
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * GetDict.tracker -> on_changeSergey Schetinin2011-09-201-11/+16
| |
| * hardcode utf-8 into FakeCGIBody and MultiDict.form_fieldstorageSergey Schetinin2011-09-201-2/+2
| |
| * drop UnicodeMultiDict; change TrackableMultiDict -> GetDictSergey Schetinin2011-09-201-184/+15
| | | | | | | | | | | | * decode cgi.FieldStorage in MultiDict.from_fieldstorage * add encoding and errors params to FakeCGIBody * same for _encode_multipart
| * deprecate more stuffSergey Schetinin2011-09-181-19/+9
| | | | | | | | | | | | | | | | | | * WARNING! doctests are broken * finalize deprecation of Request.str_* * finalize deprecation of first_match and weak_match * raise error when decode_param_names is used in any way * raise error when accessing HTTPException.exception * hardcode key decoding in UnicodeMultiDict
* | fix tests on windows; improve GET parsing; simpler cookie escapingSergey Schetinin2011-09-231-1/+1
| | | | | | | | | | | | * 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
* | use paren-importsChris McDonough2011-09-221-3/+5
| |
* | sort imports and more direct importsChris McDonough2011-09-221-2/+2
| |
* | line lengthsChris McDonough2011-09-211-2/+3
| |
* | 100% coverage for descriptors and multidictChris McDonough2011-09-211-7/+7
| |
* | trim compat down to only necessary components; more direct imports; 100% ↵Chris McDonough2011-09-211-3/+3
| | | | | | | | test coverage for compat on py2
* | UnicodeMultiDict no longer usedChris McDonough2011-09-201-196/+1
| |
* | work on items/keys/values, better conversions, syntax errorsChris McDonough2011-09-151-48/+82
| |
* | work towards creating and using 'compat' module and removing syntax errors ↵Chris McDonough2011-09-151-9/+13
|/ | | | when code is run under py3k; all tests pass under py2, but most tests still fail under py3k
* attempt to silence deprecation warnings during testingSergey Schetinin2011-08-181-1/+1
|
* rename FIXME -> TODO, remove some, update someSergey Schetinin2011-06-301-1/+0
|
* refactor passwd hiding into a separate funcSergey Schetinin2011-04-151-15/+15
|
* hide password value in *MultiDictGael Pasgrimaud2011-04-151-6/+18
|
* wrap lines to mostly conform to PEP-8, add pragma comments where necessary, ↵Sergey Schetinin2011-03-221-5/+6
| | | | small docstring edits [from pycon2011 sprint]
* the cgi bug from r563 (474607292508) was in fact a Chrome and ↵Sergey Schetinin2011-02-221-9/+2
| | | | _encode_multipart bug. see: http://bugs.python.org/issue11269
* fix cgi.FieldStorage 'multipart/form-data' parsing (the field names are not ↵Sergey Schetinin2011-02-211-3/+10
| | | | unquoted). see also https://bitbucket.org/ianb/webob/issue/2
* add warning when client code uses MultiDict.update() and seemingly expects ↵Sergey Schetinin2011-02-201-6/+15
| | | | .extend() semantics
* UnicodeMultiDict requires a MultiDict to wrap, correct the default argument ↵Sergey Schetinin2011-01-261-1/+1
| | | | values accordingly
* fix: ResponseHeaders.update() should overwrite keysSergey Schetinin2010-11-201-4/+3
|
* * If a UnicodeMultiDict was used as the ``multi`` argument of anotherChris McDonough2010-10-271-3/+5
| | | | | | | | UnicodeMultiDict, and a ``cgi.FieldStorage`` with a ``filename`` with high-order characters was present in the underlying UnicodeMultiDict, a ``UnicodeEncodeError`` would be raised when any helper method caused the ``_decode_value`` method to be called, because the method would try to decode an already decoded string.
* webob requires python 2.4+ since 418:5621426aecc0, drop compat modules and ↵Sergey Schetinin2010-10-011-7/+4
| | | | use decorators where appropriate
* style tweaksSergey Schetinin2010-08-111-20/+14
|
* * merge headersdict and datastruct modules into new module webob.headersSergey Schetinin2010-08-111-9/+2
| | | | | | | * 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
* don't import util.dictmixin unless it is necessarySergey Schetinin2010-07-231-4/+9
|
* move multidict doctest next to other testsSergey Schetinin2010-02-151-29/+0
|
* TrackableMultiDict should be copied into an (untracked) MultiDictIan Bicking2010-01-061-0/+3
|
* Make req.GET settable (updating the request). Avoid reparsing the request ↵Ian Bicking2009-06-081-1/+42
| | | | body for POSTs. Create file-upload POST bodies. Allow req.POST to be updated. Added POST parameter to Request.blank. Added Response.merge_cookies method