Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 42828 invoked from network); 22 Apr 2009 15:01:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 15:01:45 -0000 Received: (qmail 1915 invoked by uid 500); 22 Apr 2009 15:01:45 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 1841 invoked by uid 500); 22 Apr 2009 15:01:45 -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 1781 invoked by uid 99); 22 Apr 2009 15:01:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 15:01:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of b.candler@pobox.com designates 207.106.133.19 as permitted sender) Received: from [207.106.133.19] (HELO sasl.smtp.pobox.com) (207.106.133.19) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 15:01:35 +0000 Received: from localhost.localdomain (unknown [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id B9690AC10D for ; Wed, 22 Apr 2009 11:01:10 -0400 (EDT) Received: from mappit (unknown [80.45.95.114]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 52DD7AC10B for ; Wed, 22 Apr 2009 11:01:10 -0400 (EDT) Received: from brian by mappit with local (Exim 4.69) (envelope-from ) id 1Lwdwi-0003jQ-IV for dev@couchdb.apache.org; Wed, 22 Apr 2009 16:01:08 +0100 Date: Wed, 22 Apr 2009 16:01:08 +0100 From: Brian Candler To: dev@couchdb.apache.org Subject: POST uploads broken? Message-ID: <20090422150108.GA14097@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Pobox-Relay-ID: 6A604B64-2F4E-11DE-92D7-C121C5FC92D5-28021239!a-sasl-fastnet.pobox.com X-Virus-Checked: Checked by ClamAV on apache.org It used to be that a POST to db/_compact would compact the database, but now this is rejected: $ curl http://127.0.0.1:5984 {"couchdb":"Welcome","version":"0.9.0a767289"} $ curl -X POST http://127.0.0.1:5984/couchtiny-test/_compact {"error":"bad_content_type","reason":"Invalid Content-Type header for form upload"} curl -v shows "415 Unsupported Media Type" This is also detected in the test suite, and there are some other tests failing in a similar way. --- attachments --- # Exception raised: {"error":"bad_content_type","reason":"Invalid Content-Type header for form upload"} --- view_include_docs --- # Assertion failed: xhr.status == 202 # Assertion failed: !resp.rows[0].doc # Assertion failed: resp.rows[0].error == "missing" --- compact --- # Exception raised: {"error":"bad_content_type","reason":"Invalid Content-Type header for form upload"} --- rev_stemming --- # Exception raised: {"error":"bad_content_type","reason":"Invalid Content-Type header for form upload"} Regards, Brian.