mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
Let hyper automatically set the host header if needed Google's gws web server did not expect to receive an unneeded Host header via HTTP/2, therefore it responded with 400 Bad Request over a working HTTP/2 connection. https://tools.ietf.org/html/rfc7540#page-55 > Clients that generate HTTP/2 requests directly SHOULD use the ":authority" pseudo-header field instead of the Host header field. It's hyper's job to take care of this for the HTTP/1 case, therefore we can remove old code. When calling [Client::builder()]( |
||
---|---|---|
.. | ||
fetch | ||
tests | ||
Cargo.toml | ||
connector.rs | ||
cookie.rs | ||
cookie_storage.rs | ||
data_loader.rs | ||
decoder.rs | ||
filemanager_thread.rs | ||
hosts.rs | ||
hsts.rs | ||
http_cache.rs | ||
http_loader.rs | ||
image_cache.rs | ||
lib.rs | ||
mime_classifier.rs | ||
resource_thread.rs | ||
storage_thread.rs | ||
subresource_integrity.rs | ||
websocket_loader.rs |