Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 94439 invoked from network); 15 Sep 2008 09:52:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 09:52:48 -0000 Received: (qmail 71772 invoked by uid 500); 15 Sep 2008 09:52:44 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 71752 invoked by uid 500); 15 Sep 2008 09:52:44 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 71740 invoked by uid 99); 15 Sep 2008 09:52:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 02:52:44 -0700 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,URIBL_RHS_DOB,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of roberto.rabe@gmail.com designates 209.85.217.19 as permitted sender) Received: from [209.85.217.19] (HELO mail-gx0-f19.google.com) (209.85.217.19) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 09:51:46 +0000 Received: by gxk12 with SMTP id 12so16280803gxk.12 for ; Mon, 15 Sep 2008 02:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=A7ltMkYuKcvSVm6sN9IWgzAj1kN+X1mzCrjxOhumcAw=; b=Tg+dHxF1RpUy0sGKgjEecczf35PqUYfEpvFh52XneEIJDMfYzkji7GbBcA4pJ4E8Am vU0u2X7Jv6Y3aA7XYYu6BJTEecdDVEkwLXHGpYSrnBiVy8eJcXeoAUmIUU0ZITJoiSeZ 4Py8XXxDcL0TkCbQDVULP0WHNnZqTS+6KWTZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=MjJcugqjuNIc4BWflFT3iCNHQFaDkyOCkuJQwVbe5R3v/S9bJKSYnZPCertfFkS3Zl JEIivayr115XrSbAcsRiPJXHohMte1V7dT26giFwN6GGR5FTPJS3Yvt25gr2eQTQJptY /P02YbVy0Bd05eoObhxyim2b9YndO+/d0BcKc= Received: by 10.142.207.8 with SMTP id e8mr2610198wfg.110.1221472277436; Mon, 15 Sep 2008 02:51:17 -0700 (PDT) Received: by 10.142.43.8 with HTTP; Mon, 15 Sep 2008 02:51:17 -0700 (PDT) Message-ID: <958387040809150251l29596019t578043da65f299e9@mail.gmail.com> Date: Mon, 15 Sep 2008 09:51:17 +0000 From: "Roberto R" To: couchdb-user@incubator.apache.org Subject: Standalone Attachment PUT MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_69474_24941546.1221472277447" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_69474_24941546.1221472277447 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, This might be another newbie issue... I'm getting an HTTP 405 Method Not Allowed response when trying to do a PUT to create an attachment for an existing document. Based on the Document API wiki page, I'm using the following PUT URL: http://localhost:5984/test/481335d676ac481e35724970d71af781/THANKS.gz?rev=1025549386 The CouchDB log shows: [Mon, 15 Sep 2008 09:46:21 GMT] [debug] [<0.6078.0>] PUT /test/481335d676ac481e35724970d71af781/THANKS.gz {1,1} Headers: [{'Accept',"application/xml"}, {'Accept-Encoding',"gzip, deflate"}, {'Content-Length',"483"}, {'Content-Type',"application/x-gzip"}, {'Host',"localhost:5984"}] [Mon, 15 Sep 2008 09:46:21 GMT] [info] [<0.6078.0>] 127.0.0.1 - - "PUT /test/481335d676ac481e35724970d71af781/THANKS.gz" 405 I've confirmed the _id and _rev are correct. Thanks! Roberto ------=_Part_69474_24941546.1221472277447--