FsHttp
FsHttp copied to clipboard
Provide convenient way for getting response cookies
let setCookieKey = "Set-Cookie"
let cookies (response: Response) =
response.headers
|> Seq.filter (fun h -> h.Key = setCookieKey)
|> Seq.map (fun h -> h.Value)
|> Seq.toList