[ 
https://issues.apache.org/jira/browse/COUCHDB-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717364#action_12717364
 ] 

Luke Venediger commented on COUCHDB-234:
----------------------------------------

The link above gives a 404. This is the correct link: 
http://simonwillison.net/2009/Feb/6/json/

> [PATCH] Improved Accept/Content-Type negotiation
> ------------------------------------------------
>
>                 Key: COUCHDB-234
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-234
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.9
>            Reporter: Brian Candler
>            Priority: Minor
>         Attachments: couchdb-mime.diff
>
>
> Suggested improvement for Content-Type of responses
> Return Content-Type: application/json unless:
> * client provides an Accept: header; and
> * header includes text/plain, text/* or */*; and
> * header does not have application/json earlier in the list
> This is not proper RFC 2616 negotiation - q factors are ignored - but maybe 
> it's better than current behaviour. Tested with Firefox (which still views 
> responses as text), but not other browsers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to