couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-234) [PATCH] Improved Accept/Content-Type negotiation
Date Sat, 09 Oct 2010 19:45:16 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Joseph Davis updated COUCHDB-234:
--------------------------------------

    Skill Level: Regular Contributors Level (Easy to Medium)

> [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.


Mime
View raw message