Changeset 1897 for draft-ietf-httpbis
- Timestamp:
- 15/09/12 10:15:57 (8 years ago)
- Location:
- draft-ietf-httpbis/latest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/extract-warn-code-defs.xslt
r1487 r1897 16 16 <ttcol>Short Description</ttcol> 17 17 <ttcol>Reference</ttcol> 18 <xsl:apply-templates select="//section[iref /@item='Warn Codes']">19 <xsl:sort select="iref[ @item='Warn Codes']/@subitem"/>18 <xsl:apply-templates select="//section[iref[contains(@item,' (warn code)') and @primary='true']]"> 19 <xsl:sort select="iref[contains(@item,' (warn code)') and @primary='true']/@item"/> 20 20 </xsl:apply-templates> 21 21 </texttable> … … 76 76 77 77 <xsl:template match="section"> 78 <xsl:variable name="text" select="iref[@item='Warn Codes']/@subitem"/> 78 <xsl:variable name="t" select="iref[contains(@item,'(warn code)')]/@item"/> 79 <xsl:variable name="text" select="substring-before($t,' (warn code)')"/> 79 80 <xsl:variable name="redirects-to-other-part" xmlns:p2="urn:ietf:id:draft-ietf-httpbis-p2-semantics#" select="rdf:Description/p2:redirects-to"/> 80 81 -
draft-ietf-httpbis/latest/p6-cache.html
r1896 r1897 1528 1528 </p> 1529 1529 <div id="rfc.iref.52"></div> 1530 <div id="rfc.iref.w.2"></div>1531 1530 <h3 id="rfc.section.7.5.1"><a href="#rfc.section.7.5.1">7.5.1</a> <a id="warn.110" href="#warn.110">110 Response is Stale</a></h3> 1532 1531 <p id="rfc.section.7.5.1.p.1">A cache <em class="bcp14">SHOULD</em> include this whenever the returned response is stale. 1533 1532 </p> 1534 <div id="rfc.iref.53"></div> 1535 <div id="rfc.iref.w.3"></div> 1533 <div id="rfc.iref.52"></div> 1536 1534 <h3 id="rfc.section.7.5.2"><a href="#rfc.section.7.5.2">7.5.2</a> <a id="warn.111" href="#warn.111">111 Revalidation Failed</a></h3> 1537 1535 <p id="rfc.section.7.5.2.p.1">A cache <em class="bcp14">SHOULD</em> include this when returning a stale response because an attempt to validate the response failed, due to an inability to reach 1538 1536 the server. 1539 1537 </p> 1540 <div id="rfc.iref.54"></div> 1541 <div id="rfc.iref.w.4"></div> 1538 <div id="rfc.iref.52"></div> 1542 1539 <h3 id="rfc.section.7.5.3"><a href="#rfc.section.7.5.3">7.5.3</a> <a id="warn.112" href="#warn.112">112 Disconnected Operation</a></h3> 1543 1540 <p id="rfc.section.7.5.3.p.1">A cache <em class="bcp14">SHOULD</em> include this if it is intentionally disconnected from the rest of the network for a period of time. 1544 1541 </p> 1545 <div id="rfc.iref.55"></div> 1546 <div id="rfc.iref.w.5"></div> 1542 <div id="rfc.iref.52"></div> 1547 1543 <h3 id="rfc.section.7.5.4"><a href="#rfc.section.7.5.4">7.5.4</a> <a id="warn.113" href="#warn.113">113 Heuristic Expiration</a></h3> 1548 1544 <p id="rfc.section.7.5.4.p.1">A cache <em class="bcp14">SHOULD</em> include this if it heuristically chose a freshness lifetime greater than 24 hours and the response's age is greater than 24 1549 1545 hours. 1550 1546 </p> 1551 <div id="rfc.iref.56"></div> 1552 <div id="rfc.iref.w.6"></div> 1547 <div id="rfc.iref.52"></div> 1553 1548 <h3 id="rfc.section.7.5.5"><a href="#rfc.section.7.5.5">7.5.5</a> <a id="warn.199" href="#warn.199">199 Miscellaneous Warning</a></h3> 1554 1549 <p id="rfc.section.7.5.5.p.1">The warning text can include arbitrary information to be presented to a human user, or logged. A system receiving this warning <em class="bcp14">MUST NOT</em> take any automated action, besides presenting the warning to the user. 1555 1550 </p> 1556 <div id="rfc.iref.57"></div> 1557 <div id="rfc.iref.w.7"></div> 1551 <div id="rfc.iref.52"></div> 1558 1552 <h3 id="rfc.section.7.5.6"><a href="#rfc.section.7.5.6">7.5.6</a> <a id="warn.214" href="#warn.214">214 Transformation Applied</a></h3> 1559 1553 <p id="rfc.section.7.5.6.p.1"> <em class="bcp14">MUST</em> be added by a proxy if it applies any transformation to the representation, such as changing the content-coding, media-type, 1560 1554 or modifying the representation data, unless this Warning code already appears in the response. 1561 1555 </p> 1562 <div id="rfc.iref.58"></div> 1563 <div id="rfc.iref.w.8"></div> 1556 <div id="rfc.iref.52"></div> 1564 1557 <h3 id="rfc.section.7.5.7"><a href="#rfc.section.7.5.7">7.5.7</a> <a id="warn.299" href="#warn.299">299 Miscellaneous Persistent Warning</a></h3> 1565 1558 <p id="rfc.section.7.5.7.p.1">The warning text can include arbitrary information to be presented to a human user, or logged. A system receiving this warning <em class="bcp14">MUST NOT</em> take any automated action. … … 2013 2006 <li><a id="rfc.index.1" href="#rfc.index.1"><b>1</b></a><ul> 2014 2007 <li>110 Response is Stale (warn code) <a href="#rfc.iref.52"><b>7.5.1</b></a>, <a href="#rfc.xref.warn.110.1">9.2</a></li> 2015 <li>111 Revalidation Failed (warn code) <a href="#rfc.iref.5 3"><b>7.5.2</b></a>, <a href="#rfc.xref.warn.111.1">9.2</a></li>2016 <li>112 Disconnected Operation (warn code) <a href="#rfc.iref.5 4"><b>7.5.3</b></a>, <a href="#rfc.xref.warn.112.1">9.2</a></li>2017 <li>113 Heuristic Expiration (warn code) <a href="#rfc.iref.5 5"><b>7.5.4</b></a>, <a href="#rfc.xref.warn.113.1">9.2</a></li>2018 <li>199 Miscellaneous Warning (warn code) <a href="#rfc.iref.5 6"><b>7.5.5</b></a>, <a href="#rfc.xref.warn.199.1">9.2</a></li>2008 <li>111 Revalidation Failed (warn code) <a href="#rfc.iref.52"><b>7.5.2</b></a>, <a href="#rfc.xref.warn.111.1">9.2</a></li> 2009 <li>112 Disconnected Operation (warn code) <a href="#rfc.iref.52"><b>7.5.3</b></a>, <a href="#rfc.xref.warn.112.1">9.2</a></li> 2010 <li>113 Heuristic Expiration (warn code) <a href="#rfc.iref.52"><b>7.5.4</b></a>, <a href="#rfc.xref.warn.113.1">9.2</a></li> 2011 <li>199 Miscellaneous Warning (warn code) <a href="#rfc.iref.52"><b>7.5.5</b></a>, <a href="#rfc.xref.warn.199.1">9.2</a></li> 2019 2012 </ul> 2020 2013 </li> 2021 2014 <li><a id="rfc.index.2" href="#rfc.index.2"><b>2</b></a><ul> 2022 <li>214 Transformation Applied (warn code) <a href="#rfc.iref.5 7"><b>7.5.6</b></a>, <a href="#rfc.xref.warn.214.1">9.2</a></li>2023 <li>299 Miscellaneous Persistent Warning (warn code) <a href="#rfc.iref.5 8"><b>7.5.7</b></a>, <a href="#rfc.xref.warn.299.1">9.2</a></li>2015 <li>214 Transformation Applied (warn code) <a href="#rfc.iref.52"><b>7.5.6</b></a>, <a href="#rfc.xref.warn.214.1">9.2</a></li> 2016 <li>299 Miscellaneous Persistent Warning (warn code) <a href="#rfc.iref.52"><b>7.5.7</b></a>, <a href="#rfc.xref.warn.299.1">9.2</a></li> 2024 2017 </ul> 2025 2018 </li> … … 2172 2165 </li> 2173 2166 <li><a id="rfc.index.W" href="#rfc.index.W"><b>W</b></a><ul> 2174 <li>Warn Codes 2175 <ul>2176 <li>110 Response is Stale <a href="#rfc.iref.w.2"><b>7.5.1</b></a>, <a href="#rfc.xref.warn.110.1">9.2</a></li>2177 <li>111 Revalidation Failed <a href="#rfc.iref.w.3"><b>7.5.2</b></a>, <a href="#rfc.xref.warn.111.1">9.2</a></li>2178 <li>112 Disconnected Operation <a href="#rfc.iref.w.4"><b>7.5.3</b></a>, <a href="#rfc.xref.warn.112.1">9.2</a></li>2179 <li>113 Heuristic Expiration <a href="#rfc.iref.w.5"><b>7.5.4</b></a>, <a href="#rfc.xref.warn.113.1">9.2</a></li>2180 <li>199 Miscellaneous Warning <a href="#rfc.iref.w.6"><b>7.5.5</b></a>, <a href="#rfc.xref.warn.199.1">9.2</a></li>2181 <li>214 Transformation Applied <a href="#rfc.iref.w.7"><b>7.5.6</b></a>, <a href="#rfc.xref.warn.214.1">9.2</a></li>2182 <li>299 Miscellaneous Persistent Warning <a href="#rfc.iref.w.8"><b>7.5.7</b></a>, <a href="#rfc.xref.warn.299.1">9.2</a></li>2183 </ul>2184 </li>2185 2167 <li>Warning header field <a href="#rfc.xref.header.warning.1">4.1.4</a>, <a href="#rfc.xref.header.warning.2">4.2.1</a>, <a href="#rfc.xref.header.warning.3">4.4</a>, <a href="#rfc.xref.header.warning.4">5</a>, <a href="#rfc.iref.w.1"><b>7.5</b></a>, <a href="#rfc.xref.header.warning.5">9.3</a>, <a href="#rfc.xref.header.warning.6">A</a></li> 2186 2168 </ul> -
draft-ietf-httpbis/latest/p6-cache.xml
r1896 r1897 1802 1802 <section title="110 Response is Stale" anchor="warn.110"> 1803 1803 <iref primary="true" item="110 Response is Stale (warn code)" x:for-anchor=""/> 1804 <iref primary="true" item="Warn Codes" subitem="110 Response is Stale" x:for-anchor=""/>1805 1804 <t> 1806 1805 A cache &SHOULD; include this whenever the returned response is stale. … … 1810 1809 <section title="111 Revalidation Failed" anchor="warn.111"> 1811 1810 <iref primary="true" item="111 Revalidation Failed (warn code)" x:for-anchor=""/> 1812 <iref primary="true" item="Warn Codes" subitem="111 Revalidation Failed" x:for-anchor=""/>1813 1811 <t> 1814 1812 A cache &SHOULD; include this when returning a stale response because an … … 1820 1818 <section title="112 Disconnected Operation" anchor="warn.112"> 1821 1819 <iref primary="true" item="112 Disconnected Operation (warn code)" x:for-anchor=""/> 1822 <iref primary="true" item="Warn Codes" subitem="112 Disconnected Operation" x:for-anchor=""/>1823 1820 <t> 1824 1821 A cache &SHOULD; include this if it is intentionally disconnected from … … 1829 1826 <section title="113 Heuristic Expiration" anchor="warn.113"> 1830 1827 <iref primary="true" item="113 Heuristic Expiration (warn code)" x:for-anchor=""/> 1831 <iref primary="true" item="Warn Codes" subitem="113 Heuristic Expiration" x:for-anchor=""/>1832 1828 <t> 1833 1829 A cache &SHOULD; include this if it heuristically chose a freshness … … 1839 1835 <section title="199 Miscellaneous Warning" anchor="warn.199"> 1840 1836 <iref primary="true" item="199 Miscellaneous Warning (warn code)" x:for-anchor=""/> 1841 <iref primary="true" item="Warn Codes" subitem="199 Miscellaneous Warning" x:for-anchor=""/>1842 1837 <t> 1843 1838 The warning text can include arbitrary information to be presented to … … 1849 1844 <section title="214 Transformation Applied" anchor="warn.214"> 1850 1845 <iref primary="true" item="214 Transformation Applied (warn code)" x:for-anchor=""/> 1851 <iref primary="true" item="Warn Codes" subitem="214 Transformation Applied" x:for-anchor=""/>1852 1846 <t> 1853 1847 &MUST; be added by a proxy if it applies any transformation to the … … 1860 1854 <section title="299 Miscellaneous Persistent Warning" anchor="warn.299"> 1861 1855 <iref primary="true" item="299 Miscellaneous Persistent Warning (warn code)" x:for-anchor=""/> 1862 <iref primary="true" item="Warn Codes" subitem="299 Miscellaneous Persistent Warning" x:for-anchor=""/>1863 1856 <t> 1864 1857 The warning text can include arbitrary information to be presented to
Note: See TracChangeset
for help on using the changeset viewer.