Forum Discussion
hooleylist
Apr 02, 2012Cirrostratus
Actually, HTTP::header values returns the headers in a list. So you might need to join them with a semi-colon... here's another untested stab 🙂
when HTTP_RESPONSE {
set set_cookies [string map [list path "HttpOnly; path"] [HTTP::header values Set-Cookie]]
HTTP::header remove Set-Cookies
HTTP::header insert Set-Cookies [join $set_cookies ";"]
}
Aaron