[
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