fsprojects / FsHttp

A lightweight F# HTTP library by @SchlenkR and @dawedawe
https://fsprojects.github.io/FsHttp/
Apache License 2.0
424 stars 42 forks source link

Add multiple cookies #95

Open jkone27 opened 2 years ago

jkone27 commented 2 years ago

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

SchlenkR commented 2 years ago

Related to #2

jkone27 commented 2 years ago

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

SchlenkR commented 2 years ago

... 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

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