0.35.4
This commit is contained in:
1 parent
c038ad44b3
commit
cd3c28d390
33 files changed
+807
-221
No files matched your search
@@ -132,7 +132,7 @@ pub async fn apply(
|
||||
parts.headers.remove(::http::header::ACCEPT_RANGES);
|
||||
parts.headers.insert(::http::header::ETAG, transformed_etag(&transformed));
|
||||
parts.headers.insert(::http::header::CONTENT_LENGTH,
|
||||
HeaderValue::from_str(&transformed.len().to_string()).expect("integer header"),
|
||||
HeaderValue::from(transformed.len()),
|
||||
);
|
||||
drop_vary_accept_encoding(&mut parts.headers);
|
||||
parts.extensions.insert(validators);
|
||||
|
||||
Reference in new issue
Block a user