From 7fcb4ea5ba78b9d73f34e9c5077594f353c20858 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren Navigate to the srcdoc resource: navigate an Set body to the result of encoding
body. Let MIME type be " Let mimeType be `iframe
or
frame
given element and a new response whose URL
- list consists of about:srcdoc
, header list consists of `Content-Type
`/`text/html
`, and is « about:srcdoc
», header list is « (`Content-Type
`, `text/html
`) », and body is the value of element's srcdoc
attribute.application/x-www-form-urlencoded
".application/x-www-form-urlencoded
`.multipart/form-data
Let MIME type be the concatenation of the string "multipart/form-data;
", a U+0020 SPACE character, the string "boundary=
", and the multipart/form-data
- boundary string generated by the multipart/form-data
- encoding algorithm.
Let mimeType be the isomorphic
+ encoding of the concatenation of "multipart/form-data; boundary=
" and the multipart/form-data
boundary string generated by the multipart/form-data
encoding algorithm.
text/plain
Set body to the result of encoding body using encoding.
-Let MIME type be "text/plain
".
Let mimeType be `text/plain
`.
Plan to navigate to a new request whose
URL is parsed action, method is method, header list consists of `Content-Type
`/MIME type, and header list is « (`Content-Type
`, mimeType) », and body is body.
Content-Type
`/`text/html;charset=utf-8
`, and whose header list is « (`Content-Type
`,
+ `text/html;charset=utf-8
`) », and whose body is the result of UTF-8
encoding result.
@@ -98664,8 +98665,8 @@ dictionary EventSourceInit {
Set request's client to settings.
User agents may set `Accept
`/`text/event-stream
` in request's
+
User agents may set (`Accept
`, `text/event-stream
`) in request's
header list.
Set request's cache mode to @@ -98844,18 +98845,26 @@ dictionary EventSourceInit {
If the EventSource
object's readyState
attribute is not set to CONNECTING
, return.
Let request be the EventSource
object's request.
-
If the EventSource
object's last event ID string is not the empty
- string, set `Last-Event-ID
`/last event ID string, encoded as UTF-8, in request's header list.
If the EventSource
object's last event ID string is not the empty
+ string, then:
Let lastEventIDValue be the EventSource
object's last event ID string, encoded as UTF-8.
Set (`Last-Event-ID
`, lastEventIDValue) in
+ request's header list.
Fetch request and process the response obtained in this fashion, if any, as described earlier in this section.