Forum Discussion
hooleylist
Apr 02, 2012Cirrostratus
Nice idea Sashi. You would want to handle the possibility multiple Set-Cookie response headers with something like:
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 $set_cookies
}
Aaron