Ignore:
Timestamp:
24/09/13 01:14:46 (8 years ago)
Author:
fielding@…
Message:

add example Warning and recommend - be used as pseudonym when name is unknown; addresses #496

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p6-cache.xml

    r2408 r2409  
    17291729                  ; the name or pseudonym of the server adding
    17301730                  ; the Warning header field, for use in debugging
     1731                  ; a single "-" is recommended when agent unknown
    17311732  <x:ref>warn-text</x:ref>  = <x:ref>quoted-string</x:ref>
    17321733  <x:ref>warn-date</x:ref>  = <x:ref>DQUOTE</x:ref> <x:ref>HTTP-date</x:ref> <x:ref>DQUOTE</x:ref>
     
    17611762</t>
    17621763<t>
    1763    If a sender generates one or more Warning header fields in a message to be
     1764   If a sender generates one or more 1xx warn-codes in a message to be
    17641765   sent to a recipient known to implement only HTTP/1.0, the sender &MUST;
    1765    include in each generated warning-value a warn-date that matches the
    1766    <x:ref>Date</x:ref> header field in the message.
    1767 </t>
     1766   include in each corresponding warning-value a warn-date that matches the
     1767   <x:ref>Date</x:ref> header field in the message. For example:
     1768</t>
     1769<figure><artwork type="message/http; msgtype=&#34;response&#34;" x:indent-with="  ">
     1770HTTP/1.1 200 OK
     1771Date: Sat, 25 Aug 2012 23:34:45 GMT
     1772Warning: 112 - "network down" "Sat, 25 Aug 2012 23:34:45 GMT"
     1773
     1774</artwork></figure>
    17681775<t>
    17691776   If a recipient that uses, evaluates, or displays Warning header fields
     
    17831790</t>
    17841791
    1785 <section title='Warning: 110 means "Response is Stale"' anchor="warn.110">
     1792<section title='Warning: 110 - "Response is Stale"' anchor="warn.110">
    17861793  <iref primary="true" item="110 (warn-code)" x:for-anchor=""/>
    17871794  <iref primary="true" item="Response is Stale (warn-text)" x:for-anchor=""/>
     
    17911798</section>
    17921799
    1793 <section title='Warning: 111 means "Revalidation Failed"' anchor="warn.111">
     1800<section title='Warning: 111 - "Revalidation Failed"' anchor="warn.111">
    17941801  <iref primary="true" item="111 (warn-code)" x:for-anchor=""/>
    17951802  <iref primary="true" item="Revalidation Failed (warn-text)" x:for-anchor=""/>
     
    18011808</section>
    18021809
    1803 <section title='Warning: 112 means "Disconnected Operation"' anchor="warn.112">
     1810<section title='Warning: 112 - "Disconnected Operation"' anchor="warn.112">
    18041811  <iref primary="true" item="112 (warn-code)" x:for-anchor=""/>
    18051812  <iref primary="true" item="Disconnected Operation (warn-text)" x:for-anchor=""/>
     
    18101817</section>
    18111818
    1812 <section title='Warning: 113 means "Heuristic Expiration"' anchor="warn.113">
     1819<section title='Warning: 113 - "Heuristic Expiration"' anchor="warn.113">
    18131820  <iref primary="true" item="113 (warn-code)" x:for-anchor=""/>
    18141821  <iref primary="true" item="Heuristic Expiration (warn-text)" x:for-anchor=""/>
     
    18201827</section>
    18211828
    1822 <section title='Warning: 199 means "Miscellaneous Warning"' anchor="warn.199">
     1829<section title='Warning: 199 - "Miscellaneous Warning"' anchor="warn.199">
    18231830  <iref primary="true" item="199 (warn-code)" x:for-anchor=""/>
    18241831  <iref primary="true" item="Miscellaneous Warning (warn-text)" x:for-anchor=""/>
     
    18301837</section>
    18311838
    1832 <section title='Warning: 214 means "Transformation Applied"' anchor="warn.214">
     1839<section title='Warning: 214 - "Transformation Applied"' anchor="warn.214">
    18331840  <iref primary="true" item="214 (warn-code)" x:for-anchor=""/>
    18341841  <iref primary="true" item="Transformation Applied (warn-text)" x:for-anchor=""/>
     
    18411848</section>
    18421849
    1843 <section title='Warning: 299 means "Miscellaneous Persistent Warning"' anchor="warn.299">
     1850<section title='Warning: 299 - "Miscellaneous Persistent Warning"' anchor="warn.299">
    18441851  <iref primary="true" item="299 (warn-code)" x:for-anchor=""/>
    18451852  <iref primary="true" item="Miscellaneous Persistent Warning (warn-text)" x:for-anchor=""/>
Note: See TracChangeset for help on using the changeset viewer.