Skip to content

Commit

Permalink
Amend
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Mar 6, 2025
1 parent 5968c90 commit 998f3de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/subcommand/server/r.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,12 @@ pub(super) async fn content(

#[derive(Debug)]
pub(crate) struct ContentResponse {
body: Vec<u8>,
cache_control: Option<HeaderValue>,
content_encoding: Option<HeaderValue>,
content_security_policy: HeaderValue,
content_security_policy_additional: Option<HeaderValue>,
content_type: HeaderValue,
pub(crate) body: Vec<u8>,
pub(crate) cache_control: Option<HeaderValue>,
pub(crate) content_encoding: Option<HeaderValue>,
pub(crate) content_security_policy: HeaderValue,
pub(crate) content_security_policy_additional: Option<HeaderValue>,
pub(crate) content_type: HeaderValue,
}

impl IntoResponse for ContentResponse {
Expand Down

0 comments on commit 998f3de

Please sign in to comment.