Modifying response body
Joe Van Dyk
joe at pinkpucker.net
Wed May 6 19:57:31 MSD 2009
2 questions:
Is it possible to return an empty response? i.e.
location /empty-response {
add_header("some-header", "foo-bar");
# nothing in response body
}
Is it possible have the response body be only the unique id set by the
userid module? i.e.
userid on;
location /unique-id {
# response body should be "uid=<cookie's uid>"
}
Thanks,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090506/9b485417/attachment.html>
More information about the nginx
mailing list