Luke Wilde
198cec481a
LibWeb: Allow null for optional, nullable, no default value union types
...
For these types, it would previously only accept `undefined` for the
`null` state.
Fixes GET requests in the Turbo library always failing:
9e057f284a/src/http/fetch_request.js (L219-L220)
9e057f284a/src/http/fetch_request.js (L51-L64)
This was found on https://www.fangamer.com/ .
2025-02-22 18:45:27 +01:00
Feng Yu
824e91ffdb
LibWeb: Ensure Headers API can handle non-ascii characters
...
This patch ensure Headers object's associated header list
is ISO-8859-1 encoded when set using `Infra::isomorphic_encode`,
and correctly decoded using `Infra::isomorphic_decode`.
Follow-up of https://github.com/LadybirdBrowser/ladybird/pull/1893
2024-12-11 16:40:36 -07:00
Kenneth Myhra
968c38e54f
LibWeb: Implement FetchController::abort()
2024-11-24 11:11:44 +01:00
Kenneth Myhra
92f6336fe8
Tests/LibWeb: Move existing Fetch tests in under the Fetch folder
2024-07-23 09:02:21 +02:00
Kenneth Myhra
b8fa572c67
LibWeb: Implement formData() method steps for x-www-form-urlencoded
...
The Response interface of the Fetch API can now parse form urlencoded
bodies when Content-Type is set to 'application/x-www-form-urlencoded'.
2024-07-23 09:02:21 +02:00