Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 48714 invoked from network); 6 Jun 2008 11:47:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2008 11:47:09 -0000 Received: (qmail 889 invoked by uid 500); 6 Jun 2008 11:47:12 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 722 invoked by uid 500); 6 Jun 2008 11:47:11 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 709 invoked by uid 99); 6 Jun 2008 11:47:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 04:47:11 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 11:46:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1751D234C132 for ; Fri, 6 Jun 2008 04:46:48 -0700 (PDT) Message-ID: <1152945710.1212752808080.JavaMail.jira@brutus> Date: Fri, 6 Jun 2008 04:46:48 -0700 (PDT) From: "Christopher Lenz (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Updated: (COUCHDB-13) ETags in response headers do not follow the spec In-Reply-To: <546029746.1205020426209.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Lenz updated COUCHDB-13: ------------------------------------ Fix Version/s: 0.8 Affects Version/s: 0.7.2 > ETags in response headers do not follow the spec > ------------------------------------------------ > > Key: COUCHDB-13 > URL: https://issues.apache.org/jira/browse/COUCHDB-13 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 0.7.2 > Reporter: Noah Slater > Priority: Minor > Fix For: 0.8 > > Attachments: couchdb.patch > > > What steps will reproduce the problem? > 1. Request a document > 2. See for yourself :) > What is the expected output? What do you see instead? > Expected is > a) that the header name is "ETag", not "Etag" > b) that the value is a quoted string > Incorrect actual value example: > Etag: 2184611109 > Correct expected value example: > ETag: 2184611109 > What version of the product are you using? On what operating system? > trunk r591, Mac OS X 10.5.0 > Please provide any additional information below. > http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.11 > -- > Comment 1 by dzuelke, Nov 16, 2007 > Bah, of course the expected value is > ETag: "2184611109" > with quotes. > -- > Comment 2 by nslater, Nov 17, 2007 > Note: The case of a HTTP header is not important. > It can be "etag", "Etag", "ETag", "eTag", "etAg" or any other combination. > The only thing that needs to change here are the quotes. > -- > Comment 3 by dzuelke, Nov 17, 2007 > Granted, header field names are case insensitive, but I guess it cannot hurt to stick to the spec, which uses > "ETag" :) > -- > Comment 4 by aristid....@gmx.de, Jan 26, 2008 > A fix relative to rev 640 is attached. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.