From dev-return-13283-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Nov 16 18:32:08 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 49364 invoked from network); 16 Nov 2010 18:32:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Nov 2010 18:32:08 -0000 Received: (qmail 54854 invoked by uid 500); 16 Nov 2010 18:32:39 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 54820 invoked by uid 500); 16 Nov 2010 18:32:39 -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 54812 invoked by uid 99); 16 Nov 2010 18:32:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 18:32:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Nov 2010 18:32:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAGIWFFO011288 for ; Tue, 16 Nov 2010 18:32:15 GMT Message-ID: <33394253.121281289932335553.JavaMail.jira@thor> Date: Tue, 16 Nov 2010 13:32:15 -0500 (EST) From: "Benoit Chesneau (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-947) /_restart API requires "Content-Type: application/json" In-Reply-To: <17200826.41921289535913862.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932586#action_12932586 ] Benoit Chesneau commented on COUCHDB-947: ----------------------------------------- I tested if this condition could be overriden using enctype attribute in a form, but it couldn't at least in ff or chrome (dunno for ie) so it make sense to keep it. I think it has been applied to others already. > /_restart API requires "Content-Type: application/json" > ------------------------------------------------------- > > Key: COUCHDB-947 > URL: https://issues.apache.org/jira/browse/COUCHDB-947 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 1.1, 1.2 > Environment: Mac OS X 10.6.5 > Reporter: Filippo Fadda > Fix For: 1.0.1, 1.1, 1.2 > > > The "/_restart" API requires "Content-Type: application/json" header. This is not coherent because the API doesn't need parameters to be passed using JSON. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.