diff --git a/xhr.bs b/xhr.bs index 691a99d..98fe73c 100644 --- a/xhr.bs +++ b/xhr.bs @@ -494,9 +494,11 @@ methods, when invoked, must run these steps: network error.
Set received bytes to the empty byte sequence.
Set response object to null. -
Set override MIME type to null. +
Override MIME type is not overridden here as the
+ overrideMimeType()
method can be invoked before the open()
method.
+
If the state is not opened, run these substeps: @@ -670,10 +672,8 @@ object has an associated {{XMLHttpRequestUpload}} object.
client . send([body = null])
Initiates the request. The optional argument provides the
- request body. The argument is ignored if
- request method is GET
or
- HEAD
.
+
Initiates the request. The body argument provides the request body, if any,
+ and is ignored if the request method is GET
or HEAD
.
Throws an "{{InvalidStateError!!exception}}" {{DOMException}} if either state is not
opened or the send()
flag is set.