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/21 22:40:50 UTC

[jira] [Closed] (COUCHDB-10) Creating a view with an unknown content type should return 415 Unsupported Media Type

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

Sam Bisbee closed COUCHDB-10.
-----------------------------


As noted, the view server type is specified in the design document's JSON. "application/json" should be the Content-Type.

Old resolved ticket, so closing.
                
> Creating a view with an unknown content type should return 415 Unsupported Media Type
> -------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-10
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-10
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Noah Slater
>
> What steps will reproduce the problem?
> 1. Create a view using an unsupported content type
> 2. Server returns a 500 response
> What is the expected output? What do you see instead?
> Server to return a 415 Unsupported Media Type response

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