couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: svn commit: r758723 - in /couchdb/trunk: share/www/script/test/basics.js src/couchdb/couch_httpd_db.erl
Date Thu, 26 Mar 2009 17:58:42 GMT

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
--


Mime
View raw message