summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common
diff options
context:
space:
mode:
authorRobbie Lodico <pandacoder@pm.me>2024-10-22 15:38:56 -0400
committerRobbie Lodico <pandacoder@pm.me>2024-10-23 08:10:35 -0400
commitc7f421ef5f836ef132e97ad6aaaa2ab2458f2ea5 (patch)
tree1c430d2c3b2a4794c1002513a21a826568e260ef /thirdparty/icu4c/common
parent77dcf97d82cbfe4e4615475fa52ca03da645dbd8 (diff)
downloadredot-engine-c7f421ef5f836ef132e97ad6aaaa2ab2458f2ea5.tar.gz
Fix GodotFetch glue code for null response bodies
The spec says that Response.body can be null (in the event of requests that should have no body, like HEAD requests) and Firefox adheres to it which results in request failure for HEAD requests on Firefox for web exports. This commit addresses that by treating a null body as an "empty" body (without using a polyfill) and avoids changing the request lifecycle as much as possible. PR review changes: - Use == instead of strict === - Do not use ?? null - Comment formatting
Diffstat (limited to 'thirdparty/icu4c/common')
0 files changed, 0 insertions, 0 deletions