Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24321996D for ; Tue, 21 Feb 2012 21:41:12 +0000 (UTC) Received: (qmail 56189 invoked by uid 500); 21 Feb 2012 21:41:11 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 56145 invoked by uid 500); 21 Feb 2012 21:41:11 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 56137 invoked by uid 99); 21 Feb 2012 21:41:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 21:41:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 21:41:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 870921C2272 for ; Tue, 21 Feb 2012 21:40:50 +0000 (UTC) Date: Tue, 21 Feb 2012 21:40:50 +0000 (UTC) From: "Sam Bisbee (Closed) (JIRA)" To: dev@couchdb.apache.org Message-ID: <196452609.1099.1329860450554.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (COUCHDB-10) Creating a view with an unknown content type should return 415 Unsupported Media Type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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