Browse Source

Allow header on success

main
Leonora Tindall 3 months ago
parent
commit
8f8e06e661
  1. 1
      src/main.rs

1
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();

Loading…
Cancel
Save