FsHttp icon indicating copy to clipboard operation
FsHttp copied to clipboard

Add multiple cookies

Open jkone27 opened this issue 3 years ago • 3 comments

add ability to add multiple cookies in a single step, from a list of cookie strings

jkone27 avatar Jan 26 '22 09:01 jkone27

Related to #2

SchlenkR avatar Jan 29 '22 12:01 SchlenkR

yes i agree, maybe is not needed but indeed was linked to trying to read Accept-Cookies from response headers and place them all in the new request in 1 go

jkone27 avatar Jan 31 '22 10:01 jkone27

... trying to read Accept-Cookies from response headers ...

The response header I know is Set-Cookie - is it that what is meant here?

If so, it would propable be useful to change the signature to accepting either

  • a System.Net.Cookie seq, and / or
  • a System.Net.Http.HttpResponseMEssage, and / or
  • a FsHttp.Domain.Response

Do you have a working example (maybe with an available online test service)?

SchlenkR avatar Feb 01 '22 07:02 SchlenkR