Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
youennf authored Aug 27, 2024
1 parent 23d5b7d commit 400b1bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xhr/request-content-length.any.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ async_test(test => {
assert_true(happened);
assert_true(client.responseText.includes(`Content-Length: ${data.length}`));
});
client.onerror = test.unreached_func();
client.open("POST", "resources/echo-headers.py");
client.send(data);
}, "Uploads need to set the Content-Length header");
Expand Down

0 comments on commit 400b1bb

Please sign in to comment.