mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
1120011de4
This adds FormData support to XHR so that it can post multipart/form-data encoded data.
11 lines
398 B
Plaintext
11 lines
398 B
Plaintext
#import <FileAPI/Blob.idl>
|
|
#import <Streams/ReadableStream.idl>
|
|
#import <URL/URLSearchParams.idl>
|
|
#import <XHR/FormData.idl>
|
|
|
|
// https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit
|
|
typedef (Blob or BufferSource or FormData or URLSearchParams or USVString) XMLHttpRequestBodyInit;
|
|
|
|
// https://fetch.spec.whatwg.org/#bodyinit
|
|
typedef (ReadableStream or XMLHttpRequestBodyInit) BodyInit;
|