mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
Update requests.md
Drop out-of-date paragraph on `request.content`
This commit is contained in:
parent
5cf7d4a90d
commit
9b56dda918
|
@ -118,10 +118,6 @@ For more information see the [browser enhancements documentation].
|
|||
|
||||
You won't typically need to directly access the request's content, as you'll normally rely on REST framework's default request parsing behavior.
|
||||
|
||||
If you do need to access the raw content directly, you should use the `.stream` property in preference to using `request.content`, as it provides transparent support for browser-based non-form content.
|
||||
|
||||
For more information see the [browser enhancements documentation].
|
||||
|
||||
---
|
||||
|
||||
# Standard HttpRequest attributes
|
||||
|
|
Loading…
Reference in New Issue
Block a user