On 26 Mar 2009, at 18:47, Christopher Lenz wrote:

+ send_json(Req, 201, [{"Location", "/" ++ DbName}], {[{ok, true}]});
   Error ->
       throw(Error)
   end.

The Location header value should be an absolute URI including schema and host. I think there's a function somewhere in couch_httpd.erl to make relative URIs absolute.

Good catch, will fix.

Cheers
Jan
--

Reply via email to