mirror of
https://github.com/servo/servo.git
synced 2025-10-13 15:00:28 +01:00
JSON response support and some default headers
This commit is contained in:
parent
10b1e655b0
commit
cfa20e9fba
3 changed files with 82 additions and 22 deletions
|
@ -59,6 +59,7 @@ interface XMLHttpRequest : XMLHttpRequestEventTarget {
|
|||
// ByteString? getResponseHeader(ByteString name);
|
||||
ByteString getAllResponseHeaders();
|
||||
// void overrideMimeType(DOMString mime);
|
||||
[SetterThrows]
|
||||
attribute XMLHttpRequestResponseType responseType;
|
||||
readonly attribute any response;
|
||||
[Throws]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue