incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Chris Anderson <>
Subject Re: list function "head" and "req" arguments
Date Thu, 02 Sep 2010 04:06:12 GMT

On Sep 1, 2010, at 11:23 AM, Catherine Jones wrote:

> Thanks, Aurelien. I'll try that approach. (I'd got confused before
> working with relative urls by the extra slashes in the
> _design/design_doc and _list/list_name parts of the path.) But I'm still
> curious about those req and head arguments. (Maybe just my ignorance of
> JavaScript - need to learn about how to inspect JS objects....)

there is a log() function you can call from inside the query server which will print the inspection
to the couch.log file. that should give you what you need.


> Catherine
> On Wed, 2010-09-01 at 20:12 +0200, Aurélien Bénel wrote:
>> Hi Catherine,
>>> I'm guessing that the hostname can be extracted somehow from the head or req
arguments of the list function
>> I didn't find the hostname in the arguments either...
>> However, in your case, why don't you use relative URLs?
>> Regards,
>> Aurélien

View raw message