aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics
diff options
context:
space:
mode:
authorTom Christie2012-10-13 15:07:43 +0100
committerTom Christie2012-10-13 15:07:43 +0100
commit7608cf1193fd555f31eb9a3d98c6f258720f8022 (patch)
tree3ba2671288a64ddc29fc4fc6c45c601f24ca551a /docs/topics
parent9094f93d188859f5db9198a170bbb65d5b9e9286 (diff)
downloaddjango-rest-framework-7608cf1193fd555f31eb9a3d98c6f258720f8022.tar.bz2
Improve documentation for Requests
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/browser-enhancements.md (renamed from docs/topics/browserhacks.md)4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/browserhacks.md b/docs/topics/browser-enhancements.md
index 96cb1388..d4e128ae 100644
--- a/docs/topics/browserhacks.md
+++ b/docs/topics/browser-enhancements.md
@@ -1,4 +1,4 @@
-# Browser hacks
+# Browser enhancements
> "There are two noncontroversial uses for overloaded POST. The first is to *simulate* HTTP's uniform interface for clients like web browsers that don't support PUT or DELETE"
>
@@ -27,7 +27,7 @@ For example, given the following form:
<input name="_content" value="{'count': 1}">
</form>
-`request.content_type` would return `"application/json"`, and `request.content` would return `"{'count': 1}"`
+`request.content_type` would return `"application/json"`, and `request.stream` would return `"{'count': 1}"`
## URL based accept headers