diff --git a/src/main.rs b/src/main.rs index 13fe114..af6cd78 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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();