diff options
| author | Tom Christie | 2012-10-13 07:10:12 -0700 |
|---|---|---|
| committer | Tom Christie | 2012-10-13 07:10:12 -0700 |
| commit | e4f43be47f532477a3ed656b4eb6f4bf371b7654 (patch) | |
| tree | 0576f6963524ef674c95090b38c967968d9734ee /docs/topics | |
| parent | ee38c03a155d0087ec8b826524ca4ae6e7e08597 (diff) | |
| parent | 7608cf1193fd555f31eb9a3d98c6f258720f8022 (diff) | |
| download | django-rest-framework-e4f43be47f532477a3ed656b4eb6f4bf371b7654.tar.bz2 | |
Merge pull request #293 from tomchristie/request-documentation
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 |
