couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Catherine Jones <>
Subject Re: list function "head" and "req" arguments
Date Thu, 02 Sep 2010 15:07:45 GMT
Thanks, Chris - worked perfectly. Including log(req) and log(head)
statements in the list function gave a wealth of information about the
function's "head" and "req" arguments.

In particular, the name of the host being queried can be extracted from
the "req" argument as req['headers']['Host'].


View raw message