diff options
| author | Tom Christie | 2012-10-14 20:46:38 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-10-14 20:46:38 +0100 | 
| commit | 7a89d7a770d310f8b72178c561fcd04e6c15e5c4 (patch) | |
| tree | 95de410fe20832c0993ac4b8b6c4e08ed0b8c0e4 /docs/api-guide/requests.md | |
| parent | b3477b3b6c1431a03089d68828c13568d02dc990 (diff) | |
| download | django-rest-framework-7a89d7a770d310f8b72178c561fcd04e6c15e5c4.tar.bz2 | |
Work on docs
Diffstat (limited to 'docs/api-guide/requests.md')
| -rw-r--r-- | docs/api-guide/requests.md | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/docs/api-guide/requests.md b/docs/api-guide/requests.md index a371143a..91563e3b 100644 --- a/docs/api-guide/requests.md +++ b/docs/api-guide/requests.md @@ -111,6 +111,15 @@ If you do need to access the raw content directly, you should use the `.stream`  For more information see the [browser enhancements documentation].     +--- + +# Standard HttpRequest attributes + +As REST framework's `Request` extends Django's `HttpRequest`, all the other standard attributes and methods are also available.  For example the `request.META` dictionary is available as normal. + +Note that due to implementation reasons the `Request` class does not inherit from `HttpRequest` class, but instead extends the class using composition. + +  [cite]: https://groups.google.com/d/topic/django-developers/dxI4qVzrBY4/discussion  [parsers documentation]: parsers.md  [authentication documentation]: authentication.md | 
