couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-453) If "Accept: foo" header is sent, server returns a render_error
Date Wed, 05 Aug 2009 18:32:14 GMT

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

Chris Anderson resolved COUCHDB-453.
------------------------------------

    Resolution: Fixed

fixed in r801345

> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message