You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "gert cuykens (JIRA)" <ji...@apache.org> on 2011/09/01 23:46:09 UTC
[jira] [Created] (COUCHDB-1269) ETag == Etag
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
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
[jira] [Resolved] (COUCHDB-1269) ETag == Etag
Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (COUCHDB-1269) ETag == Etag
Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095631#comment-13095631 ]
Robert Newson commented on COUCHDB-1269:
----------------------------------------
we should be consistent but headers are required to be treated without respect for case.
> 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
> 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