diff options
| author | Stephan Groß | 2013-05-28 17:13:12 +0200 | 
|---|---|---|
| committer | Stephan Groß | 2013-05-28 17:13:12 +0200 | 
| commit | 7a570e16e97a42d58855b5c06ea7b4d2cc0745e6 (patch) | |
| tree | 09c25da3773f9680ad35127bc9838e6701926a2f /docs/api-guide/format-suffixes.md | |
| parent | d7bf02e09ea85778c0a3fad572ad33d637c0602f (diff) | |
| download | django-rest-framework-7a570e16e97a42d58855b5c06ea7b4d2cc0745e6.tar.bz2 | |
Fix md formatting and typos
Diffstat (limited to 'docs/api-guide/format-suffixes.md')
| -rw-r--r-- | docs/api-guide/format-suffixes.md | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/api-guide/format-suffixes.md b/docs/api-guide/format-suffixes.md index dae3dea3..529738e3 100644 --- a/docs/api-guide/format-suffixes.md +++ b/docs/api-guide/format-suffixes.md @@ -58,11 +58,11 @@ Also note that `format_suffix_patterns` does not support descending into `includ  ## Accept headers vs. format suffixes -There seems to be a view among some of the Web community that filename extensions are not a RESTful pattern, and that `HTTP Accept` headers should always be used instead.   +There seems to be a view among some of the Web community that filename extensions are not a RESTful pattern, and that `HTTP Accept` headers should always be used instead.  It is actually a misconception.  For example, take the following quote from Roy Fielding discussing the relative merits of query parameter media-type indicators vs. file extension media-type indicators:  -“That's why I always prefer extensions. Neither choice has anything to do with REST.” — Roy Fielding, [REST discuss mailing list][cite2] +“That's why I always prefer extensions.  Neither choice has anything to do with REST.” — Roy Fielding, [REST discuss mailing list][cite2]  The quote does not mention Accept headers, but it does make it clear that format suffixes should be considered an acceptable pattern. | 
