http-rs / surf

Fast and friendly HTTP client framework for async Rust
https://docs.rs/surf
Apache License 2.0
1.47k stars 120 forks source link

Middleware: cookie jar #19

Open yoshuawuyts opened 5 years ago

yoshuawuyts commented 5 years ago

We should write a middleware that can persist cookies between runs.

yoshuawuyts commented 5 years ago

I'm thinking the following:

LovingMelody commented 4 years ago

Is this issue still relevant?

jbr commented 4 years ago

If it is, it should probably be possible to reuse https://github.com/http-rs/tide/blob/main/tests/sessions.rs#L165-L217