Sent more than one cookie

Hi. I have a problem with the cookie logging. I am using:
sent_http_set_cookie to log the sent cookies.
When I run:
curl -i http://MY_SERVER
HTTP/1.1 302 Moved Temporarily
Server: nginx/0.7.65
Date: Tue, 10 Aug 2010 15:52:54 GMT
Connection: keep-alive
Set-Cookie: first_cookie=“FIRST COOKIE” …
Set-Cookie: second_cookie=“SECOND COOKIE” …
Content-Length: 0

But in the log it only appears: “first_cookie=FIRST_COOKIE …” and
it nevers appears the second cookie. Any help?

Thanks in advance,
TZ

Hello!

On Tue, Aug 10, 2010 at 01:28:22PM -0300, Tomas Zulberti wrote:

Content-Length: 0

But in the log it only appears: “first_cookie=FIRST_COOKIE …” and
it nevers appears the second cookie. Any help?

No. Only first header is available via $sent_http_* variable (the
same applies to $http_* and $upstream_http_*).

Maxim D.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs