Skip to content

Commit

Permalink
[] (0) When changing encoding on the fly after a POST, don't hit the …
Browse files Browse the repository at this point in the history
…network again whatever happens. (bug 6258)

git-svn-id: http://svn.whatwg.org/webapps@2616 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 29, 2008
1 parent 5d171dc commit e44e65f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion index
Expand Up @@ -46833,7 +46833,13 @@ interface <dfn id=messagechannel>MessageChannel</dfn> {
<i>confident</i>. Whenever possible, this should be done without
actually contacting the network layer (the bytes should be
re-parsed from memory), even if, e.g., the document is marked as
not being cacheable.</li>
not being cacheable. If this is not possible and contacting the
network layer would involve repeating a request that uses a method
other than HTTP GET (<a href=#concept-http-equivalent-get title=concept-http-equivalent-get>or
equivalent</a> for non-HTTP URLs), then instead set the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> to
<i>confident</i> and ignore the new encoding. The resource will be
misinterpreted. User agents may notify the user of the situation,
to aid in application development.</li>

</ol><h4 id=parse-state><span class=secno>8.2.3 </span>Parse state</h4>

Expand Down
9 changes: 8 additions & 1 deletion source
Expand Up @@ -53418,7 +53418,14 @@ interface <dfn>MessageChannel</dfn> {
<i>confident</i>. Whenever possible, this should be done without
actually contacting the network layer (the bytes should be
re-parsed from memory), even if, e.g., the document is marked as
not being cacheable.</li>
not being cacheable. If this is not possible and contacting the
network layer would involve repeating a request that uses a method
other than HTTP GET (<span title="concept-http-equivalent-get">or
equivalent</span> for non-HTTP URLs), then instead set the <span
title="concept-encoding-confidence">confidence</span> to
<i>confident</i> and ignore the new encoding. The resource will be
misinterpreted. User agents may notify the user of the situation,
to aid in application development.</li>

</ol>

Expand Down

0 comments on commit e44e65f

Please sign in to comment.