tomchristie/django-rest-framework — Issue #128: Request must inherit from HttpRequest
Author: sebpiq
Created: 2012-01-13 10:00:13+00:00
State: open

Request must become a subclass of Django's ``HttpRequest``.
``.DATA``, ``.FILES``, ``.auth`` and ``.method``, previously available on views inheriting from ``RequestMixin`` will become ``request.DATA``, ``request.FILES``, ``request.method``... Regular attributes on the request (eg. ``.META`` etc.) will still be available.
Also, ``.CONTENT`` probably needs to disappear and won't be provided by the new ``Request`` class.