mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fix warnings.
This commit is contained in:
parent
e87bbb093a
commit
08ff81b09a
4 changed files with 5 additions and 7 deletions
|
@ -523,7 +523,7 @@ async fn obtain_response(
|
|||
.replace("}", "%7D");
|
||||
|
||||
let request = if let Some(chunk_requester) = body {
|
||||
let (mut sink, stream) = if source_is_null {
|
||||
let (sink, stream) = if source_is_null {
|
||||
// Step 4.2 of https://fetch.spec.whatwg.org/#concept-http-network-fetch
|
||||
// TODO: this should not be set for HTTP/2(currently not supported?).
|
||||
headers.insert(TRANSFER_ENCODING, HeaderValue::from_static("chunked"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue