Files
axum/src
David Pedersen f32d325e55 Make extractors easier to write (#36)
Previously extractors worked directly on `Request<B>` which meant you
had to do weird tricks like `mem::take(req.headers_mut())` to get owned
parts of the request.

This changes that instead to use a new `RequestParts` type that have
methods to "take" each part of the request. Without having to do weird
tricks.

Also removed the need to have `B: Default` for body extractors.
2021-07-22 13:23:50 +02:00
..
2021-07-09 21:36:14 +02:00
2021-07-22 13:23:50 +02:00
2021-07-09 21:36:14 +02:00
2021-07-22 11:14:55 +02:00
2021-07-22 13:23:50 +02:00
2021-06-15 23:18:49 +02:00