Use HeaderValue::from_bytes instead of HeaderValue::from_str and HeaderValue#to_bytes instead of HeaderValue#to_str to improve compatibility.
HeaderValue::from_bytes
HeaderValue::from_str
HeaderValue#to_bytes
HeaderValue#to_str