axum/axum-core/src/extract
David Pedersen f12ab072c5
Add IntoResponseParts (#797)
* Add `IntoResponseParts`

* docs

* Add test

* don't allow overriding body or response

* macroify impls

* re-order things a bit

* Fix tests

* Also allow overriding version

* Move things into separate modules

* docs

* clean up

* fix trybuild test

* remove churn

* simplify buliding response

* fixup test

* fix docs typo

* Use `HeaderValue::from_static`, might be faster

* Bring back `impl IntoResponse` in example

* Remove blanket impl to improve error message

* don't need to set `content-type`

* Apply suggestions from code review

Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>

* changelog

Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-02-28 23:04:33 +00:00
..
mod.rs Remove RequestParts::take_extensions (#699) 2022-01-23 18:01:52 +01:00
rejection.rs Add IntoResponseParts (#797) 2022-02-28 23:04:33 +00:00
request_parts.rs Remove RequestParts::take_extensions (#699) 2022-01-23 18:01:52 +01:00
tuple.rs Introduce Response type alias as a shorthand for Response<BoxBody> (#590) 2021-12-05 19:16:46 +01:00