couchdb-dev mailing list archives

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

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

Jason Davies updated COUCHDB-453:
---------------------------------

    Attachment:     (was: render.js.patch)

> 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