Open thomaseizinger opened 3 years ago
This crate works great to build basic-auth protected routes!
It would be nice if we could also expose a utility function to make it easy to create a basic auth header that can be used with rocket's local client!
See https://rocket.rs/v0.5-rc/guide/testing/.
I'll try to tackle this one tomorrow :)
If I may make a suggestion: I think an extension trait for the client would nice!
This crate works great to build basic-auth protected routes!
It would be nice if we could also expose a utility function to make it easy to create a basic auth header that can be used with rocket's local client!
See https://rocket.rs/v0.5-rc/guide/testing/.