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 E50BECA0B for ; Wed, 26 Jun 2013 11:33:25 +0000 (UTC) Received: (qmail 58146 invoked by uid 500); 26 Jun 2013 11:33:25 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 57899 invoked by uid 500); 26 Jun 2013 11:33:22 -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 57867 invoked by uid 99); 26 Jun 2013 11:33:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 11:33:20 +0000 Date: Wed, 26 Jun 2013 11:33:20 +0000 (UTC) From: "Alexander Shorin (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (COUCHDB-828) When Issuing a Get Request with Content-Type: application/x-www-form-urlencoded an error is thrown 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-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Shorin closed COUCHDB-828. ------------------------------------ Resolution: Cannot Reproduce Failed to reproduce on 1.2.2, 1.3.0 and master head. CouchDB returns response without any problems regarding the sent Content-Type. Feel free to reopen with more info (probably, list function code and error logs might help). > When Issuing a Get Request with Content-Type: application/x-www-form-urlencoded an error is thrown > -------------------------------------------------------------------------------------------------- > > Key: COUCHDB-828 > URL: https://issues.apache.org/jira/browse/COUCHDB-828 > Project: CouchDB > Issue Type: Bug > Affects Versions: 1.0 > Reporter: Talib > > When doing an AJAX GET Request, the content type is set to application/x-www-form-urlencoded, the request fails. > Removing the "Content-Type: application/x-www-form-urlencoded" header makes the request success. > Here is what the headers look like for a failed request. > Connection: keep-alive > User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4 > X-Requested-With: XMLHttpRequest > Content-Type: application/x-www-form-urlencoded > Accept: application/json, text/javascript, */* -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira