You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Sam Bisbee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/22 07:02:52 UTC

[jira] [Closed] (COUCHDB-453) If "Accept: foo" header is sent, server returns a render_error

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

Sam Bisbee closed COUCHDB-453.
------------------------------


Resolved for a while. Closing.
                
> If "Accept: foo" header is sent, server returns a render_error
> --------------------------------------------------------------
>
>                 Key: COUCHDB-453
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-453
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Jason Davies
>         Attachments: render.js.patch
>
>
> The full error is: {"error":"render_error","reason":"function raised error: [object Object]"}
> This occurs because there is no match for the "foo" mime type.  Simple patch to follow that makes us fall back to sending the first mime type provided.  "Be conservative in what you send, liberal in what you accept".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira