Allow header on success

This commit is contained in:
Leonora Tindall 2023-07-12 18:08:17 -05:00
parent bfb355f89c
commit 8f8e06e661
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ fn main() -> Result<(), Error> {
let mut client_body = beresp
.clone_without_body()
.with_header(header::ALLOW, "GET, HEAD")
.with_content_type(mime::TEXT_HTML_UTF_8)
.stream_to_client();