Skip to content

Commit

Permalink
process request end-of-file should happen after all the redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed May 20, 2014
1 parent 31c9005 commit c8fef16
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,13 @@ <h2 id="fetching"><span class="secno">4 </span>Fetching</h2>
<p>Otherwise, run these substeps:

<ol>
<li><p>If <var title="">request</var>'s <a href="#concept-request-body" title="concept-request-body">body</a> is
non-null and <var title="">url</var>'s <span title="concept-url-scheme">scheme</span> is one
of "<code title="">http</code>" and "<code title="">https</code>",
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task" title="queue a task">queue</a> a
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#concept-task" title="concept-task">task</a> to
<dfn id="process-request-end-of-file">process request end-of-file</dfn> for <var title="">request</var>.

<li><p><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task" title="queue a task">Queue</a> a
<a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#concept-task" title="concept-task">task</a> to
<dfn id="process-response">process response</dfn> for <var title="">response</var>.
Expand Down Expand Up @@ -1069,12 +1076,6 @@ <h3 id="http-fetch"><span class="secno">4.2 </span>HTTP fetch</h3>
transmitted, whichever is <em>least</em> request, to <dfn id="process-request-body">process request body</dfn>
for <var title="">request</var>.

<p>If <var title="">request</var>'s <a href="#concept-request-body" title="concept-request-body">body</a> is
non-null and fully transmitted (and the HTTP request has not been observably
terminated yet), <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#queue-a-task" title="queue a task">queue</a>
a <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#concept-task" title="concept-task">task</a> to
<dfn id="process-request-end-of-file">process request end-of-file</dfn> for <var title="">request</var>.

<p>Use the <a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#networking-task-source">networking task source</a>.

<p>If the HTTP request is terminated before all headers from the resource are obtained,
Expand Down
13 changes: 7 additions & 6 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,13 @@ <h2>Fetching</h2>
<p>Otherwise, run these substeps:

<ol>
<li><p>If <var title>request</var>'s <span title=concept-request-body>body</span> is
non-null and <var title>url</var>'s <span title=concept-url-scheme>scheme</span> is one
of "<code title>http</code>" and "<code title>https</code>",
<span data-anolis-spec=html title="queue a task">queue</span> a
<span data-anolis-spec=html title=concept-task>task</span> to
<dfn>process request end-of-file</dfn> for <var title>request</var>.

<li><p><span data-anolis-spec=html title="queue a task">Queue</span> a
<span data-anolis-spec=html title=concept-task>task</span> to
<dfn>process response</dfn> for <var title>response</var>.
Expand Down Expand Up @@ -1037,12 +1044,6 @@ <h3>HTTP fetch</h3>
transmitted, whichever is <em>least</em> request, to <dfn>process request body</dfn>
for <var title>request</var>.

<p>If <var title>request</var>'s <span title=concept-request-body>body</span> is
non-null and fully transmitted (and the HTTP request has not been observably
terminated yet), <span data-anolis-spec=html title="queue a task">queue</span>
a <span data-anolis-spec=html title=concept-task>task</span> to
<dfn>process request end-of-file</dfn> for <var title>request</var>.

<p>Use the <span data-anolis-spec=html>networking task source</span>.

<p>If the HTTP request is terminated before all headers from the resource are obtained,
Expand Down

1 comment on commit c8fef16

@annevk
Copy link
Member Author

@annevk annevk commented on c8fef16 May 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.