incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Catherine Jones <cathj...@gmail.com>
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'].

Catherine


Mime
View raw message