couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject GET /_session doesn't set a cookie?
Date Tue, 08 Jan 2013 01:18:16 GMT
According to the wiki docs[1], GET /_session with a valid Authorization: header will create
a session. However, when I try this it doesn’t set any cookie:

$ http --auth snej GET :5984/_session
http: password for snej@:5984: 
HTTP/1.1 200 OK
Cache-Control: must-revalidate
Content-Length: 176
Content-Type: text/plain; charset=utf-8
Date: Tue, 08 Jan 2013 01:10:46 GMT
Server: CouchDB/1.2.0 (Erlang OTP/R15B01)


If this doesn’t set a cookie, it’s kind of useless. Is it necessary to use POST to get
a login session?


View raw message