Alexander van Ratingen
adb387a370
Implement IntoResponse for boxed slices ( #2035 )
2023-06-26 11:14:28 +00:00
David Pedersen
173f9f72b0
Remove IntoResponse for http-body types ( #1877 )
2023-04-21 17:45:31 +02:00
6703f8634c
Remove B type param: Follow ups ( #1789 )
...
Co-authored-by: Jonas Platte <[email protected] >
Co-authored-by: Michael Scofield <[email protected] >
2023-04-21 17:45:31 +02:00
4e4c29175f
Remove B type param ( #1751 )
...
Co-authored-by: Jonas Platte <[email protected] >
Co-authored-by: Michael Scofield <[email protected] >
2023-04-21 17:45:31 +02:00
valkyrie_pilot and David Pedersen
e4c6d76bca
Implement IntoResponse for [u8; N] and &'static [u8; N] ( #1690 )
...
Co-authored-by: David Pedersen <[email protected] >
2023-01-13 09:12:51 +00:00
David Pedersen
bf341fd034
Refactor all_the_tuples! macros ( #1413 )
2022-09-25 15:22:40 +02:00
Jonas Platte
1812c4dfe8
Remove explicit TryFrom, TryInto imports ( #1099 )
2022-06-17 18:36:49 +00:00
David Pedersen
8dd6070574
Implement IntoResponse for (Parts | Request<()>, $(impl IntoResponseParts)+, impl IntoResponse) ( #980 )
...
* Implement `IntoResponse for (Parts | Request<()>, $(impl IntoResponseParts)+, impl IntoResponse)`
Fixes #979
* changelog
* docs
* changelog ref
2022-04-29 22:08:47 +02:00
Marcus Griep and David Pedersen
6e1835074c
Implement IntoResponse for Response<()> and response::Parts ( #950 )
...
* feat(axum-core): add IntoResponse for `http::response` types
* chore: narrow impl to `Response<()>`
* include extensions
* changelog
Co-authored-by: David Pedersen <[email protected] >
2022-04-29 17:52:21 +02:00
David Pedersen
5bb924b3a2
Implement IntoResponse and IntoResponseParts for http::Extensions ( #975 )
...
* Implement `IntoResponse` and `IntoResponseParts` for `http::Extensions`
Requires a new release of `http`.
* remove http patch
* changelog ref
2022-04-29 17:28:24 +02:00
David Pedersen
afcefb4a70
Add AppendHeaders ( #927 )
...
* Add `AppendHeaders`
* axum changelog
2022-04-17 23:14:04 +02:00
David Pedersen
5f54855b05
Remove IntoResponse and IntoResponseParts impls for Version ( #815 )
2022-03-02 13:07:16 +00:00
David Pedersen
84c725a1ae
Make IntoResponseParts more flexible ( #813 )
...
* Make `IntoResponseParts` more flexible
* fix `impl<T> IntoResponseParts for TypedHeader<T>`
* fix
2022-03-02 11:41:14 +00:00
David Pedersen and Jonas Platte
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 <[email protected] >
* changelog
Co-authored-by: Jonas Platte <[email protected] >
2022-02-28 23:04:33 +00:00