http-rs / surf

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

Rework middleware error handling #189

Open Fishrock123 opened 4 years ago

Fishrock123 commented 4 years ago

A counterpart to https://github.com/http-rs/tide/pull/570 should be made to make use of https://github.com/http-rs/http-types/pull/174.

I tried to look into this but the middleware signatures with Next<C> are even more confusing than Tide's and I'm not really making any progress.