Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an Attachment type to axum-extra #2789

Merged
merged 12 commits into from
Jun 19, 2024
Prev Previous commit
Next Next commit
Update axum-extra/src/response/attachment.rs
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
  • Loading branch information
joeydewaal and jplatte authored Jun 19, 2024
commit 469d510f8147735194e6b96fcdcefd8a61e1325b
2 changes: 1 addition & 1 deletion axum-extra/src/response/attachment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use tracing::trace;
///
/// # Note
///
/// When using this type in Axum with hyper, hyper will set the `Content-Length` if it is known.
/// If you use axum with hyper, hyper will set the `Content-Length` if it is known.
///
#[derive(Debug)]
pub struct Attachment<T> {
Expand Down