diff --git a/Overview.html b/Overview.html index 86460fb1c..3fb7f1a38 100644 --- a/Overview.html +++ b/Overview.html @@ -1599,20 +1599,6 @@
If main fetch is invoked recursively, return response. -
Set response's - url list to a copy of - request's url list. - -
If - should response to request be blocked as mixed content, - should response to request be blocked as content security, - or - should response to request be blocked due to nosniff - returns blocked, set response to a - network error. - [MIX] - [CSP] -
If response is not a network error and @@ -1634,25 +1620,39 @@
Let internalResponse be response's + internal response. + +
Set internalResponse's + url list to a copy of + request's url list. + +
If + should internalResponse to request be blocked as mixed content, + should internalResponse to request be blocked as content security, + or + should internalResponse to request be blocked due to nosniff + returns blocked, set response to a + network error. + [MIX] + [CSP] +
If request's method
is `HEAD
` or `CONNECT
`, or
- response's
- internal response's
+ internalResponse's
status is 101
,
204
, 205
, or 304
, set
- response's
- internal response's
- body to null and disregard any pushing toward
- it (if any).
+ internalResponse's body to
+ null and disregard any pushing toward it (if any).
This standardizes the error handling for servers that violate HTTP.
If request's synchronous flag is set, wait for either end-of-file to have been pushed to - response's body or for - response to have a + internalResponse's body or for + internalResponse to have a termination reason, and then return response. @@ -1670,7 +1670,7 @@
If response's +
If internalResponse's body is null, run these substeps:
Otherwise, if response's +
Otherwise, if internalResponse's body is non-null, run these substeps:
Whenever response's +
Whenever internalResponse's body's is pushed to, for and as long as - response has no + internalResponse has no termination reason and end-of-file has not been pushed, queue a fetch task on request to process response body for response.
Once end-of-file has been pushed to response's - body or response has a - termination reason, +
Once end-of-file has been pushed to internalResponse's + body or internalResponse has + a termination reason, queue a fetch-done task using request and response. @@ -1973,9 +1973,15 @@
Then, switch on response's - status: +
Switch on status:
304
@@ -2163,8 +2169,9 @@ Return response. Typically - response's body is still being - pushed to after returning. + response's body (or that of the + internal response) is still being pushed to + after returning. diff --git a/Overview.src.html b/Overview.src.html index 8c650c5bf..e11bc5bed 100644 --- a/Overview.src.html +++ b/Overview.src.html @@ -1546,20 +1546,6 @@
If main fetch is invoked recursively, return response. -
Set response's - url list to a copy of - request's url list. - -
If - should response to request be blocked as mixed content, - should response to request be blocked as content security, - or - should response to request be blocked due to nosniff - returns blocked, set response to a - network error. - MIX - CSP -
If response is not a network error and @@ -1581,25 +1567,39 @@
Let internalResponse be response's + internal response. + +
Set internalResponse's + url list to a copy of + request's url list. + +
If + should internalResponse to request be blocked as mixed content, + should internalResponse to request be blocked as content security, + or + should internalResponse to request be blocked due to nosniff + returns blocked, set response to a + network error. + MIX + CSP +
If request's method
is `HEAD
` or `CONNECT
`, or
- response's
- internal response's
+ internalResponse's
status is 101
,
204
, 205
, or 304
, set
- response's
- internal response's
- body to null and disregard any pushing toward
- it (if any).
+ internalResponse's body to
+ null and disregard any pushing toward it (if any).
This standardizes the error handling for servers that violate HTTP.
If request's synchronous flag is set, wait for either end-of-file to have been pushed to - response's body or for - response to have a + internalResponse's body or for + internalResponse to have a termination reason, and then return response. @@ -1617,7 +1617,7 @@
If response's +
If internalResponse's body is null, run these substeps:
Otherwise, if response's +
Otherwise, if internalResponse's body is non-null, run these substeps:
Whenever response's +
Whenever internalResponse's body's is pushed to, for and as long as - response has no + internalResponse has no termination reason and end-of-file has not been pushed, queue a fetch task on request to process response body for response.
Once end-of-file has been pushed to response's - body or response has a - termination reason, +
Once end-of-file has been pushed to internalResponse's + body or internalResponse has + a termination reason, queue a fetch-done task using request and response. @@ -1920,9 +1920,15 @@
Then, switch on response's - status: +
Switch on status:
304
@@ -2110,8 +2116,9 @@ Return response. Typically - response's body is still being - pushed to after returning. + response's body (or that of the + internal response) is still being pushed to + after returning.