diff options
| author | Michael Elovskikh | 2013-01-28 15:54:00 +0600 |
|---|---|---|
| committer | Michael Elovskikh | 2013-01-28 15:54:00 +0600 |
| commit | 180c94dc44a9cc5b882364a58b0b12a8ab430c22 (patch) | |
| tree | 5668cc4a0cfcb33a4821e4b949671782c6f890b5 /docs/topics/browser-enhancements.md | |
| parent | ed1375485906f261449b92fe6e20715530625d07 (diff) | |
| download | django-rest-framework-180c94dc44a9cc5b882364a58b0b12a8ab430c22.tar.bz2 | |
Undo changes in browsable-api.md and browser-enhancements.md
Diffstat (limited to 'docs/topics/browser-enhancements.md')
| -rw-r--r-- | docs/topics/browser-enhancements.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/browser-enhancements.md b/docs/topics/browser-enhancements.md index 3949f7a6..6a11f0fa 100644 --- a/docs/topics/browser-enhancements.md +++ b/docs/topics/browser-enhancements.md @@ -1,12 +1,12 @@ # 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, PATCH or DELETE" +> "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" > > — [RESTful Web Services][cite], Leonard Richardson & Sam Ruby. -## Browser based PUT, PATCH, DELETE, etc... +## Browser based PUT, DELETE, etc... -REST framework supports browser-based `PUT`, `PATCH`, `DELETE` and other methods, by +REST framework supports browser-based `PUT`, `DELETE` and other methods, by overloading `POST` requests using a hidden form field. Note that this is the same strategy as is used in [Ruby on Rails][rails]. @@ -51,7 +51,7 @@ the view. This is a more concise than using the `accept` override, but it also gives you less control. (For example you can't specify any media type parameters) -## Doesn't HTML5 support PUT, PATCH and DELETE forms? +## Doesn't HTML5 support PUT and DELETE forms? Nope. It was at one point intended to support `PUT` and `DELETE` forms, but was later [dropped from the spec][html5]. There remains |
