Permalink
Browse files

[] (0) When changing encoding on the fly after a POST, don't hit the …

…network again whatever happens. (bug 6258)

git-svn-id: http://svn.whatwg.org/webapps@2616 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 5d171dc commit e44e65fb0837e30d5dfa3e45e0146d0ce9adea0f @Hixie Hixie committed Dec 29, 2008
Showing with 15 additions and 2 deletions.
  1. +7 −1 index
  2. +8 −1 source
View
8 index
@@ -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>
View
9 source
@@ -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>

0 comments on commit e44e65f

Please sign in to comment.