couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afshin afzali <a.afzali2...@gmail.com>
Subject HEAD Request to Document
Date Wed, 01 Dec 2010 10:55:57 GMT
Hi Guys,

It seems that the HEAD request to document does not return content !

BEST,
-- afshin

afshin@opxi2Server:~/projects/comlog_db$ curl -vi -X HEAD
http://localhost:5984/comlog_db/3033cff2fd2d11df961de5f24f20a323
* About to connect() to localhost port 5984 (#0)
*   Trying ::1... Connection refused
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 5984 (#0)
> HEAD /comlog_db/3033cff2fd2d11df961de5f24f20a323 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7
OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
> Host: localhost:5984
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Server: CouchDB/1.0.1 (Erlang OTP/R13B)
Server: CouchDB/1.0.1 (Erlang OTP/R13B)
< Etag: "3-d3f4322af728be7b0ec3b4d45c6890f6"
Etag: "3-d3f4322af728be7b0ec3b4d45c6890f6"
< Date: Wed, 01 Dec 2010 10:36:50 GMT
Date: Wed, 01 Dec 2010 10:36:50 GMT
< Content-Type: text/plain;charset=utf-8
Content-Type: text/plain;charset=utf-8
< Content-Length: 741
Content-Length: 741
< Cache-Control: must-revalidate
Cache-Control: must-revalidate

<
* transfer closed with 741 bytes remaining to read
* Closing connection #0
curl: (18) transfer closed with 741 bytes remaining to read
afshin@opxi2Server:~/projects/comlog_db$

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message