aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
AgeCommit message (Collapse)Author
2015-01-27Clone the versioning_scheme when necessary. Fixes #2477Brandon Cazander
2015-01-26Set a version attribute on cloned requests if necessary.Brandon Cazander
2015-01-24Use enhanced request when cloning requests for checking permissions on other ↵Brandon Cazander
methods. Fixes #2455
2014-12-17Ensure request.auth is available to response middleware.Tom Christie
2014-12-17Merge pull request #2155 from martinmaillard/set-user-on-wrapped-requestTom Christie
Set authenticated user on wrapped request
2014-12-04Removed custom StringIO, force_text, smart_text compatTymur Maryokhin
2014-11-28Set user on wrapped requestMartin Maillard
2014-11-25request.DATA, request.FILES -> request.dataTom Christie
2014-11-05Copy accepted_renderer and accepted_media_type when cloing a request. Closes ↵Tom Christie
#1950.
2014-10-08More gradual deprecationTom Christie
2014-09-26request.data attributeTom Christie
2014-08-19Resolve linting issuesTom Christie
2014-08-19Code linting and added runtests.pyTom Christie
2014-08-18Only set .action attribute in override_method if it already existed on the viewTom Christie
2014-08-18Merge pull request #1763 from fongandrew/patch-1Tom Christie
override_method should substitute action
2014-08-18Always uppercase X-Http-Method-Override methods. Closes #1718.Tom Christie
2014-08-16Fixed action_map being pulled from wrong objectAndrew Fong
2014-08-16override_method should substitute actionAndrew Fong
A view's action is dependent on the request method. When overriding the method (e.g. to generate a form for a POST request on a GET call to the browseable API), the action should be updated as well. Otherwise, viewset functions may be in a weird limbo state where a 'list' action has a POST method.
2014-03-22Fixed encoding parameter in QueryDictDaniel Kontsek
2014-01-17Merge pull request #1361 from ross/x_method_overrideTom Christie
always obey X-HTTP-METHOD-OVERRIDE header
2014-01-17always obey X-HTTP-METHOD-OVERRIDE headerRoss McFarland
required to support old flash/flex clients that need to do everything as GET requests (apparently to allow for any error handlings)
2014-01-09Merge pull request #1341 from fredrikmollerstrand/docstring-typo-fixTom Christie
fix docstring typos.
2014-01-09fix docstring typos.Fredrik Möllerstrand
2013-12-09Catch and mask ParseErrors that occur during rendering of the BrowsableAPI.Tom Christie
2013-12-03Catch errors during parsing and set empty .DATA/.FILES before re-raising.Tom Christie
2013-10-24Fixed UnicodeEncodeError when POST JSON via web interface; added testalexanderlukanin13
2013-08-29Add `override_method` context manager and cleanup.Tom Christie
2013-06-29Added APIClient.authenticate()Tom Christie
2013-06-03request.user should be still be accessible in renderer context if ↵Tom Christie
authentication fails
2013-04-25Cleanup docstringsTom Christie
2013-03-12Only honor X-HTTP-Method-Override for POST requests.Tom Christie
2013-03-04Modified to allow form overloading to take precedence over header.Dave Kuhn
2013-03-03Support for X-HTTP-Method-Override headerDave Kuhn
2013-02-14request.DATA should use empty QueryDict for no data, not None.Tom Christie
2013-02-14Fix broken clone_requestTom Christie
2013-02-10Fix incorrect 401 vs 403 response, if lazy authentication has not taken place.Tom Christie
2013-02-04Deal with parser encodings properlyTom Christie
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-02-01Py3k cleanupTom 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-07Merged to latest masterTom Christie
2013-01-03Move the various compat things to the compat module.Xavier Ordoquy
2013-01-02Merge remote-tracking branch 'reference/py3k' into p3kXavier Ordoquy
2012-12-20Added setter to the auth propertyMark Hughes
2012-11-24Added setter to user propertyMark Hughes
2012-11-2352 tests passing. Refactored a few string / byte io.Xavier Ordoquy
2012-11-226 first tests passes under python 3.2Xavier Ordoquy
2012-11-22First passing test under p3k \o/Xavier Ordoquy
2012-11-13Implementing 401 vs 403 responsesTom Christie
2012-10-27pep8Tom Christie