incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-1269) ETag == Etag
Date Thu, 01 Sep 2011 22:16:09 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Newson resolved COUCHDB-1269.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

> ETag == Etag
> ------------
>
>                 Key: COUCHDB-1269
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1269
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.1, 1.2
>         Environment: linux
>            Reporter: gert cuykens
>            Priority: Trivial
>              Labels: ETag
>             Fix For: 1.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> ETag is spelled differently on attachment headers?
> #!/bin/bash
> HEAD=`curl -sIX HEAD http://gert.iriscouch.com/www/test`
> echo "$HEAD"
> if [[ $HEAD =~ Etag:\ \"(.*)\" ]]; then
>  echo "${BASH_REMATCH[1]}"
> fi
> HEAD=`curl -sIX HEAD http://gert.iriscouch.com/www/test/user.png`
> echo "$HEAD"
> if [[ $HEAD =~ Etag:\ \"(.*)\" ]]; then
>  echo "${BASH_REMATCH[1]}"
> fi
> HTTP/1.1 200 OK
> Server: CouchDB/1.1.0 (Erlang OTP/R14B03)
> Etag: "2-bd7278b9cc8b0ddaf7c863102f42f246"
> Date: Thu, 01 Sep 2011 19:47:02 GMT
> Content-Type: text/plain;charset=utf-8
> Content-Length: 207
> Cache-Control: must-revalidate
> 2-bd7278b9cc8b0ddaf7c863102f42f246
> HTTP/1.1 200 OK
> Server: CouchDB/1.1.0 (Erlang OTP/R14B03)
> ETag: "2-bd7278b9cc8b0ddaf7c863102f42f246"
> Date: Thu, 01 Sep 2011 19:47:03 GMT
> Content-Type: image/png
> Content-MD5: SS+3YnbRbRQ4uiJKcnFkdA==
> Content-Length: 4003
> Cache-Control: must-revalidate
> Accept-Ranges: bytes

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message