fix(http1): fix preserving header case without enabling ffi (#2820)

The previous commit broke this, but it wasn't released, so released versions will never notice the breakage.
This commit is contained in:
Anthony Ramine
2022-04-26 17:24:57 +02:00
committed by GitHub
parent 89598dfcfe
commit 6a35c175f2

View File

@@ -967,7 +967,6 @@ impl Builder {
if opts.h1_title_case_headers {
conn.set_title_case_headers();
}
#[cfg(feature = "ffi")]
if opts.h1_preserve_header_case {
conn.set_preserve_header_case();
}