Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3134

Incorrect format for list ETag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • HTTP Interface
    • None

    Description

      Found while testing 2.0.0-RC4: the ETag header returned when consulting a list uses an invalid format (double quotes are missing).

      GET /canape-test-db-92b75195-e61a-47af-afb3-ae8acf1722e3/_design/common/_list/list/persons HTTP/1.1
      Host: localhost:5984
      User-Agent: canape for Scala
      Accept: application/json
      
      HTTP/1.1 200 OK
      Content-Type: application/json
      Date: Tue, 06 Sep 2016 14:41:33 GMT
      Etag: 8b18fd8eecdcec461784b969d108fb2f
      Server: CouchDB/1df597f (Erlang OTP/17)
      Transfer-Encoding: chunked
      Vary: Accept
      
      2
      40
      0
      

      (also, but this is minor, I think that "ETag" is the preferred casing for this header)

      Attachments

        Activity

          People

            Unassigned Unassigned
            sam@rfc1149.net Samuel Tardieu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: