http-rs / surf

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

Client: propagate base_url through middleware stack #250

Closed Fishrock123 closed 3 years ago

Fishrock123 commented 3 years ago

This was missed from ad2be972da

Fishrock123 commented 3 years ago

On second look, I don't think a regression test is necessary. Fully re-constructing the struct there should already catch anything missing. It forces us to think about this consciously on implementation.