aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/parsers.py
AgeCommit message (Collapse)Author
2015-01-30Merge masterTom Christie
2015-01-23Pass {} as data to DataAndFiles, as it ends up in a MergeDictAlexander Dutton
In the same vein as #2399.
2015-01-23Merge masterTom Christie
2015-01-23More graceful handling of malformed Content-DispositionTom Christie
2015-01-19Merge masterTom Christie
2015-01-10Make FileUploadParser work with standard django APIAsk Holme
Output from parsers ends up in a Django MergeDict and they exists elements to be dicts - not None
2014-12-12Merge masterTom Christie
2014-12-04Removed custom urlparse compatTymur Maryokhin
2014-12-04Removed custom StringIO, force_text, smart_text compatTymur Maryokhin
2014-12-03MergeTom Christie
2014-12-02FileUploadParser. Raising StopFutureHandlers removes any handlers not yet ↵Tom Christie
run for the active set. Closes #2109.
2014-11-29Remove XML support from coreJosé Padilla
2014-11-29Remove YAML support from coreJosé Padilla
2014-10-01Use six.text_type instead of str everywhereTom Christie
2014-09-12UNICODE_JSON and COMPACT_JSON settingsTom Christie
2014-09-05Refactor disposition unpacking for clarityJason Bittel
2014-09-05Fix encoded filename parsing to allow for langJason Bittel
2014-09-05Refactor encoded filename feature per #1531Jason Bittel
2014-09-05Removed use encoding available only in py3Vladislav Vlastovskiy
2014-09-05Added get filename as encodedVladislav Vlastovskiy
This filename described in RFC 6266
2014-08-19Drop six from compat. 1.4.2 is now the lowest supported version.Tom Christie
2014-04-14Fixed convert bytes to strVladislav Vlastovskiy
Use compact function for convert
2014-04-14Fixed return typeVladislav Vlastovskiy
From bytes to str
2014-04-14Fixed parse file nameVladislav Vlastovskiy
2013-10-31Fixed exception handling with YAML and XML parsers.Rob Hudson
2013-08-29Fix multipart error when used via content-type overloadingTom Christie
2013-08-28Simplifying raw data renderering supportTom Christie
2013-08-27First hacky pass at displaying raw dataTom Christie
2013-07-04Update parser docstrings. Closes #968.Tom Christie
2013-05-08Allow None filename on uploaded filesTom Christie
2013-05-07Docs for FileUploadParserTom Christie
2013-05-04Raise ParseError if can't handle the uploaded fileMichael Elovskikh
2013-05-04Codebase improvements on FileUploadParserMichael Elovskikh
* Added docstrings. * Added `FileUploadParser.get_filename` to make it easier to override. * Added url kwargs filename detection step. * Updated tests corresponding to these changes.
2013-05-03Added FileUploadParser refs #7Michael Elovskikh
2013-02-22Add forbid_dtd flag, since we don't need any DTDs.Tom Christie
2013-02-22defusedxml for security fix.Tom Christie
As per: http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
2013-02-04Fix 2.6 compatTom Christie
2013-02-04Deal with parser encodings properlyTom Christie
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-02-04Don't use deprecated xml styleTom Christie
2013-02-01Merge branch 'p3k' of https://github.com/linovia/django-rest-framework into ↵Tom Christie
working Conflicts: rest_framework/authentication.py rest_framework/relations.py rest_framework/serializers.py rest_framework/settings.py rest_framework/tests/authentication.py rest_framework/tests/genericrelations.py rest_framework/tests/generics.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_nested.py rest_framework/tests/relations_pk.py rest_framework/tests/serializer.py
2013-01-05deprecate simplejsonJuan Riaza
2013-01-03Move the various compat things to the compat module.Xavier Ordoquy
2012-11-2352 tests passing. Refactored a few string / byte io.Xavier Ordoquy
2012-11-22First passing test under p3k \o/Xavier Ordoquy
2012-10-17Added `media_type` to `.parse()` - Consistency with renderer API.Tom Christie
2012-10-17parser_context includes `view`, `request`, `args`, `kwargs`. (Not `meta` ↵Tom Christie
and `upload_handlers`) Consistency with renderer API.
2012-10-17Drop .parse_string_or_stream() - keep API minimal.Tom Christie
2012-10-15Tweak parsers to take parser_contextTom Christie
2012-10-14Documentation for parsersTom Christie