Changeset 1631
- Timestamp:
- Mar 28, 2012, 9:29:49 AM (8 years ago)
- Location:
- draft-ietf-httpbis/experiment
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/experiment/p2-semantics.html
r1630 r1631 486 486 <link rel="Chapter" title="3 Header Fields" href="#rfc.section.3"> 487 487 <link rel="Chapter" title="4 Status Code and Reason Phrase" href="#rfc.section.4"> 488 <link rel="Chapter" title="5 Representation" href="#rfc.section.5"> 489 <link rel="Chapter" title="6 Common Protocol Parameters" href="#rfc.section.6"> 490 <link rel="Chapter" title="7 Payload" href="#rfc.section.7"> 491 <link rel="Chapter" title="8 Representation" href="#rfc.section.8"> 492 <link rel="Chapter" title="9 Content Negotiation" href="#rfc.section.9"> 493 <link rel="Chapter" title="10 Header Field Definitions" href="#rfc.section.10"> 494 <link rel="Chapter" title="11 IANA Considerations" href="#rfc.section.11"> 495 <link rel="Chapter" title="12 Security Considerations" href="#rfc.section.12"> 496 <link rel="Chapter" title="13 Acknowledgments" href="#rfc.section.13"> 497 <link rel="Chapter" href="#rfc.section.14" title="14 References"> 488 <link rel="Chapter" title="5 Common Protocol Parameters" href="#rfc.section.5"> 489 <link rel="Chapter" title="6 Payload" href="#rfc.section.6"> 490 <link rel="Chapter" title="7 Representation" href="#rfc.section.7"> 491 <link rel="Chapter" title="8 Content Negotiation" href="#rfc.section.8"> 492 <link rel="Chapter" title="9 Header Field Definitions" href="#rfc.section.9"> 493 <link rel="Chapter" title="10 IANA Considerations" href="#rfc.section.10"> 494 <link rel="Chapter" title="11 Security Considerations" href="#rfc.section.11"> 495 <link rel="Chapter" title="12 Acknowledgments" href="#rfc.section.12"> 496 <link rel="Chapter" href="#rfc.section.13" title="13 References"> 498 497 <link rel="Appendix" title="A Differences between HTTP and MIME" href="#rfc.section.A"> 499 498 <link rel="Appendix" title="B Additional Features" href="#rfc.section.B"> … … 691 690 </ul> 692 691 </li> 693 <li>5. <a href="#representation">Representation</a><ul> 694 <li>5.1 <a href="#identifying.response.associated.with.representation">Identifying the Resource Associated with a Representation</a></li> 695 </ul> 696 </li> 697 <li>6. <a href="#common.protocol.parameters">Common Protocol Parameters</a><ul> 698 <li>6.1 <a href="#http.date">Date/Time Formats</a></li> 699 <li>6.2 <a href="#product.tokens">Product Tokens</a></li> 700 <li>6.3 <a href="#character.sets">Character Encodings (charset)</a></li> 701 <li>6.4 <a href="#content.codings">Content Codings</a><ul> 702 <li>6.4.1 <a href="#content.coding.registry">Content Coding Registry</a></li> 692 <li>5. <a href="#common.protocol.parameters">Common Protocol Parameters</a><ul> 693 <li>5.1 <a href="#http.date">Date/Time Formats</a></li> 694 <li>5.2 <a href="#product.tokens">Product Tokens</a></li> 695 <li>5.3 <a href="#character.sets">Character Encodings (charset)</a></li> 696 <li>5.4 <a href="#content.codings">Content Codings</a><ul> 697 <li>5.4.1 <a href="#content.coding.registry">Content Coding Registry</a></li> 703 698 </ul> 704 699 </li> 705 <li> 6.5 <a href="#media.types">Media Types</a><ul>706 <li> 6.5.1 <a href="#canonicalization.and.text.defaults">Canonicalization and Text Defaults</a></li>707 <li> 6.5.2 <a href="#multipart.types">Multipart Types</a></li>700 <li>5.5 <a href="#media.types">Media Types</a><ul> 701 <li>5.5.1 <a href="#canonicalization.and.text.defaults">Canonicalization and Text Defaults</a></li> 702 <li>5.5.2 <a href="#multipart.types">Multipart Types</a></li> 708 703 </ul> 709 704 </li> 710 <li> 6.6 <a href="#language.tags">Language Tags</a></li>705 <li>5.6 <a href="#language.tags">Language Tags</a></li> 711 706 </ul> 712 707 </li> 713 <li> 7. <a href="#payload">Payload</a><ul>714 <li> 7.1 <a href="#payload.header.fields">Payload Header Fields</a></li>715 <li> 7.2 <a href="#payload.body">Payload Body</a></li>708 <li>6. <a href="#payload">Payload</a><ul> 709 <li>6.1 <a href="#payload.header.fields">Payload Header Fields</a></li> 710 <li>6.2 <a href="#payload.body">Payload Body</a></li> 716 711 </ul> 717 712 </li> 718 <li>8. <a href="#representation-TODO">Representation</a><ul> 719 <li>8.1 <a href="#representation.header.fields">Representation Header Fields</a></li> 720 <li>8.2 <a href="#representation.data">Representation Data</a></li> 713 <li>7. <a href="#rfc.section.7">Representation</a><ul> 714 <li>7.1 <a href="#identifying.response.associated.with.representation">Identifying the Resource Associated with a Representation</a></li> 715 <li>7.2 <a href="#representation.header.fields">Representation Header Fields</a></li> 716 <li>7.3 <a href="#representation.data">Representation Data</a></li> 721 717 </ul> 722 718 </li> 723 <li> 9. <a href="#content.negotiation">Content Negotiation</a><ul>724 <li> 9.1 <a href="#server-driven.negotiation">Server-driven Negotiation</a></li>725 <li> 9.2 <a href="#agent-driven.negotiation">Agent-driven Negotiation</a></li>719 <li>8. <a href="#content.negotiation">Content Negotiation</a><ul> 720 <li>8.1 <a href="#server-driven.negotiation">Server-driven Negotiation</a></li> 721 <li>8.2 <a href="#agent-driven.negotiation">Agent-driven Negotiation</a></li> 726 722 </ul> 727 723 </li> 728 <li> 10. <a href="#header.field.definitions">Header Field Definitions</a><ul>729 <li> 10.1 <a href="#header.allow">Allow</a></li>730 <li> 10.2 <a href="#header.date">Date</a></li>731 <li> 10.3 <a href="#header.expect">Expect</a></li>732 <li> 10.4 <a href="#header.from">From</a></li>733 <li> 10.5 <a href="#header.location">Location</a></li>734 <li> 10.6 <a href="#header.max-forwards">Max-Forwards</a></li>735 <li> 10.7 <a href="#header.referer">Referer</a></li>736 <li> 10.8 <a href="#header.retry-after">Retry-After</a></li>737 <li> 10.9 <a href="#header.server">Server</a></li>738 <li> 10.10 <a href="#header.user-agent">User-Agent</a></li>739 <li> 10.11 <a href="#header.accept">Accept</a></li>740 <li> 10.12 <a href="#header.accept-charset">Accept-Charset</a></li>741 <li> 10.13 <a href="#header.accept-encoding">Accept-Encoding</a></li>742 <li> 10.14 <a href="#header.accept-language">Accept-Language</a></li>743 <li> 10.15 <a href="#header.content-encoding">Content-Encoding</a></li>744 <li> 10.16 <a href="#header.content-language">Content-Language</a></li>745 <li> 10.17 <a href="#header.content-location">Content-Location</a></li>746 <li> 10.18 <a href="#header.content-type">Content-Type</a></li>724 <li>9. <a href="#header.field.definitions">Header Field Definitions</a><ul> 725 <li>9.1 <a href="#header.allow">Allow</a></li> 726 <li>9.2 <a href="#header.date">Date</a></li> 727 <li>9.3 <a href="#header.expect">Expect</a></li> 728 <li>9.4 <a href="#header.from">From</a></li> 729 <li>9.5 <a href="#header.location">Location</a></li> 730 <li>9.6 <a href="#header.max-forwards">Max-Forwards</a></li> 731 <li>9.7 <a href="#header.referer">Referer</a></li> 732 <li>9.8 <a href="#header.retry-after">Retry-After</a></li> 733 <li>9.9 <a href="#header.server">Server</a></li> 734 <li>9.10 <a href="#header.user-agent">User-Agent</a></li> 735 <li>9.11 <a href="#header.accept">Accept</a></li> 736 <li>9.12 <a href="#header.accept-charset">Accept-Charset</a></li> 737 <li>9.13 <a href="#header.accept-encoding">Accept-Encoding</a></li> 738 <li>9.14 <a href="#header.accept-language">Accept-Language</a></li> 739 <li>9.15 <a href="#header.content-encoding">Content-Encoding</a></li> 740 <li>9.16 <a href="#header.content-language">Content-Language</a></li> 741 <li>9.17 <a href="#header.content-location">Content-Location</a></li> 742 <li>9.18 <a href="#header.content-type">Content-Type</a></li> 747 743 </ul> 748 744 </li> 749 <li>1 1. <a href="#IANA.considerations">IANA Considerations</a><ul>750 <li>1 1.1 <a href="#method.registration">Method Registry</a></li>751 <li>1 1.2 <a href="#status.code.registration">Status Code Registry</a></li>752 <li>1 1.3 <a href="#header.field.registration">Header Field Registration</a></li>753 <li>1 1.4 <a href="#content.coding.registration">Content Coding Registry</a></li>745 <li>10. <a href="#IANA.considerations">IANA Considerations</a><ul> 746 <li>10.1 <a href="#method.registration">Method Registry</a></li> 747 <li>10.2 <a href="#status.code.registration">Status Code Registry</a></li> 748 <li>10.3 <a href="#header.field.registration">Header Field Registration</a></li> 749 <li>10.4 <a href="#content.coding.registration">Content Coding Registry</a></li> 754 750 </ul> 755 751 </li> 756 <li>1 2. <a href="#security.considerations">Security Considerations</a><ul>757 <li>1 2.1 <a href="#security.sensitive">Transfer of Sensitive Information</a></li>758 <li>1 2.2 <a href="#encoding.sensitive.information.in.uris">Encoding Sensitive Information in URIs</a></li>759 <li>1 2.3 <a href="#location.spoofing-leakage">Location Header Fields: Spoofing and Information Leakage</a></li>760 <li>1 2.4 <a href="#rfc.section.12.4">Security Considerations for CONNECT</a></li>761 <li>1 2.5 <a href="#privacy.issues.connected.to.accept.header.fields">Privacy Issues Connected to Accept Header Fields</a></li>752 <li>11. <a href="#security.considerations">Security Considerations</a><ul> 753 <li>11.1 <a href="#security.sensitive">Transfer of Sensitive Information</a></li> 754 <li>11.2 <a href="#encoding.sensitive.information.in.uris">Encoding Sensitive Information in URIs</a></li> 755 <li>11.3 <a href="#location.spoofing-leakage">Location Header Fields: Spoofing and Information Leakage</a></li> 756 <li>11.4 <a href="#rfc.section.11.4">Security Considerations for CONNECT</a></li> 757 <li>11.5 <a href="#privacy.issues.connected.to.accept.header.fields">Privacy Issues Connected to Accept Header Fields</a></li> 762 758 </ul> 763 759 </li> 764 <li>1 3. <a href="#acks">Acknowledgments</a></li>765 <li>1 4. <a href="#rfc.references">References</a><ul>766 <li>1 4.1 <a href="#rfc.references.1">Normative References</a></li>767 <li>1 4.2 <a href="#rfc.references.2">Informative References</a></li>760 <li>12. <a href="#acks">Acknowledgments</a></li> 761 <li>13. <a href="#rfc.references">References</a><ul> 762 <li>13.1 <a href="#rfc.references.1">Normative References</a></li> 763 <li>13.2 <a href="#rfc.references.2">Informative References</a></li> 768 764 </ul> 769 765 </li> … … 907 903 </p> 908 904 <div id="rfc.figure.u.3"></div><pre class="inline"><span id="rfc.iref.g.1"></span> <a href="#methods" class="smpl">method</a> = <a href="#core.rules" class="smpl">token</a> 909 </pre><p id="rfc.section.2.p.3">The list of methods allowed by a resource can be specified in an Allow header field (<a href="#header.allow" id="rfc.xref.header.allow.1" title="Allow">Section 10.1</a>). The status code of the response always notifies the client whether a method is currently allowed on a resource, since the905 </pre><p id="rfc.section.2.p.3">The list of methods allowed by a resource can be specified in an Allow header field (<a href="#header.allow" id="rfc.xref.header.allow.1" title="Allow">Section 9.1</a>). The status code of the response always notifies the client whether a method is currently allowed on a resource, since the 910 906 set of allowed methods can change dynamically. An origin server <em class="bcp14">SHOULD</em> respond with the status code 405 (Method Not Allowed) if the method is known by the origin server but not allowed for the 911 907 resource, and 501 (Not Implemented) if the method is unrecognized or not implemented by the origin server. The methods GET … … 987 983 but might be defined by future extensions to HTTP. Content negotiation <em class="bcp14">MAY</em> be used to select the appropriate response format. If no response body is included, the response <em class="bcp14">MUST</em> include a Content-Length field with a field-value of "0". 988 984 </p> 989 <p id="rfc.section.2.3.1.p.7">The Max-Forwards header field <em class="bcp14">MAY</em> be used to target a specific proxy in the request chain (see <a href="#header.max-forwards" id="rfc.xref.header.max-forwards.1" title="Max-Forwards">Section 10.6</a>). If no Max-Forwards field is present in the request, then the forwarded request <em class="bcp14">MUST NOT</em> include a Max-Forwards field.985 <p id="rfc.section.2.3.1.p.7">The Max-Forwards header field <em class="bcp14">MAY</em> be used to target a specific proxy in the request chain (see <a href="#header.max-forwards" id="rfc.xref.header.max-forwards.1" title="Max-Forwards">Section 9.6</a>). If no Max-Forwards field is present in the request, then the forwarded request <em class="bcp14">MUST NOT</em> include a Max-Forwards field. 990 986 </p> 991 987 <h3 id="rfc.section.2.3.2"><a href="#rfc.section.2.3.2">2.3.2</a> <a id="GET" href="#GET">GET</a></h3> … … 1011 1007 <p id="rfc.section.2.3.2.p.6">The response to a GET request is cacheable and <em class="bcp14">MAY</em> be used to satisfy subsequent GET and HEAD requests (see <a href="#Part6" id="rfc.xref.Part6.2"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>). 1012 1008 </p> 1013 <p id="rfc.section.2.3.2.p.7">See <a href="#encoding.sensitive.information.in.uris" title="Encoding Sensitive Information in URIs">Section 1 2.2</a> for security considerations when used for forms.1009 <p id="rfc.section.2.3.2.p.7">See <a href="#encoding.sensitive.information.in.uris" title="Encoding Sensitive Information in URIs">Section 11.2</a> for security considerations when used for forms. 1014 1010 </p> 1015 1011 <h3 id="rfc.section.2.3.3"><a href="#rfc.section.2.3.3">2.3.3</a> <a id="HEAD" href="#HEAD">HEAD</a></h3> … … 1045 1041 </p> 1046 1042 <p id="rfc.section.2.3.4.p.4">If a resource has been created on the origin server, the response <em class="bcp14">SHOULD</em> be 201 (Created) and contain a representation which describes the status of the request and refers to the new resource, and 1047 a Location header field (see <a href="#header.location" id="rfc.xref.header.location.1" title="Location">Section 10.5</a>).1048 </p> 1049 <p id="rfc.section.2.3.4.p.5">Responses to POST requests are only cacheable when they include explicit freshness information (see <a href="p6-cache.html#calculating.freshness.lifetime" title="Calculating Freshness Lifetime">Section 2.3.1</a> of <a href="#Part6" id="rfc.xref.Part6.4"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>). A cached POST response with a Content-Location header field (see <a href="#header.content-location" id="rfc.xref.header.content-location.1" title="Content-Location">Section 10.17</a>) whose value is the effective Request URI <em class="bcp14">MAY</em> be used to satisfy subsequent GET and HEAD requests.1043 a Location header field (see <a href="#header.location" id="rfc.xref.header.location.1" title="Location">Section 9.5</a>). 1044 </p> 1045 <p id="rfc.section.2.3.4.p.5">Responses to POST requests are only cacheable when they include explicit freshness information (see <a href="p6-cache.html#calculating.freshness.lifetime" title="Calculating Freshness Lifetime">Section 2.3.1</a> of <a href="#Part6" id="rfc.xref.Part6.4"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>). A cached POST response with a Content-Location header field (see <a href="#header.content-location" id="rfc.xref.header.content-location.1" title="Content-Location">Section 9.17</a>) whose value is the effective Request URI <em class="bcp14">MAY</em> be used to satisfy subsequent GET and HEAD requests. 1050 1046 </p> 1051 1047 <p id="rfc.section.2.3.4.p.6">Note that POST caching is not widely implemented. However, the 303 (See Other) response can be used to direct the user agent … … 1135 1131 <div id="rfc.iref.m.7"></div> 1136 1132 <p id="rfc.section.2.3.7.p.1">The TRACE method requests a remote, application-layer loop-back of the request message. The final recipient of the request <em class="bcp14">SHOULD</em> reflect the message received back to the client as the message body of a 200 (OK) response. The final recipient is either 1137 the origin server or the first proxy to receive a Max-Forwards value of zero (0) in the request (see <a href="#header.max-forwards" id="rfc.xref.header.max-forwards.2" title="Max-Forwards">Section 10.6</a>). A TRACE request <em class="bcp14">MUST NOT</em> include a message body.1133 the origin server or the first proxy to receive a Max-Forwards value of zero (0) in the request (see <a href="#header.max-forwards" id="rfc.xref.header.max-forwards.2" title="Max-Forwards">Section 9.6</a>). A TRACE request <em class="bcp14">MUST NOT</em> include a message body. 1138 1134 </p> 1139 1135 <p id="rfc.section.2.3.7.p.2">TRACE allows the client to see what is being received at the other end of the request chain and use that data for testing … … 1210 1206 double quotes will likely cause unnecessary confusion. 1211 1207 </p> 1212 <p id="rfc.section.3.1.p.8">Many header fields use a format including (case-insensitively) named parameters (for instance, Content-Type, defined in <a href="#header.content-type" id="rfc.xref.header.content-type.1" title="Content-Type">Section 10.18</a>). Allowing both unquoted (token) and quoted (quoted-string) syntax for the parameter value enables recipients to use existing1208 <p id="rfc.section.3.1.p.8">Many header fields use a format including (case-insensitively) named parameters (for instance, Content-Type, defined in <a href="#header.content-type" id="rfc.xref.header.content-type.1" title="Content-Type">Section 9.18</a>). Allowing both unquoted (token) and quoted (quoted-string) syntax for the parameter value enables recipients to use existing 1213 1209 parser components. When allowing both forms, the meaning of a parameter value ought to be independent of the syntax used for 1214 it (for an example, see the notes on parameter handling for media types in <a href="#media.types" title="Media Types">Section 6.5</a>).1210 it (for an example, see the notes on parameter handling for media types in <a href="#media.types" title="Media Types">Section 5.5</a>). 1215 1211 </p> 1216 1212 <p id="rfc.section.3.1.p.9">Authors of specifications defining new header fields are advised to consider documenting: </p> … … 1267 1263 <tr> 1268 1264 <td class="left">Accept</td> 1269 <td class="left"><a href="#header.accept" id="rfc.xref.header.accept.1" title="Accept">Section 10.11</a></td>1265 <td class="left"><a href="#header.accept" id="rfc.xref.header.accept.1" title="Accept">Section 9.11</a></td> 1270 1266 </tr> 1271 1267 <tr> 1272 1268 <td class="left">Accept-Charset</td> 1273 <td class="left"><a href="#header.accept-charset" id="rfc.xref.header.accept-charset.1" title="Accept-Charset">Section 10.12</a></td>1269 <td class="left"><a href="#header.accept-charset" id="rfc.xref.header.accept-charset.1" title="Accept-Charset">Section 9.12</a></td> 1274 1270 </tr> 1275 1271 <tr> 1276 1272 <td class="left">Accept-Encoding</td> 1277 <td class="left"><a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.1" title="Accept-Encoding">Section 10.13</a></td>1273 <td class="left"><a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.1" title="Accept-Encoding">Section 9.13</a></td> 1278 1274 </tr> 1279 1275 <tr> 1280 1276 <td class="left">Accept-Language</td> 1281 <td class="left"><a href="#header.accept-language" id="rfc.xref.header.accept-language.1" title="Accept-Language">Section 10.14</a></td>1277 <td class="left"><a href="#header.accept-language" id="rfc.xref.header.accept-language.1" title="Accept-Language">Section 9.14</a></td> 1282 1278 </tr> 1283 1279 <tr> … … 1287 1283 <tr> 1288 1284 <td class="left">Expect</td> 1289 <td class="left"><a href="#header.expect" id="rfc.xref.header.expect.1" title="Expect">Section 10.3</a></td>1285 <td class="left"><a href="#header.expect" id="rfc.xref.header.expect.1" title="Expect">Section 9.3</a></td> 1290 1286 </tr> 1291 1287 <tr> 1292 1288 <td class="left">From</td> 1293 <td class="left"><a href="#header.from" id="rfc.xref.header.from.1" title="From">Section 10.4</a></td>1289 <td class="left"><a href="#header.from" id="rfc.xref.header.from.1" title="From">Section 9.4</a></td> 1294 1290 </tr> 1295 1291 <tr> … … 1319 1315 <tr> 1320 1316 <td class="left">Max-Forwards</td> 1321 <td class="left"><a href="#header.max-forwards" id="rfc.xref.header.max-forwards.3" title="Max-Forwards">Section 10.6</a></td>1317 <td class="left"><a href="#header.max-forwards" id="rfc.xref.header.max-forwards.3" title="Max-Forwards">Section 9.6</a></td> 1322 1318 </tr> 1323 1319 <tr> … … 1331 1327 <tr> 1332 1328 <td class="left">Referer</td> 1333 <td class="left"><a href="#header.referer" id="rfc.xref.header.referer.1" title="Referer">Section 10.7</a></td>1329 <td class="left"><a href="#header.referer" id="rfc.xref.header.referer.1" title="Referer">Section 9.7</a></td> 1334 1330 </tr> 1335 1331 <tr> … … 1339 1335 <tr> 1340 1336 <td class="left">User-Agent</td> 1341 <td class="left"><a href="#header.user-agent" id="rfc.xref.header.user-agent.1" title="User-Agent">Section 10.10</a></td>1337 <td class="left"><a href="#header.user-agent" id="rfc.xref.header.user-agent.1" title="User-Agent">Section 9.10</a></td> 1342 1338 </tr> 1343 1339 </tbody> … … 1367 1363 <tr> 1368 1364 <td class="left">Allow</td> 1369 <td class="left"><a href="#header.allow" id="rfc.xref.header.allow.2" title="Allow">Section 10.1</a></td>1365 <td class="left"><a href="#header.allow" id="rfc.xref.header.allow.2" title="Allow">Section 9.1</a></td> 1370 1366 </tr> 1371 1367 <tr> 1372 1368 <td class="left">Date</td> 1373 <td class="left"><a href="#header.date" id="rfc.xref.header.date.1" title="Date">Section 10.2</a></td>1369 <td class="left"><a href="#header.date" id="rfc.xref.header.date.1" title="Date">Section 9.2</a></td> 1374 1370 </tr> 1375 1371 <tr> … … 1379 1375 <tr> 1380 1376 <td class="left">Location</td> 1381 <td class="left"><a href="#header.location" id="rfc.xref.header.location.2" title="Location">Section 10.5</a></td>1377 <td class="left"><a href="#header.location" id="rfc.xref.header.location.2" title="Location">Section 9.5</a></td> 1382 1378 </tr> 1383 1379 <tr> … … 1387 1383 <tr> 1388 1384 <td class="left">Retry-After</td> 1389 <td class="left"><a href="#header.retry-after" id="rfc.xref.header.retry-after.1" title="Retry-After">Section 10.8</a></td>1385 <td class="left"><a href="#header.retry-after" id="rfc.xref.header.retry-after.1" title="Retry-After">Section 9.8</a></td> 1390 1386 </tr> 1391 1387 <tr> 1392 1388 <td class="left">Server</td> 1393 <td class="left"><a href="#header.server" id="rfc.xref.header.server.1" title="Server">Section 10.9</a></td>1389 <td class="left"><a href="#header.server" id="rfc.xref.header.server.1" title="Server">Section 9.9</a></td> 1394 1390 </tr> 1395 1391 <tr> … … 1428 1424 </ul> 1429 1425 <p id="rfc.section.4.p.6">For most status codes the response can carry a payload, in which case a Content-Type header field indicates the payload's 1430 media type (<a href="#header.content-type" id="rfc.xref.header.content-type.2" title="Content-Type">Section 10.18</a>).1426 media type (<a href="#header.content-type" id="rfc.xref.header.content-type.2" title="Content-Type">Section 9.18</a>). 1431 1427 </p> 1432 1428 <h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> <a id="overview.of.status.codes" href="#overview.of.status.codes">Overview of Status Codes</a></h2> … … 1674 1670 a zero-length response body. They can require the presence of one or more particular HTTP response header(s). 1675 1671 </p> 1676 <p id="rfc.section.4.2.1.p.5">Likewise, their definitions can specify that caches are allowed to use heuristics to determine their freshness (see <a href="#Part6" id="rfc.xref.Part6.10"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>; by default, it is not allowed), and can define how to determine the resource which they carry a representation for (see <a href="#identifying.response.associated.with.representation" title="Identifying the Resource Associated with a Representation">Section 5.1</a>; by default, it is anonymous).1672 <p id="rfc.section.4.2.1.p.5">Likewise, their definitions can specify that caches are allowed to use heuristics to determine their freshness (see <a href="#Part6" id="rfc.xref.Part6.10"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>; by default, it is not allowed), and can define how to determine the resource which they carry a representation for (see <a href="#identifying.response.associated.with.representation" title="Identifying the Resource Associated with a Representation">Section 7.1</a>; by default, it is anonymous). 1677 1673 </p> 1678 1674 <h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a> <a id="status.1xx" href="#status.1xx">Informational 1xx</a></h2> … … 1807 1803 </li> 1808 1804 <li> 1809 <p>Redirection offering a choice of matching resources for use by agent-driven content negotiation (<a href="#agent-driven.negotiation" title="Agent-driven Negotiation">Section 9.2</a>). This is status code 300 (Multiple Choices).1805 <p>Redirection offering a choice of matching resources for use by agent-driven content negotiation (<a href="#agent-driven.negotiation" title="Agent-driven Negotiation">Section 8.2</a>). This is status code 300 (Multiple Choices). 1810 1806 </p> 1811 1807 </li> … … 1824 1820 </p> 1825 1821 </div> 1826 <p id="rfc.section.4.5.p.4">A Location header field on a 3xx response indicates that a client <em class="bcp14">MAY</em> automatically redirect to the URI provided; see <a href="#header.location" id="rfc.xref.header.location.3" title="Location">Section 10.5</a>.1822 <p id="rfc.section.4.5.p.4">A Location header field on a 3xx response indicates that a client <em class="bcp14">MAY</em> automatically redirect to the URI provided; see <a href="#header.location" id="rfc.xref.header.location.3" title="Location">Section 9.5</a>. 1827 1823 </p> 1828 1824 <p id="rfc.section.4.5.p.5">Note that for methods not known to be "safe", as defined in <a href="#safe.methods" title="Safe Methods">Section 2.1.1</a>, automatic redirection needs to done with care, since the redirect might change the conditions under which the request was … … 1839 1835 <h3 id="rfc.section.4.5.1"><a href="#rfc.section.4.5.1">4.5.1</a> <a id="status.300" href="#status.300">300 Multiple Choices</a></h3> 1840 1836 <p id="rfc.section.4.5.1.p.1">The target resource has more than one representation, each with its own specific location, and agent-driven negotiation information 1841 (<a href="#content.negotiation" title="Content Negotiation">Section 9</a>) is being provided so that the user (or user agent) can select a preferred representation by redirecting its request to that1837 (<a href="#content.negotiation" title="Content Negotiation">Section 8</a>) is being provided so that the user (or user agent) can select a preferred representation by redirecting its request to that 1842 1838 location. 1843 1839 </p> … … 2040 2036 <div id="rfc.iref.s.31"></div> 2041 2037 <h3 id="rfc.section.4.6.14"><a href="#rfc.section.4.6.14">4.6.14</a> <a id="status.417" href="#status.417">417 Expectation Failed</a></h3> 2042 <p id="rfc.section.4.6.14.p.1">The expectation given in an Expect header field (see <a href="#header.expect" id="rfc.xref.header.expect.2" title="Expect">Section 10.3</a>) could not be met by this server, or, if the server is a proxy, the server has unambiguous evidence that the request could2038 <p id="rfc.section.4.6.14.p.1">The expectation given in an Expect header field (see <a href="#header.expect" id="rfc.xref.header.expect.2" title="Expect">Section 9.3</a>) could not be met by this server, or, if the server is a proxy, the server has unambiguous evidence that the request could 2043 2039 not be met by the next-hop server. 2044 2040 </p> … … 2085 2081 <p id="rfc.section.4.7.4.p.1">The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.</p> 2086 2082 <p id="rfc.section.4.7.4.p.2">The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the 2087 delay <em class="bcp14">MAY</em> be indicated in a Retry-After header field (<a href="#header.retry-after" id="rfc.xref.header.retry-after.2" title="Retry-After">Section 10.8</a>). If no Retry-After is given, the client <em class="bcp14">SHOULD</em> handle the response as it would for a 500 response.2083 delay <em class="bcp14">MAY</em> be indicated in a Retry-After header field (<a href="#header.retry-after" id="rfc.xref.header.retry-after.2" title="Retry-After">Section 9.8</a>). If no Retry-After is given, the client <em class="bcp14">SHOULD</em> handle the response as it would for a 500 response. 2088 2084 </p> 2089 2085 <div class="note" id="rfc.section.4.7.4.p.3"> … … 2109 2105 in <a href="p1-messaging.html#http.version" title="Protocol Versioning">Section 2.6</a> of <a href="#Part1" id="rfc.xref.Part1.37"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, other than with this error message. The response <em class="bcp14">SHOULD</em> contain a representation describing why that version is not supported and what other protocols are supported by that server. 2110 2106 </p> 2111 <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a> <a id="representation" href="#representation">Representation</a></h1> 2112 <p id="rfc.section.5.p.1">Request and Response messages <em class="bcp14">MAY</em> transfer a representation if not otherwise restricted by the request method or response status code. A representation consists 2113 of metadata (representation header fields) and data (representation body). When a complete or partial representation is enclosed 2114 in an HTTP message, it is referred to as the payload of the message. HTTP representations are defined in <a href="#payload" title="Payload">Section 7</a>. 2115 </p> 2116 <p id="rfc.section.5.p.2">A representation body is only present in a message when a message body is present, as described in <a href="p1-messaging.html#message.body" title="Message Body">Section 3.3</a> of <a href="#Part1" id="rfc.xref.Part1.38"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. The representation body is obtained from the message body by decoding any Transfer-Encoding that might have been applied 2117 to ensure safe and proper transfer of the message. 2118 </p> 2119 <h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> <a id="identifying.response.associated.with.representation" href="#identifying.response.associated.with.representation">Identifying the Resource Associated with a Representation</a></h2> 2120 <p id="rfc.section.5.1.p.1">It is sometimes necessary to determine an identifier for the resource associated with a representation.</p> 2121 <p id="rfc.section.5.1.p.2">An HTTP request representation, when present, is always associated with an anonymous (i.e., unidentified) resource.</p> 2122 <p id="rfc.section.5.1.p.3">In the common case, an HTTP response is a representation of the target resource (see <a href="p1-messaging.html#effective.request.uri" title="Effective Request URI">Section 5.5</a> of <a href="#Part1" id="rfc.xref.Part1.39"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). However, this is not always the case. To determine the URI of the resource a response is associated with, the following 2123 rules are used (with the first applicable one being selected): 2124 </p> 2125 <ol> 2126 <li>If the response status code is 200 or 203 and the request method was GET, the response payload is a representation of the 2127 target resource. 2128 </li> 2129 <li>If the response status code is 204, 206, or 304 and the request method was GET or HEAD, the response payload is a partial 2130 representation of the target resource. 2131 </li> 2132 <li>If the response has a Content-Location header field, and that URI is the same as the effective request URI, the response payload 2133 is a representation of the target resource. 2134 </li> 2135 <li>If the response has a Content-Location header field, and that URI is not the same as the effective request URI, then the response 2136 asserts that its payload is a representation of the resource identified by the Content-Location URI. However, such an assertion 2137 cannot be trusted unless it can be verified by other means (not defined by HTTP). 2138 </li> 2139 <li>Otherwise, the response is a representation of an anonymous (i.e., unidentified) resource.</li> 2140 </ol> 2141 <p id="rfc.section.5.1.p.5"> <span class="comment" id="TODO-req-uri">[<a href="#TODO-req-uri" class="smpl">TODO-req-uri</a>: The comparison function is going to have to be defined somewhere, because we already need to compare URIs for things like 2142 cache invalidation.]</span> 2143 </p> 2144 <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a> <a id="common.protocol.parameters" href="#common.protocol.parameters">Common Protocol Parameters</a></h1> 2145 <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a> <a id="http.date" href="#http.date">Date/Time Formats</a></h2> 2146 <p id="rfc.section.6.1.p.1">HTTP applications have historically allowed three different formats for date/time stamps. However, the preferred format is 2107 <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a> <a id="common.protocol.parameters" href="#common.protocol.parameters">Common Protocol Parameters</a></h1> 2108 <h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> <a id="http.date" href="#http.date">Date/Time Formats</a></h2> 2109 <p id="rfc.section.5.1.p.1">HTTP applications have historically allowed three different formats for date/time stamps. However, the preferred format is 2147 2110 a fixed-length subset of that defined by <a href="#RFC1123" id="rfc.xref.RFC1123.1"><cite title="Requirements for Internet Hosts - Application and Support">[RFC1123]</cite></a>: 2148 2111 </p> 2149 2112 <div id="rfc.figure.u.9"></div><pre class="text">Sun, 06 Nov 1994 08:49:37 GMT ; RFC 1123 2150 </pre><p id="rfc.section. 6.1.p.3">The other formats are described here only for compatibility with obsolete implementations.</p>2113 </pre><p id="rfc.section.5.1.p.3">The other formats are described here only for compatibility with obsolete implementations.</p> 2151 2114 <div id="rfc.figure.u.10"></div><pre class="text">Sunday, 06-Nov-94 08:49:37 GMT ; obsolete RFC 850 format 2152 2115 Sun Nov 6 08:49:37 1994 ; ANSI C's asctime() format 2153 </pre><p id="rfc.section. 6.1.p.5">HTTP/1.1 clients and servers that parse a date value <em class="bcp14">MUST</em> accept all three formats (for compatibility with HTTP/1.0), though they <em class="bcp14">MUST</em> only generate the RFC 1123 format for representing HTTP-date values in header fields.2154 </p> 2155 <p id="rfc.section. 6.1.p.6">All HTTP date/time stamps <em class="bcp14">MUST</em> be represented in Greenwich Mean Time (GMT), without exception. For the purposes of HTTP, GMT is exactly equal to UTC (Coordinated2116 </pre><p id="rfc.section.5.1.p.5">HTTP/1.1 clients and servers that parse a date value <em class="bcp14">MUST</em> accept all three formats (for compatibility with HTTP/1.0), though they <em class="bcp14">MUST</em> only generate the RFC 1123 format for representing HTTP-date values in header fields. 2117 </p> 2118 <p id="rfc.section.5.1.p.6">All HTTP date/time stamps <em class="bcp14">MUST</em> be represented in Greenwich Mean Time (GMT), without exception. For the purposes of HTTP, GMT is exactly equal to UTC (Coordinated 2156 2119 Universal Time). This is indicated in the first two formats by the inclusion of "GMT" as the three-letter abbreviation for 2157 2120 time zone, and <em class="bcp14">MUST</em> be assumed when reading the asctime format. HTTP-date is case sensitive and <em class="bcp14">MUST NOT</em> include additional whitespace beyond that specifically included as SP in the grammar. … … 2159 2122 <div id="rfc.figure.u.11"></div><pre class="inline"><span id="rfc.iref.g.6"></span> <a href="#http.date" class="smpl">HTTP-date</a> = <a href="#preferred.date.format" class="smpl">rfc1123-date</a> / <a href="#obsolete.date.formats" class="smpl">obs-date</a> 2160 2123 </pre><div id="preferred.date.format"> 2161 <p id="rfc.section. 6.1.p.8"> Preferred format:</p>2124 <p id="rfc.section.5.1.p.8"> Preferred format:</p> 2162 2125 </div> 2163 2126 <div id="rfc.figure.u.12"></div><pre class="inline"><span id="rfc.iref.g.7"></span><span id="rfc.iref.g.8"></span><span id="rfc.iref.g.9"></span><span id="rfc.iref.g.10"></span><span id="rfc.iref.g.11"></span><span id="rfc.iref.g.12"></span><span id="rfc.iref.g.13"></span><span id="rfc.iref.g.14"></span><span id="rfc.iref.g.15"></span><span id="rfc.iref.g.16"></span><span id="rfc.iref.g.17"></span><span id="rfc.iref.g.18"></span> <a href="#preferred.date.format" class="smpl">rfc1123-date</a> = <a href="#preferred.date.format" class="smpl">day-name</a> "," <a href="#notation" class="smpl">SP</a> date1 <a href="#notation" class="smpl">SP</a> <a href="#preferred.date.format" class="smpl">time-of-day</a> <a href="#notation" class="smpl">SP</a> <a href="#preferred.date.format" class="smpl">GMT</a> … … 2199 2162 <a href="#preferred.date.format" class="smpl">minute</a> = 2<a href="#notation" class="smpl">DIGIT</a> 2200 2163 <a href="#preferred.date.format" class="smpl">second</a> = 2<a href="#notation" class="smpl">DIGIT</a> 2201 </pre><p id="rfc.section. 6.1.p.10">The semantics of <a href="#preferred.date.format" class="smpl">day-name</a>, <a href="#preferred.date.format" class="smpl">day</a>, <a href="#preferred.date.format" class="smpl">month</a>, <a href="#preferred.date.format" class="smpl">year</a>, and <a href="#preferred.date.format" class="smpl">time-of-day</a> are the same as those defined for the RFC 5322 constructs with the corresponding name (<a href="#RFC5322" id="rfc.xref.RFC5322.1"><cite title="Internet Message Format">[RFC5322]</cite></a>, <a href="http://tools.ietf.org/html/rfc5322#section-3.3">Section 3.3</a>).2164 </pre><p id="rfc.section.5.1.p.10">The semantics of <a href="#preferred.date.format" class="smpl">day-name</a>, <a href="#preferred.date.format" class="smpl">day</a>, <a href="#preferred.date.format" class="smpl">month</a>, <a href="#preferred.date.format" class="smpl">year</a>, and <a href="#preferred.date.format" class="smpl">time-of-day</a> are the same as those defined for the RFC 5322 constructs with the corresponding name (<a href="#RFC5322" id="rfc.xref.RFC5322.1"><cite title="Internet Message Format">[RFC5322]</cite></a>, <a href="http://tools.ietf.org/html/rfc5322#section-3.3">Section 3.3</a>). 2202 2165 </p> 2203 2166 <div id="obsolete.date.formats"> 2204 <p id="rfc.section. 6.1.p.11"> Obsolete formats:</p>2167 <p id="rfc.section.5.1.p.11"> Obsolete formats:</p> 2205 2168 </div> 2206 2169 <div id="rfc.figure.u.13"></div><pre class="inline"><span id="rfc.iref.g.19"></span> <a href="#obsolete.date.formats" class="smpl">obs-date</a> = <a href="#obsolete.date.formats" class="smpl">rfc850-date</a> / <a href="#obsolete.date.formats" class="smpl">asctime-date</a> … … 2219 2182 <a href="#obsolete.date.formats" class="smpl">date3</a> = <a href="#preferred.date.format" class="smpl">month</a> <a href="#notation" class="smpl">SP</a> ( 2<a href="#notation" class="smpl">DIGIT</a> / ( <a href="#notation" class="smpl">SP</a> 1<a href="#notation" class="smpl">DIGIT</a> )) 2220 2183 ; month day (e.g., Jun 2) 2221 </pre><div class="note" id="rfc.section. 6.1.p.15">2184 </pre><div class="note" id="rfc.section.5.1.p.15"> 2222 2185 <p> <b>Note:</b> Recipients of date values are encouraged to be robust in accepting date values that might have been sent by non-HTTP applications, 2223 2186 as is sometimes the case when retrieving or posting messages via proxies/gateways to SMTP or NNTP. 2224 2187 </p> 2225 2188 </div> 2226 <div class="note" id="rfc.section. 6.1.p.16">2189 <div class="note" id="rfc.section.5.1.p.16"> 2227 2190 <p> <b>Note:</b> HTTP requirements for the date/time stamp format apply only to their usage within the protocol stream. Clients and servers 2228 2191 are not required to use these formats for user presentation, request logging, etc. 2229 2192 </p> 2230 2193 </div> 2231 <h2 id="rfc.section. 6.2"><a href="#rfc.section.6.2">6.2</a> <a id="product.tokens" href="#product.tokens">Product Tokens</a></h2>2232 <p id="rfc.section. 6.2.p.1">Product tokens are used to allow communicating applications to identify themselves by software name and version. Most fields2194 <h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="product.tokens" href="#product.tokens">Product Tokens</a></h2> 2195 <p id="rfc.section.5.2.p.1">Product tokens are used to allow communicating applications to identify themselves by software name and version. Most fields 2233 2196 using product tokens also allow sub-products which form a significant part of the application to be listed, separated by whitespace. 2234 2197 By convention, the products are listed in order of their significance for identifying the application. … … 2236 2199 <div id="rfc.figure.u.16"></div><pre class="inline"><span id="rfc.iref.g.22"></span><span id="rfc.iref.g.23"></span> <a href="#product.tokens" class="smpl">product</a> = <a href="#core.rules" class="smpl">token</a> ["/" <a href="#product.tokens" class="smpl">product-version</a>] 2237 2200 <a href="#product.tokens" class="smpl">product-version</a> = <a href="#core.rules" class="smpl">token</a> 2238 </pre><p id="rfc.section. 6.2.p.3">Examples:</p>2201 </pre><p id="rfc.section.5.2.p.3">Examples:</p> 2239 2202 <div id="rfc.figure.u.17"></div><pre class="text"> User-Agent: CERN-LineMode/2.15 libwww/2.17b3 2240 2203 Server: Apache/0.8.4 2241 </pre><p id="rfc.section. 6.2.p.5">Product tokens <em class="bcp14">SHOULD</em> be short and to the point. They <em class="bcp14">MUST NOT</em> be used for advertising or other non-essential information. Although any token octet <em class="bcp14">MAY</em> appear in a product-version, this token <em class="bcp14">SHOULD</em> only be used for a version identifier (i.e., successive versions of the same product <em class="bcp14">SHOULD</em> only differ in the product-version portion of the product value).2242 </p> 2243 <h2 id="rfc.section. 6.3"><a href="#rfc.section.6.3">6.3</a> <a id="character.sets" href="#character.sets">Character Encodings (charset)</a></h2>2244 <p id="rfc.section. 6.3.p.1">HTTP uses charset names to indicate the character encoding of a textual representation.</p>2204 </pre><p id="rfc.section.5.2.p.5">Product tokens <em class="bcp14">SHOULD</em> be short and to the point. They <em class="bcp14">MUST NOT</em> be used for advertising or other non-essential information. Although any token octet <em class="bcp14">MAY</em> appear in a product-version, this token <em class="bcp14">SHOULD</em> only be used for a version identifier (i.e., successive versions of the same product <em class="bcp14">SHOULD</em> only differ in the product-version portion of the product value). 2205 </p> 2206 <h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a> <a id="character.sets" href="#character.sets">Character Encodings (charset)</a></h2> 2207 <p id="rfc.section.5.3.p.1">HTTP uses charset names to indicate the character encoding of a textual representation.</p> 2245 2208 <div id="rule.charset"> 2246 <p id="rfc.section. 6.3.p.2"> A character encoding is identified by a case-insensitive token. The complete set of tokens is defined by the IANA Character2209 <p id="rfc.section.5.3.p.2"> A character encoding is identified by a case-insensitive token. The complete set of tokens is defined by the IANA Character 2247 2210 Set registry (<<a href="http://www.iana.org/assignments/character-sets">http://www.iana.org/assignments/character-sets</a>>). 2248 2211 </p> 2249 2212 </div> 2250 2213 <div id="rfc.figure.u.18"></div><pre class="inline"><span id="rfc.iref.g.24"></span> <a href="#rule.charset" class="smpl">charset</a> = <a href="#core.rules" class="smpl">token</a> 2251 </pre><p id="rfc.section. 6.3.p.4">Although HTTP allows an arbitrary token to be used as a charset value, any token that has a predefined value within the IANA2214 </pre><p id="rfc.section.5.3.p.4">Although HTTP allows an arbitrary token to be used as a charset value, any token that has a predefined value within the IANA 2252 2215 Character Set registry <em class="bcp14">MUST</em> represent the character encoding defined by that registry. Applications <em class="bcp14">SHOULD</em> limit their use of character encodings to those defined within the IANA registry. 2253 2216 </p> 2254 <p id="rfc.section. 6.3.p.5">HTTP uses charset in two contexts: within an Accept-Charset request header field (in which the charset value is an unquoted2217 <p id="rfc.section.5.3.p.5">HTTP uses charset in two contexts: within an Accept-Charset request header field (in which the charset value is an unquoted 2255 2218 token) and as the value of a parameter in a Content-Type header field (within a request or response), in which case the parameter 2256 2219 value of the charset parameter can be quoted. 2257 2220 </p> 2258 <p id="rfc.section. 6.3.p.6">Implementors need to be aware of IETF character set requirements <a href="#RFC3629" id="rfc.xref.RFC3629.1"><cite title="UTF-8, a transformation format of ISO 10646">[RFC3629]</cite></a> <a href="#RFC2277" id="rfc.xref.RFC2277.1"><cite title="IETF Policy on Character Sets and Languages">[RFC2277]</cite></a>.2259 </p> 2260 <h2 id="rfc.section. 6.4"><a href="#rfc.section.6.4">6.4</a> <a id="content.codings" href="#content.codings">Content Codings</a></h2>2261 <p id="rfc.section. 6.4.p.1">Content coding values indicate an encoding transformation that has been or can be applied to a representation. Content codings2221 <p id="rfc.section.5.3.p.6">Implementors need to be aware of IETF character set requirements <a href="#RFC3629" id="rfc.xref.RFC3629.1"><cite title="UTF-8, a transformation format of ISO 10646">[RFC3629]</cite></a> <a href="#RFC2277" id="rfc.xref.RFC2277.1"><cite title="IETF Policy on Character Sets and Languages">[RFC2277]</cite></a>. 2222 </p> 2223 <h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> <a id="content.codings" href="#content.codings">Content Codings</a></h2> 2224 <p id="rfc.section.5.4.p.1">Content coding values indicate an encoding transformation that has been or can be applied to a representation. Content codings 2262 2225 are primarily used to allow a representation to be compressed or otherwise usefully transformed without losing the identity 2263 2226 of its underlying media type and without loss of information. Frequently, the representation is stored in coded form, transmitted … … 2265 2228 </p> 2266 2229 <div id="rfc.figure.u.19"></div><pre class="inline"><span id="rfc.iref.g.25"></span> <a href="#content.codings" class="smpl">content-coding</a> = <a href="#core.rules" class="smpl">token</a> 2267 </pre><p id="rfc.section. 6.4.p.3">All content-coding values are case-insensitive. HTTP/1.1 uses content-coding values in the Accept-Encoding (<a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.2" title="Accept-Encoding">Section 10.13</a>) and Content-Encoding (<a href="#header.content-encoding" id="rfc.xref.header.content-encoding.1" title="Content-Encoding">Section 10.15</a>) header fields. Although the value describes the content-coding, what is more important is that it indicates what decoding2230 </pre><p id="rfc.section.5.4.p.3">All content-coding values are case-insensitive. HTTP/1.1 uses content-coding values in the Accept-Encoding (<a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.2" title="Accept-Encoding">Section 9.13</a>) and Content-Encoding (<a href="#header.content-encoding" id="rfc.xref.header.content-encoding.1" title="Content-Encoding">Section 9.15</a>) header fields. Although the value describes the content-coding, what is more important is that it indicates what decoding 2268 2231 mechanism will be required to remove the encoding. 2269 2232 </p> 2270 <p id="rfc.section. 6.4.p.4">compress<span id="rfc.iref.c.3"></span><span id="rfc.iref.c.4"></span>2233 <p id="rfc.section.5.4.p.4">compress<span id="rfc.iref.c.3"></span><span id="rfc.iref.c.4"></span> 2271 2234 </p> 2272 2235 <ul class="empty"> 2273 <li>See <a href="p1-messaging.html#compress.coding" title="Compress Coding">Section 4.2.1</a> of <a href="#Part1" id="rfc.xref.Part1. 40"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>.2274 </li> 2275 </ul> 2276 <p id="rfc.section. 6.4.p.5">deflate<span id="rfc.iref.d.2"></span><span id="rfc.iref.c.5"></span>2236 <li>See <a href="p1-messaging.html#compress.coding" title="Compress Coding">Section 4.2.1</a> of <a href="#Part1" id="rfc.xref.Part1.38"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. 2237 </li> 2238 </ul> 2239 <p id="rfc.section.5.4.p.5">deflate<span id="rfc.iref.d.2"></span><span id="rfc.iref.c.5"></span> 2277 2240 </p> 2278 2241 <ul class="empty"> 2279 <li>See <a href="p1-messaging.html#deflate.coding" title="Deflate Coding">Section 4.2.2</a> of <a href="#Part1" id="rfc.xref.Part1. 41"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>.2280 </li> 2281 </ul> 2282 <p id="rfc.section. 6.4.p.6">gzip<span id="rfc.iref.g.26"></span><span id="rfc.iref.c.6"></span>2242 <li>See <a href="p1-messaging.html#deflate.coding" title="Deflate Coding">Section 4.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.39"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. 2243 </li> 2244 </ul> 2245 <p id="rfc.section.5.4.p.6">gzip<span id="rfc.iref.g.26"></span><span id="rfc.iref.c.6"></span> 2283 2246 </p> 2284 2247 <ul class="empty"> 2285 <li>See <a href="p1-messaging.html#gzip.coding" title="Gzip Coding">Section 4.2.3</a> of <a href="#Part1" id="rfc.xref.Part1.4 2"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>.2286 </li> 2287 </ul> 2288 <h3 id="rfc.section. 6.4.1"><a href="#rfc.section.6.4.1">6.4.1</a> <a id="content.coding.registry" href="#content.coding.registry">Content Coding Registry</a></h3>2289 <p id="rfc.section. 6.4.1.p.1">The HTTP Content Coding Registry defines the name space for the content coding names.</p>2290 <p id="rfc.section. 6.4.1.p.2">Registrations <em class="bcp14">MUST</em> include the following fields:2248 <li>See <a href="p1-messaging.html#gzip.coding" title="Gzip Coding">Section 4.2.3</a> of <a href="#Part1" id="rfc.xref.Part1.40"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. 2249 </li> 2250 </ul> 2251 <h3 id="rfc.section.5.4.1"><a href="#rfc.section.5.4.1">5.4.1</a> <a id="content.coding.registry" href="#content.coding.registry">Content Coding Registry</a></h3> 2252 <p id="rfc.section.5.4.1.p.1">The HTTP Content Coding Registry defines the name space for the content coding names.</p> 2253 <p id="rfc.section.5.4.1.p.2">Registrations <em class="bcp14">MUST</em> include the following fields: 2291 2254 </p> 2292 2255 <ul> … … 2295 2258 <li>Pointer to specification text</li> 2296 2259 </ul> 2297 <p id="rfc.section. 6.4.1.p.3">Names of content codings <em class="bcp14">MUST NOT</em> overlap with names of transfer codings (<a href="p1-messaging.html#transfer.codings" title="Transfer Codings">Section 4</a> of <a href="#Part1" id="rfc.xref.Part1.43"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>), unless the encoding transformation is identical (as is the case for the compression codings defined in <a href="p1-messaging.html#compression.codings" title="Compression Codings">Section 4.2</a> of <a href="#Part1" id="rfc.xref.Part1.44"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>).2298 </p> 2299 <p id="rfc.section. 6.4.1.p.4">Values to be added to this name space require IETF Review (see <a href="http://tools.ietf.org/html/rfc5226#section-4.1">Section 4.1</a> of <a href="#RFC5226" id="rfc.xref.RFC5226.3"><cite title="Guidelines for Writing an IANA Considerations Section in RFCs">[RFC5226]</cite></a>), and <em class="bcp14">MUST</em> conform to the purpose of content coding defined in this section.2300 </p> 2301 <p id="rfc.section. 6.4.1.p.5">The registry itself is maintained at <<a href="http://www.iana.org/assignments/http-parameters">http://www.iana.org/assignments/http-parameters</a>>.2302 </p> 2303 <h2 id="rfc.section. 6.5"><a href="#rfc.section.6.5">6.5</a> <a id="media.types" href="#media.types">Media Types</a></h2>2304 <p id="rfc.section. 6.5.p.1">HTTP uses Internet Media Types <a href="#RFC2046" id="rfc.xref.RFC2046.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> in the Content-Type (<a href="#header.content-type" id="rfc.xref.header.content-type.3" title="Content-Type">Section 10.18</a>) and Accept (<a href="#header.accept" id="rfc.xref.header.accept.2" title="Accept">Section 10.11</a>) header fields in order to provide open and extensible data typing and type negotiation.2260 <p id="rfc.section.5.4.1.p.3">Names of content codings <em class="bcp14">MUST NOT</em> overlap with names of transfer codings (<a href="p1-messaging.html#transfer.codings" title="Transfer Codings">Section 4</a> of <a href="#Part1" id="rfc.xref.Part1.41"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>), unless the encoding transformation is identical (as is the case for the compression codings defined in <a href="p1-messaging.html#compression.codings" title="Compression Codings">Section 4.2</a> of <a href="#Part1" id="rfc.xref.Part1.42"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). 2261 </p> 2262 <p id="rfc.section.5.4.1.p.4">Values to be added to this name space require IETF Review (see <a href="http://tools.ietf.org/html/rfc5226#section-4.1">Section 4.1</a> of <a href="#RFC5226" id="rfc.xref.RFC5226.3"><cite title="Guidelines for Writing an IANA Considerations Section in RFCs">[RFC5226]</cite></a>), and <em class="bcp14">MUST</em> conform to the purpose of content coding defined in this section. 2263 </p> 2264 <p id="rfc.section.5.4.1.p.5">The registry itself is maintained at <<a href="http://www.iana.org/assignments/http-parameters">http://www.iana.org/assignments/http-parameters</a>>. 2265 </p> 2266 <h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> <a id="media.types" href="#media.types">Media Types</a></h2> 2267 <p id="rfc.section.5.5.p.1">HTTP uses Internet Media Types <a href="#RFC2046" id="rfc.xref.RFC2046.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> in the Content-Type (<a href="#header.content-type" id="rfc.xref.header.content-type.3" title="Content-Type">Section 9.18</a>) and Accept (<a href="#header.accept" id="rfc.xref.header.accept.2" title="Accept">Section 9.11</a>) header fields in order to provide open and extensible data typing and type negotiation. 2305 2268 </p> 2306 2269 <div id="rfc.figure.u.20"></div><pre class="inline"><span id="rfc.iref.g.27"></span><span id="rfc.iref.g.28"></span><span id="rfc.iref.g.29"></span> <a href="#media.types" class="smpl">media-type</a> = <a href="#media.types" class="smpl">type</a> "/" <a href="#media.types" class="smpl">subtype</a> *( <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#rule.parameter" class="smpl">parameter</a> ) … … 2308 2271 <a href="#media.types" class="smpl">subtype</a> = <a href="#core.rules" class="smpl">token</a> 2309 2272 </pre><div id="rule.parameter"> 2310 <p id="rfc.section. 6.5.p.3"> The type/subtype <em class="bcp14">MAY</em> be followed by parameters in the form of attribute/value pairs.2273 <p id="rfc.section.5.5.p.3"> The type/subtype <em class="bcp14">MAY</em> be followed by parameters in the form of attribute/value pairs. 2311 2274 </p> 2312 2275 </div> … … 2314 2277 <a href="#rule.parameter" class="smpl">attribute</a> = <a href="#core.rules" class="smpl">token</a> 2315 2278 <a href="#rule.parameter" class="smpl">value</a> = <a href="#core.rules" class="smpl">word</a> 2316 </pre><p id="rfc.section. 6.5.p.5">The type, subtype, and parameter attribute names are case-insensitive. Parameter values might or might not be case-sensitive,2279 </pre><p id="rfc.section.5.5.p.5">The type, subtype, and parameter attribute names are case-insensitive. Parameter values might or might not be case-sensitive, 2317 2280 depending on the semantics of the parameter name. The presence or absence of a parameter might be significant to the processing 2318 2281 of a media-type, depending on its definition within the media type registry. 2319 2282 </p> 2320 <p id="rfc.section. 6.5.p.6">A parameter value that matches the <a href="#core.rules" class="smpl">token</a> production can be transmitted as either a token or within a quoted-string. The quoted and unquoted values are equivalent.2321 </p> 2322 <p id="rfc.section. 6.5.p.7">Note that some older HTTP applications do not recognize media type parameters. When sending data to older HTTP applications,2283 <p id="rfc.section.5.5.p.6">A parameter value that matches the <a href="#core.rules" class="smpl">token</a> production can be transmitted as either a token or within a quoted-string. The quoted and unquoted values are equivalent. 2284 </p> 2285 <p id="rfc.section.5.5.p.7">Note that some older HTTP applications do not recognize media type parameters. When sending data to older HTTP applications, 2323 2286 implementations <em class="bcp14">SHOULD</em> only use media type parameters when they are required by that type/subtype definition. 2324 2287 </p> 2325 <p id="rfc.section. 6.5.p.8">Media-type values are registered with the Internet Assigned Number Authority (IANA). The media type registration process is2288 <p id="rfc.section.5.5.p.8">Media-type values are registered with the Internet Assigned Number Authority (IANA). The media type registration process is 2326 2289 outlined in <a href="#RFC4288" id="rfc.xref.RFC4288.1"><cite title="Media Type Specifications and Registration Procedures">[RFC4288]</cite></a>. Use of non-registered media types is discouraged. 2327 2290 </p> 2328 <h3 id="rfc.section. 6.5.1"><a href="#rfc.section.6.5.1">6.5.1</a> <a id="canonicalization.and.text.defaults" href="#canonicalization.and.text.defaults">Canonicalization and Text Defaults</a></h3>2329 <p id="rfc.section. 6.5.1.p.1">Internet media types are registered with a canonical form. A representation transferred via HTTP messages <em class="bcp14">MUST</em> be in the appropriate canonical form prior to its transmission except for "text" types, as defined in the next paragraph.2330 </p> 2331 <p id="rfc.section. 6.5.1.p.2">When in canonical form, media subtypes of the "text" type use CRLF as the text line break. HTTP relaxes this requirement and2291 <h3 id="rfc.section.5.5.1"><a href="#rfc.section.5.5.1">5.5.1</a> <a id="canonicalization.and.text.defaults" href="#canonicalization.and.text.defaults">Canonicalization and Text Defaults</a></h3> 2292 <p id="rfc.section.5.5.1.p.1">Internet media types are registered with a canonical form. A representation transferred via HTTP messages <em class="bcp14">MUST</em> be in the appropriate canonical form prior to its transmission except for "text" types, as defined in the next paragraph. 2293 </p> 2294 <p id="rfc.section.5.5.1.p.2">When in canonical form, media subtypes of the "text" type use CRLF as the text line break. HTTP relaxes this requirement and 2332 2295 allows the transport of text media with plain CR or LF alone representing a line break when it is done consistently for an 2333 2296 entire representation. HTTP applications <em class="bcp14">MUST</em> accept CRLF, bare CR, and bare LF as indicating a line break in text media received via HTTP. In addition, if the text is … … 2337 2300 body; a bare CR or LF <em class="bcp14">MUST NOT</em> be substituted for CRLF within any of the HTTP control structures (such as header fields and multipart boundaries). 2338 2301 </p> 2339 <p id="rfc.section. 6.5.1.p.3">If a representation is encoded with a content-coding, the underlying data <em class="bcp14">MUST</em> be in a form defined above prior to being encoded.2340 </p> 2341 <h3 id="rfc.section. 6.5.2"><a href="#rfc.section.6.5.2">6.5.2</a> <a id="multipart.types" href="#multipart.types">Multipart Types</a></h3>2342 <p id="rfc.section. 6.5.2.p.1">MIME provides for a number of "multipart" types — encapsulations of one or more representations within a single message body.2302 <p id="rfc.section.5.5.1.p.3">If a representation is encoded with a content-coding, the underlying data <em class="bcp14">MUST</em> be in a form defined above prior to being encoded. 2303 </p> 2304 <h3 id="rfc.section.5.5.2"><a href="#rfc.section.5.5.2">5.5.2</a> <a id="multipart.types" href="#multipart.types">Multipart Types</a></h3> 2305 <p id="rfc.section.5.5.2.p.1">MIME provides for a number of "multipart" types — encapsulations of one or more representations within a single message body. 2343 2306 All multipart types share a common syntax, as defined in <a href="http://tools.ietf.org/html/rfc2046#section-5.1.1">Section 5.1.1</a> of <a href="#RFC2046" id="rfc.xref.RFC2046.2"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a>, and <em class="bcp14">MUST</em> include a boundary parameter as part of the media type value. The message body is itself a protocol element and <em class="bcp14">MUST</em> therefore use only CRLF to represent line breaks between body-parts. 2344 2307 </p> 2345 <p id="rfc.section. 6.5.2.p.2">In general, HTTP treats a multipart message body no differently than any other media type: strictly as payload. HTTP does2308 <p id="rfc.section.5.5.2.p.2">In general, HTTP treats a multipart message body no differently than any other media type: strictly as payload. HTTP does 2346 2309 not use the multipart boundary as an indicator of message body length. In all other respects, an HTTP user agent <em class="bcp14">SHOULD</em> follow the same or similar behavior as a MIME user agent would upon receipt of a multipart type. The MIME header fields within 2347 2310 each body-part of a multipart message body do not have any significance to HTTP beyond that defined by their MIME semantics. 2348 2311 </p> 2349 <p id="rfc.section. 6.5.2.p.3">If an application receives an unrecognized multipart subtype, the application <em class="bcp14">MUST</em> treat it as being equivalent to "multipart/mixed".2350 </p> 2351 <div class="note" id="rfc.section. 6.5.2.p.4">2312 <p id="rfc.section.5.5.2.p.3">If an application receives an unrecognized multipart subtype, the application <em class="bcp14">MUST</em> treat it as being equivalent to "multipart/mixed". 2313 </p> 2314 <div class="note" id="rfc.section.5.5.2.p.4"> 2352 2315 <p> <b>Note:</b> The "multipart/form-data" type has been specifically defined for carrying form data suitable for processing via the POST request 2353 2316 method, as described in <a href="#RFC2388" id="rfc.xref.RFC2388.1"><cite title="Returning Values from Forms: multipart/form-data">[RFC2388]</cite></a>. 2354 2317 </p> 2355 2318 </div> 2356 <h2 id="rfc.section. 6.6"><a href="#rfc.section.6.6">6.6</a> <a id="language.tags" href="#language.tags">Language Tags</a></h2>2357 <p id="rfc.section. 6.6.p.1">A language tag, as defined in <a href="#RFC5646" id="rfc.xref.RFC5646.1"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a>, identifies a natural language spoken, written, or otherwise conveyed by human beings for communication of information to2319 <h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> <a id="language.tags" href="#language.tags">Language Tags</a></h2> 2320 <p id="rfc.section.5.6.p.1">A language tag, as defined in <a href="#RFC5646" id="rfc.xref.RFC5646.1"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a>, identifies a natural language spoken, written, or otherwise conveyed by human beings for communication of information to 2358 2321 other human beings. Computer languages are explicitly excluded. HTTP uses language tags within the Accept-Language and Content-Language 2359 2322 fields. 2360 2323 </p> 2361 <p id="rfc.section. 6.6.p.2">In summary, a language tag is composed of one or more parts: A primary language subtag followed by a possibly empty series2324 <p id="rfc.section.5.6.p.2">In summary, a language tag is composed of one or more parts: A primary language subtag followed by a possibly empty series 2362 2325 of subtags: 2363 2326 </p> 2364 2327 <div id="rfc.figure.u.22"></div><pre class="inline"><span id="rfc.iref.g.33"></span> <a href="#language.tags" class="smpl">language-tag</a> = <Language-Tag, defined in <a href="#RFC5646" id="rfc.xref.RFC5646.2"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a>, <a href="http://tools.ietf.org/html/rfc5646#section-2.1">Section 2.1</a>> 2365 </pre><p id="rfc.section. 6.6.p.4">White space is not allowed within the tag and all tags are case-insensitive. The name space of language subtags is administered2328 </pre><p id="rfc.section.5.6.p.4">White space is not allowed within the tag and all tags are case-insensitive. The name space of language subtags is administered 2366 2329 by the IANA (see <<a href="http://www.iana.org/assignments/language-subtag-registry">http://www.iana.org/assignments/language-subtag-registry</a>>). 2367 2330 </p> 2368 2331 <div id="rfc.figure.u.23"></div> 2369 2332 <p>Example tags include:</p> <pre class="text"> en, en-US, es-419, az-Arab, x-pig-latin, man-Nkoo-GN 2370 </pre> <p id="rfc.section. 6.6.p.6">See <a href="#RFC5646" id="rfc.xref.RFC5646.3"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a> for further information.2371 </p> 2372 <h1 id="rfc.section. 7"><a href="#rfc.section.7">7.</a> <a id="payload" href="#payload">Payload</a></h1>2373 <p id="rfc.section. 7.p.1">HTTP messages <em class="bcp14">MAY</em> transfer a payload if not otherwise restricted by the request method or response status code. The payload consists of metadata,2333 </pre> <p id="rfc.section.5.6.p.6">See <a href="#RFC5646" id="rfc.xref.RFC5646.3"><cite title="Tags for Identifying Languages">[RFC5646]</cite></a> for further information. 2334 </p> 2335 <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a> <a id="payload" href="#payload">Payload</a></h1> 2336 <p id="rfc.section.6.p.1">HTTP messages <em class="bcp14">MAY</em> transfer a payload if not otherwise restricted by the request method or response status code. The payload consists of metadata, 2374 2337 in the form of header fields, and data, in the form of the sequence of octets in the message body after any transfer-coding 2375 2338 has been decoded. 2376 2339 </p> 2377 2340 <div id="rfc.iref.p.3"></div> 2378 <p id="rfc.section. 7.p.2">A "<dfn>payload</dfn>" in HTTP is always a partial or complete representation of some resource. We use separate terms for payload and representation2341 <p id="rfc.section.6.p.2">A "<dfn>payload</dfn>" in HTTP is always a partial or complete representation of some resource. We use separate terms for payload and representation 2379 2342 because some messages contain only the associated representation's header fields (e.g., responses to HEAD) or only some part(s) 2380 2343 of the representation (e.g., the 206 status code). 2381 2344 </p> 2382 <h2 id="rfc.section. 7.1"><a href="#rfc.section.7.1">7.1</a> <a id="payload.header.fields" href="#payload.header.fields">Payload Header Fields</a></h2>2383 <p id="rfc.section. 7.1.p.1">HTTP header fields that specifically define the payload, rather than the associated representation, are referred to as "payload2345 <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a> <a id="payload.header.fields" href="#payload.header.fields">Payload Header Fields</a></h2> 2346 <p id="rfc.section.6.1.p.1">HTTP header fields that specifically define the payload, rather than the associated representation, are referred to as "payload 2384 2347 header fields". The following payload header fields are defined by HTTP/1.1: 2385 2348 </p> … … 2395 2358 <tr> 2396 2359 <td class="left">Content-Length</td> 2397 <td class="left"><a href="p1-messaging.html#header.content-length" title="Content-Length">Section 3.3.2</a> of <a href="#Part1" id="rfc.xref.Part1.4 5"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a></td>2360 <td class="left"><a href="p1-messaging.html#header.content-length" title="Content-Length">Section 3.3.2</a> of <a href="#Part1" id="rfc.xref.Part1.43"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a></td> 2398 2361 </tr> 2399 2362 <tr> … … 2404 2367 </table> 2405 2368 </div> 2406 <h2 id="rfc.section. 7.2"><a href="#rfc.section.7.2">7.2</a> <a id="payload.body" href="#payload.body">Payload Body</a></h2>2407 <p id="rfc.section. 7.2.p.1">A payload body is only present in a message when a message body is present, as described in <a href="p1-messaging.html#message.body" title="Message Body">Section 3.3</a> of <a href="#Part1" id="rfc.xref.Part1.46"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. The payload body is obtained from the message body by decoding any Transfer-Encoding that might have been applied to ensure2369 <h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a> <a id="payload.body" href="#payload.body">Payload Body</a></h2> 2370 <p id="rfc.section.6.2.p.1">A payload body is only present in a message when a message body is present, as described in <a href="p1-messaging.html#message.body" title="Message Body">Section 3.3</a> of <a href="#Part1" id="rfc.xref.Part1.44"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. The payload body is obtained from the message body by decoding any Transfer-Encoding that might have been applied to ensure 2408 2371 safe and proper transfer of the message. 2409 2372 </p> 2410 2373 <div id="rfc.iref.r.1"></div> 2411 <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a> <a id="representation-TODO" href="#representation-TODO">Representation</a></h1> 2412 <p id="rfc.section.8.p.1">A "<dfn>representation</dfn>" is information in a format that can be readily communicated from one party to another. A resource representation is information 2374 <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a> Representation 2375 </h1> 2376 <p id="rfc.section.7.p.1">A "<dfn>representation</dfn>" is information in a format that can be readily communicated from one party to another. A resource representation is information 2413 2377 that reflects the state of that resource, as observed at some point in the past (e.g., in a response to GET) or to be desired 2414 2378 at some point in the future (e.g., in a PUT request). 2415 2379 </p> 2416 <p id="rfc.section. 8.p.2">Most, but not all, representations transferred via HTTP are intended to be a representation of the target resource (the resource2380 <p id="rfc.section.7.p.2">Most, but not all, representations transferred via HTTP are intended to be a representation of the target resource (the resource 2417 2381 identified by the effective request URI). The precise semantics of a representation are determined by the type of message 2418 2382 (request or response), the request method, the response status code, and the representation metadata. For example, the above … … 2423 2387 next steps are suggested for resolving it. 2424 2388 </p> 2425 <h2 id="rfc.section.8.1"><a href="#rfc.section.8.1">8.1</a> <a id="representation.header.fields" href="#representation.header.fields">Representation Header Fields</a></h2> 2426 <p id="rfc.section.8.1.p.1">Representation header fields define metadata about the representation data enclosed in the message body or, if no message 2389 <p id="rfc.section.7.p.3">Request and Response messages <em class="bcp14">MAY</em> transfer a representation if not otherwise restricted by the request method or response status code. A representation consists 2390 of metadata (representation header fields) and data (representation body). When a complete or partial representation is enclosed 2391 in an HTTP message, it is referred to as the payload of the message.<span class="comment" id="rfc.comment.2">[<a href="#rfc.comment.2" class="smpl">rfc.comment.2</a>: MOVEDFIXME]</span> 2392 </p> 2393 <p id="rfc.section.7.p.4">A representation body is only present in a message when a message body is present, as described in <a href="p1-messaging.html#message.body" title="Message Body">Section 3.3</a> of <a href="#Part1" id="rfc.xref.Part1.45"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. The representation body is obtained from the message body by decoding any Transfer-Encoding that might have been applied 2394 to ensure safe and proper transfer of the message.<span class="comment" id="rfc.comment.3">[<a href="#rfc.comment.3" class="smpl">rfc.comment.3</a>: MOVEDFIXME]</span> 2395 </p> 2396 <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> <a id="identifying.response.associated.with.representation" href="#identifying.response.associated.with.representation">Identifying the Resource Associated with a Representation</a></h2> 2397 <p id="rfc.section.7.1.p.1">It is sometimes necessary to determine an identifier for the resource associated with a representation.</p> 2398 <p id="rfc.section.7.1.p.2">An HTTP request representation, when present, is always associated with an anonymous (i.e., unidentified) resource.</p> 2399 <p id="rfc.section.7.1.p.3">In the common case, an HTTP response is a representation of the target resource (see <a href="p1-messaging.html#effective.request.uri" title="Effective Request URI">Section 5.5</a> of <a href="#Part1" id="rfc.xref.Part1.46"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). However, this is not always the case. To determine the URI of the resource a response is associated with, the following 2400 rules are used (with the first applicable one being selected): 2401 </p> 2402 <ol> 2403 <li>If the response status code is 200 or 203 and the request method was GET, the response payload is a representation of the 2404 target resource. 2405 </li> 2406 <li>If the response status code is 204, 206, or 304 and the request method was GET or HEAD, the response payload is a partial 2407 representation of the target resource. 2408 </li> 2409 <li>If the response has a Content-Location header field, and that URI is the same as the effective request URI, the response payload 2410 is a representation of the target resource. 2411 </li> 2412 <li>If the response has a Content-Location header field, and that URI is not the same as the effective request URI, then the response 2413 asserts that its payload is a representation of the resource identified by the Content-Location URI. However, such an assertion 2414 cannot be trusted unless it can be verified by other means (not defined by HTTP). 2415 </li> 2416 <li>Otherwise, the response is a representation of an anonymous (i.e., unidentified) resource.</li> 2417 </ol> 2418 <p id="rfc.section.7.1.p.5"> <span class="comment" id="TODO-req-uri">[<a href="#TODO-req-uri" class="smpl">TODO-req-uri</a>: The comparison function is going to have to be defined somewhere, because we already need to compare URIs for things like 2419 cache invalidation.]</span> 2420 </p> 2421 <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> <a id="representation.header.fields" href="#representation.header.fields">Representation Header Fields</a></h2> 2422 <p id="rfc.section.7.2.p.1">Representation header fields define metadata about the representation data enclosed in the message body or, if no message 2427 2423 body is present, about the representation that would have been transferred in a 200 response to a simultaneous GET request 2428 2424 with the same effective request URI. 2429 2425 </p> 2430 <p id="rfc.section. 8.1.p.2">The following header fields are defined as representation metadata:</p>2426 <p id="rfc.section.7.2.p.2">The following header fields are defined as representation metadata:</p> 2431 2427 <div id="rfc.table.u.5"> 2432 2428 <table class="tt full left" cellpadding="3" cellspacing="0"> … … 2440 2436 <tr> 2441 2437 <td class="left">Content-Encoding</td> 2442 <td class="left"><a href="#header.content-encoding" id="rfc.xref.header.content-encoding.2" title="Content-Encoding">Section 10.15</a></td>2438 <td class="left"><a href="#header.content-encoding" id="rfc.xref.header.content-encoding.2" title="Content-Encoding">Section 9.15</a></td> 2443 2439 </tr> 2444 2440 <tr> 2445 2441 <td class="left">Content-Language</td> 2446 <td class="left"><a href="#header.content-language" id="rfc.xref.header.content-language.1" title="Content-Language">Section 10.16</a></td>2442 <td class="left"><a href="#header.content-language" id="rfc.xref.header.content-language.1" title="Content-Language">Section 9.16</a></td> 2447 2443 </tr> 2448 2444 <tr> 2449 2445 <td class="left">Content-Location</td> 2450 <td class="left"><a href="#header.content-location" id="rfc.xref.header.content-location.2" title="Content-Location">Section 10.17</a></td>2446 <td class="left"><a href="#header.content-location" id="rfc.xref.header.content-location.2" title="Content-Location">Section 9.17</a></td> 2451 2447 </tr> 2452 2448 <tr> 2453 2449 <td class="left">Content-Type</td> 2454 <td class="left"><a href="#header.content-type" id="rfc.xref.header.content-type.4" title="Content-Type">Section 10.18</a></td>2450 <td class="left"><a href="#header.content-type" id="rfc.xref.header.content-type.4" title="Content-Type">Section 9.18</a></td> 2455 2451 </tr> 2456 2452 <tr> … … 2461 2457 </table> 2462 2458 </div> 2463 <p id="rfc.section. 8.1.p.3">Additional header fields define metadata about the selected representation, which might differ from the representation included2459 <p id="rfc.section.7.2.p.3">Additional header fields define metadata about the selected representation, which might differ from the representation included 2464 2460 in the message for responses to some state-changing methods. The following header fields are defined as selected representation 2465 2461 metadata: … … 2485 2481 </table> 2486 2482 </div> 2487 <h2 id="rfc.section. 8.2"><a href="#rfc.section.8.2">8.2</a> <a id="representation.data" href="#representation.data">Representation Data</a></h2>2488 <p id="rfc.section. 8.2.p.1">The representation body associated with an HTTP message is either provided as the payload body of the message or referred2483 <h2 id="rfc.section.7.3"><a href="#rfc.section.7.3">7.3</a> <a id="representation.data" href="#representation.data">Representation Data</a></h2> 2484 <p id="rfc.section.7.3.p.1">The representation body associated with an HTTP message is either provided as the payload body of the message or referred 2489 2485 to by the message semantics and the effective request URI. The representation data is in a format and encoding defined by 2490 2486 the representation metadata header fields. 2491 2487 </p> 2492 <p id="rfc.section. 8.2.p.2">The data type of the representation data is determined via the header fields Content-Type and Content-Encoding. These define2488 <p id="rfc.section.7.3.p.2">The data type of the representation data is determined via the header fields Content-Type and Content-Encoding. These define 2493 2489 a two-layer, ordered encoding model: 2494 2490 </p> 2495 2491 <div id="rfc.figure.u.24"></div><pre class="text"> representation-data := Content-Encoding( Content-Type( bits ) ) 2496 </pre><p id="rfc.section. 8.2.p.4">Content-Type specifies the media type of the underlying data, which defines both the data format and how that data <em class="bcp14">SHOULD</em> be processed by the recipient (within the scope of the request method semantics). Any HTTP/1.1 message containing a payload2492 </pre><p id="rfc.section.7.3.p.4">Content-Type specifies the media type of the underlying data, which defines both the data format and how that data <em class="bcp14">SHOULD</em> be processed by the recipient (within the scope of the request method semantics). Any HTTP/1.1 message containing a payload 2497 2493 body <em class="bcp14">SHOULD</em> include a Content-Type header field defining the media type of the associated representation unless that metadata is unknown 2498 2494 to the sender. If the Content-Type header field is not present, it indicates that the sender does not know the media type 2499 2495 of the representation; recipients <em class="bcp14">MAY</em> either assume that the media type is "application/octet-stream" (<a href="#RFC2046" id="rfc.xref.RFC2046.3"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a>, <a href="http://tools.ietf.org/html/rfc2046#section-4.5.1">Section 4.5.1</a>) or examine the content to determine its type. 2500 2496 </p> 2501 <p id="rfc.section. 8.2.p.5">In practice, resource owners do not always properly configure their origin server to provide the correct Content-Type for2497 <p id="rfc.section.7.3.p.5">In practice, resource owners do not always properly configure their origin server to provide the correct Content-Type for 2502 2498 a given representation, with the result that some clients will examine a response body's content and override the specified 2503 2499 type. Clients that do so risk drawing incorrect conclusions, which might expose additional security risks (e.g., "privilege … … 2506 2502 such "content sniffing" when it is used. 2507 2503 </p> 2508 <p id="rfc.section. 8.2.p.6">Content-Encoding is used to indicate any additional content codings applied to the data, usually for the purpose of data compression,2504 <p id="rfc.section.7.3.p.6">Content-Encoding is used to indicate any additional content codings applied to the data, usually for the purpose of data compression, 2509 2505 that are a property of the representation. If Content-Encoding is not present, then there is no additional encoding beyond 2510 2506 that defined by the Content-Type. 2511 2507 </p> 2512 <h1 id="rfc.section. 9"><a href="#rfc.section.9">9.</a> <a id="content.negotiation" href="#content.negotiation">Content Negotiation</a></h1>2513 <p id="rfc.section. 9.p.1">HTTP responses include a representation which contains information for interpretation, whether by a human user or for further2508 <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a> <a id="content.negotiation" href="#content.negotiation">Content Negotiation</a></h1> 2509 <p id="rfc.section.8.p.1">HTTP responses include a representation which contains information for interpretation, whether by a human user or for further 2514 2510 processing. Often, the server has different ways of representing the same information; for example, in different formats, 2515 2511 languages, or using different character encodings. 2516 2512 </p> 2517 <p id="rfc.section. 9.p.2">HTTP clients and their users might have different or variable capabilities, characteristics or preferences which would influence2513 <p id="rfc.section.8.p.2">HTTP clients and their users might have different or variable capabilities, characteristics or preferences which would influence 2518 2514 which representation, among those available from the server, would be best for the server to deliver. For this reason, HTTP 2519 2515 provides mechanisms for "content negotiation" — a process of allowing selection of a representation of a given resource, when 2520 2516 more than one is available. 2521 2517 </p> 2522 <p id="rfc.section. 9.p.3">This specification defines two patterns of content negotiation; "server-driven", where the server selects the representation2518 <p id="rfc.section.8.p.3">This specification defines two patterns of content negotiation; "server-driven", where the server selects the representation 2523 2519 based upon the client's stated preferences, and "agent-driven" negotiation, where the server provides a list of representations 2524 2520 for the client to choose from, based upon their metadata. In addition, there are other patterns: some applications use an … … 2526 2522 parameters, selects additional resources to invoke. "Transparent Content Negotiation" (<a href="#RFC2295" id="rfc.xref.RFC2295.1"><cite title="Transparent Content Negotiation in HTTP">[RFC2295]</cite></a>) has also been proposed. 2527 2523 </p> 2528 <p id="rfc.section. 9.p.4">These patterns are all widely used, and have trade-offs in applicability and practicality. In particular, when the number2524 <p id="rfc.section.8.p.4">These patterns are all widely used, and have trade-offs in applicability and practicality. In particular, when the number 2529 2525 of preferences or capabilities to be expressed by a client are large (such as when many different formats are supported by 2530 2526 a user-agent), server-driven negotiation becomes unwieldy, and might not be appropriate. Conversely, when the number of representations 2531 2527 to choose from is very large, agent-driven negotiation might not be appropriate. 2532 2528 </p> 2533 <p id="rfc.section. 9.p.5">Note that in all cases, the supplier of representations has the responsibility for determining which representations might2529 <p id="rfc.section.8.p.5">Note that in all cases, the supplier of representations has the responsibility for determining which representations might 2534 2530 be considered to be the "same information". 2535 2531 </p> 2536 <h2 id="rfc.section. 9.1"><a href="#rfc.section.9.1">9.1</a> <a id="server-driven.negotiation" href="#server-driven.negotiation">Server-driven Negotiation</a></h2>2537 <p id="rfc.section. 9.1.p.1">If the selection of the best representation for a response is made by an algorithm located at the server, it is called server-driven2532 <h2 id="rfc.section.8.1"><a href="#rfc.section.8.1">8.1</a> <a id="server-driven.negotiation" href="#server-driven.negotiation">Server-driven Negotiation</a></h2> 2533 <p id="rfc.section.8.1.p.1">If the selection of the best representation for a response is made by an algorithm located at the server, it is called server-driven 2538 2534 negotiation. Selection is based on the available representations of the response (the dimensions over which it can vary; e.g., 2539 2535 language, content-coding, etc.) and the contents of particular header fields in the request message or on other information 2540 2536 pertaining to the request (such as the network address of the client). 2541 2537 </p> 2542 <p id="rfc.section. 9.1.p.2">Server-driven negotiation is advantageous when the algorithm for selecting from among the available representations is difficult2538 <p id="rfc.section.8.1.p.2">Server-driven negotiation is advantageous when the algorithm for selecting from among the available representations is difficult 2543 2539 to describe to the user agent, or when the server desires to send its "best guess" to the client along with the first response 2544 2540 (hoping to avoid the round-trip delay of a subsequent request if the "best guess" is good enough for the user). In order to 2545 2541 improve the server's guess, the user agent <em class="bcp14">MAY</em> include request header fields (Accept, Accept-Language, Accept-Encoding, etc.) which describe its preferences for such a response. 2546 2542 </p> 2547 <p id="rfc.section. 9.1.p.3">Server-driven negotiation has disadvantages: </p>2543 <p id="rfc.section.8.1.p.3">Server-driven negotiation has disadvantages: </p> 2548 2544 <ol> 2549 2545 <li>It is impossible for the server to accurately determine what might be "best" for any given user, since that would require … … 2557 2553 <li>It might limit a public cache's ability to use the same response for multiple user's requests.</li> 2558 2554 </ol> 2559 <p id="rfc.section. 9.1.p.4">Server-driven negotiation allows the user agent to specify its preferences, but it cannot expect responses to always honor2555 <p id="rfc.section.8.1.p.4">Server-driven negotiation allows the user agent to specify its preferences, but it cannot expect responses to always honor 2560 2556 them. For example, the origin server might not implement server-driven negotiation, or it might decide that sending a response 2561 2557 that doesn't conform to them is better than sending a 406 (Not Acceptable) response. 2562 2558 </p> 2563 <p id="rfc.section. 9.1.p.5">Many of the mechanisms for expressing preferences use quality values to declare relative preference. See qvalue; for more2559 <p id="rfc.section.8.1.p.5">Many of the mechanisms for expressing preferences use quality values to declare relative preference. See qvalue; for more 2564 2560 information. 2565 2561 </p> 2566 <p id="rfc.section. 9.1.p.6">HTTP/1.1 includes the following header fields for enabling server-driven negotiation through description of user agent capabilities2567 and user preferences: Accept (<a href="#header.accept" id="rfc.xref.header.accept.3" title="Accept">Section 10.11</a>), Accept-Charset (<a href="#header.accept-charset" id="rfc.xref.header.accept-charset.2" title="Accept-Charset">Section 10.12</a>), Accept-Encoding (<a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.3" title="Accept-Encoding">Section 10.13</a>), Accept-Language (<a href="#header.accept-language" id="rfc.xref.header.accept-language.2" title="Accept-Language">Section 10.14</a>), and User-Agent (<a href="#header.user-agent" id="rfc.xref.header.user-agent.2" title="User-Agent">Section 10.10</a>). However, an origin server is not limited to these dimensions and <em class="bcp14">MAY</em> vary the response based on any aspect of the request, including aspects of the connection (e.g., IP address) or information2562 <p id="rfc.section.8.1.p.6">HTTP/1.1 includes the following header fields for enabling server-driven negotiation through description of user agent capabilities 2563 and user preferences: Accept (<a href="#header.accept" id="rfc.xref.header.accept.3" title="Accept">Section 9.11</a>), Accept-Charset (<a href="#header.accept-charset" id="rfc.xref.header.accept-charset.2" title="Accept-Charset">Section 9.12</a>), Accept-Encoding (<a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.3" title="Accept-Encoding">Section 9.13</a>), Accept-Language (<a href="#header.accept-language" id="rfc.xref.header.accept-language.2" title="Accept-Language">Section 9.14</a>), and User-Agent (<a href="#header.user-agent" id="rfc.xref.header.user-agent.2" title="User-Agent">Section 9.10</a>). However, an origin server is not limited to these dimensions and <em class="bcp14">MAY</em> vary the response based on any aspect of the request, including aspects of the connection (e.g., IP address) or information 2568 2564 within extension header fields not defined by this specification. 2569 2565 </p> 2570 <div class="note" id="rfc.section. 9.1.p.7">2566 <div class="note" id="rfc.section.8.1.p.7"> 2571 2567 <p> <b>Note:</b> In practice, User-Agent based negotiation is fragile, because new clients might not be recognized. 2572 2568 </p> 2573 2569 </div> 2574 <p id="rfc.section. 9.1.p.8">The Vary header field (<a href="p6-cache.html#header.vary" title="Vary">Section 3.5</a> of <a href="#Part6" id="rfc.xref.Part6.19"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>) can be used to express the parameters the server uses to select a representation that is subject to server-driven negotiation.2575 </p> 2576 <h2 id="rfc.section. 9.2"><a href="#rfc.section.9.2">9.2</a> <a id="agent-driven.negotiation" href="#agent-driven.negotiation">Agent-driven Negotiation</a></h2>2577 <p id="rfc.section. 9.2.p.1">With agent-driven negotiation, selection of the best representation for a response is performed by the user agent after receiving2570 <p id="rfc.section.8.1.p.8">The Vary header field (<a href="p6-cache.html#header.vary" title="Vary">Section 3.5</a> of <a href="#Part6" id="rfc.xref.Part6.19"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>) can be used to express the parameters the server uses to select a representation that is subject to server-driven negotiation. 2571 </p> 2572 <h2 id="rfc.section.8.2"><a href="#rfc.section.8.2">8.2</a> <a id="agent-driven.negotiation" href="#agent-driven.negotiation">Agent-driven Negotiation</a></h2> 2573 <p id="rfc.section.8.2.p.1">With agent-driven negotiation, selection of the best representation for a response is performed by the user agent after receiving 2578 2574 an initial response from the origin server. Selection is based on a list of the available representations of the response 2579 2575 included within the header fields or body of the initial response, with each representation identified by its own URI. Selection … … 2581 2577 user selecting from a generated (possibly hypertext) menu. 2582 2578 </p> 2583 <p id="rfc.section. 9.2.p.2">Agent-driven negotiation is advantageous when the response would vary over commonly-used dimensions (such as type, language,2579 <p id="rfc.section.8.2.p.2">Agent-driven negotiation is advantageous when the response would vary over commonly-used dimensions (such as type, language, 2584 2580 or encoding), when the origin server is unable to determine a user agent's capabilities from examining the request, and generally 2585 2581 when public caches are used to distribute server load and reduce network usage. 2586 2582 </p> 2587 <p id="rfc.section. 9.2.p.3">Agent-driven negotiation suffers from the disadvantage of needing a second request to obtain the best alternate representation.2583 <p id="rfc.section.8.2.p.3">Agent-driven negotiation suffers from the disadvantage of needing a second request to obtain the best alternate representation. 2588 2584 This second request is only efficient when caching is used. In addition, this specification does not define any mechanism 2589 2585 for supporting automatic selection, though it also does not prevent any such mechanism from being developed as an extension 2590 2586 and used within HTTP/1.1. 2591 2587 </p> 2592 <p id="rfc.section. 9.2.p.4">This specification defines the 300 (Multiple Choices) and 406 (Not Acceptable) status codes for enabling agent-driven negotiation2588 <p id="rfc.section.8.2.p.4">This specification defines the 300 (Multiple Choices) and 406 (Not Acceptable) status codes for enabling agent-driven negotiation 2593 2589 when the server is unwilling or unable to provide a varying response using server-driven negotiation. 2594 2590 </p> 2595 <h1 id="rfc.section. 10"><a href="#rfc.section.10">10.</a> <a id="header.field.definitions" href="#header.field.definitions">Header Field Definitions</a></h1>2596 <p id="rfc.section. 10.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to request and response semantics, and to2591 <h1 id="rfc.section.9"><a href="#rfc.section.9">9.</a> <a id="header.field.definitions" href="#header.field.definitions">Header Field Definitions</a></h1> 2592 <p id="rfc.section.9.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to request and response semantics, and to 2597 2593 the payload of messages. 2598 2594 </p> 2599 2595 <div id="rfc.iref.a.1"></div> 2600 2596 <div id="rfc.iref.h.2"></div> 2601 <h2 id="rfc.section. 10.1"><a href="#rfc.section.10.1">10.1</a> <a id="header.allow" href="#header.allow">Allow</a></h2>2602 <p id="rfc.section. 10.1.p.1">The "Allow" header field lists the set of methods advertised as supported by the target resource. The purpose of this field2597 <h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a> <a id="header.allow" href="#header.allow">Allow</a></h2> 2598 <p id="rfc.section.9.1.p.1">The "Allow" header field lists the set of methods advertised as supported by the target resource. The purpose of this field 2603 2599 is strictly to inform the recipient of valid request methods associated with the resource. 2604 2600 </p> 2605 2601 <div id="rfc.figure.u.25"></div><pre class="inline"><span id="rfc.iref.g.34"></span> <a href="#header.allow" class="smpl">Allow</a> = #<a href="#methods" class="smpl">method</a> 2606 </pre><p id="rfc.section. 10.1.p.3">Example of use:</p>2602 </pre><p id="rfc.section.9.1.p.3">Example of use:</p> 2607 2603 <div id="rfc.figure.u.26"></div><pre class="text"> Allow: GET, HEAD, PUT 2608 </pre><p id="rfc.section. 10.1.p.5">The actual set of allowed methods is defined by the origin server at the time of each request.</p>2609 <p id="rfc.section. 10.1.p.6">A proxy <em class="bcp14">MUST NOT</em> modify the Allow header field — it does not need to understand all the methods specified in order to handle them according2604 </pre><p id="rfc.section.9.1.p.5">The actual set of allowed methods is defined by the origin server at the time of each request.</p> 2605 <p id="rfc.section.9.1.p.6">A proxy <em class="bcp14">MUST NOT</em> modify the Allow header field — it does not need to understand all the methods specified in order to handle them according 2610 2606 to the generic message handling rules. 2611 2607 </p> 2612 2608 <div id="rfc.iref.d.3"></div> 2613 2609 <div id="rfc.iref.h.3"></div> 2614 <h2 id="rfc.section. 10.2"><a href="#rfc.section.10.2">10.2</a> <a id="header.date" href="#header.date">Date</a></h2>2615 <p id="rfc.section. 10.2.p.1">The "Date" header field represents the date and time at which the message was originated, having the same semantics as the2616 Origination Date Field (orig-date) defined in <a href="http://tools.ietf.org/html/rfc5322#section-3.6.1">Section 3.6.1</a> of <a href="#RFC5322" id="rfc.xref.RFC5322.2"><cite title="Internet Message Format">[RFC5322]</cite></a>. The field value is an HTTP-date, as defined in <a href="#http.date" title="Date/Time Formats">Section 6.1</a>; it <em class="bcp14">MUST</em> be sent in rfc1123-date format.2610 <h2 id="rfc.section.9.2"><a href="#rfc.section.9.2">9.2</a> <a id="header.date" href="#header.date">Date</a></h2> 2611 <p id="rfc.section.9.2.p.1">The "Date" header field represents the date and time at which the message was originated, having the same semantics as the 2612 Origination Date Field (orig-date) defined in <a href="http://tools.ietf.org/html/rfc5322#section-3.6.1">Section 3.6.1</a> of <a href="#RFC5322" id="rfc.xref.RFC5322.2"><cite title="Internet Message Format">[RFC5322]</cite></a>. The field value is an HTTP-date, as defined in <a href="#http.date" title="Date/Time Formats">Section 5.1</a>; it <em class="bcp14">MUST</em> be sent in rfc1123-date format. 2617 2613 </p> 2618 2614 <div id="rfc.figure.u.27"></div><pre class="inline"><span id="rfc.iref.g.35"></span> <a href="#header.date" class="smpl">Date</a> = <a href="#http.date" class="smpl">HTTP-date</a> 2619 </pre><p id="rfc.section. 10.2.p.3">An example is</p>2615 </pre><p id="rfc.section.9.2.p.3">An example is</p> 2620 2616 <div id="rfc.figure.u.28"></div><pre class="text"> Date: Tue, 15 Nov 1994 08:12:31 GMT 2621 </pre><p id="rfc.section. 10.2.p.5">Origin servers <em class="bcp14">MUST</em> include a Date header field in all responses, except in these cases:2617 </pre><p id="rfc.section.9.2.p.5">Origin servers <em class="bcp14">MUST</em> include a Date header field in all responses, except in these cases: 2622 2618 </p> 2623 2619 <ol> … … 2630 2626 </li> 2631 2627 </ol> 2632 <p id="rfc.section. 10.2.p.6">A received message that does not have a Date header field <em class="bcp14">MUST</em> be assigned one by the recipient if the message will be cached by that recipient.2633 </p> 2634 <p id="rfc.section. 10.2.p.7">Clients can use the Date header field as well; in order to keep request messages small, they are advised not to include it2628 <p id="rfc.section.9.2.p.6">A received message that does not have a Date header field <em class="bcp14">MUST</em> be assigned one by the recipient if the message will be cached by that recipient. 2629 </p> 2630 <p id="rfc.section.9.2.p.7">Clients can use the Date header field as well; in order to keep request messages small, they are advised not to include it 2635 2631 when it doesn't convey any useful information (as is usually the case for requests that do not contain a payload). 2636 2632 </p> 2637 <p id="rfc.section. 10.2.p.8">The HTTP-date sent in a Date header field <em class="bcp14">SHOULD NOT</em> represent a date and time subsequent to the generation of the message. It <em class="bcp14">SHOULD</em> represent the best available approximation of the date and time of message generation, unless the implementation has no means2633 <p id="rfc.section.9.2.p.8">The HTTP-date sent in a Date header field <em class="bcp14">SHOULD NOT</em> represent a date and time subsequent to the generation of the message. It <em class="bcp14">SHOULD</em> represent the best available approximation of the date and time of message generation, unless the implementation has no means 2638 2634 of generating a reasonably accurate date and time. In theory, the date ought to represent the moment just before the payload 2639 2635 is generated. In practice, the date can be generated at any time during the message origination without affecting its semantic … … 2642 2638 <div id="rfc.iref.e.1"></div> 2643 2639 <div id="rfc.iref.h.4"></div> 2644 <h2 id="rfc.section. 10.3"><a href="#rfc.section.10.3">10.3</a> <a id="header.expect" href="#header.expect">Expect</a></h2>2645 <p id="rfc.section. 10.3.p.1">The "Expect" header field is used to indicate that particular server behaviors are required by the client.</p>2640 <h2 id="rfc.section.9.3"><a href="#rfc.section.9.3">9.3</a> <a id="header.expect" href="#header.expect">Expect</a></h2> 2641 <p id="rfc.section.9.3.p.1">The "Expect" header field is used to indicate that particular server behaviors are required by the client.</p> 2646 2642 <div id="rfc.figure.u.29"></div><pre class="inline"><span id="rfc.iref.g.36"></span><span id="rfc.iref.g.37"></span><span id="rfc.iref.g.38"></span><span id="rfc.iref.g.39"></span><span id="rfc.iref.g.40"></span> <a href="#header.expect" class="smpl">Expect</a> = 1#<a href="#header.expect" class="smpl">expectation</a> 2647 2643 … … 2652 2648 <a href="#header.expect" class="smpl">expect-name</a> = <a href="#core.rules" class="smpl">token</a> 2653 2649 <a href="#header.expect" class="smpl">expect-value</a> = <a href="#core.rules" class="smpl">token</a> / <a href="#core.rules" class="smpl">quoted-string</a> 2654 </pre><p id="rfc.section. 10.3.p.3">If all received Expect header field(s) are syntactically valid but contain an expectation that the recipient does not understand2650 </pre><p id="rfc.section.9.3.p.3">If all received Expect header field(s) are syntactically valid but contain an expectation that the recipient does not understand 2655 2651 or cannot comply with, the recipient <em class="bcp14">MUST</em> respond with a 417 (Expectation Failed) status code. A recipient of a syntactically invalid Expectation header field <em class="bcp14">MUST</em> respond with a 4xx status code other than 417. 2656 2652 </p> 2657 <p id="rfc.section. 10.3.p.4">The only expectation defined by this specification is:</p>2658 <p id="rfc.section. 10.3.p.5"><span id="rfc.iref.108"></span><span id="rfc.iref.e.2"></span> 100-continue2653 <p id="rfc.section.9.3.p.4">The only expectation defined by this specification is:</p> 2654 <p id="rfc.section.9.3.p.5"><span id="rfc.iref.108"></span><span id="rfc.iref.e.2"></span> 100-continue 2659 2655 </p> 2660 2656 <ul class="empty"> … … 2662 2658 </li> 2663 2659 </ul> 2664 <p id="rfc.section. 10.3.p.6">Comparison is case-insensitive for names (expect-name), and case-sensitive for values (expect-value).</p>2665 <p id="rfc.section. 10.3.p.7">The Expect mechanism is hop-by-hop: the above requirements apply to any server, including proxies. However, the Expect header2660 <p id="rfc.section.9.3.p.6">Comparison is case-insensitive for names (expect-name), and case-sensitive for values (expect-value).</p> 2661 <p id="rfc.section.9.3.p.7">The Expect mechanism is hop-by-hop: the above requirements apply to any server, including proxies. However, the Expect header 2666 2662 field itself is end-to-end; it <em class="bcp14">MUST</em> be forwarded if the request is forwarded. 2667 2663 </p> 2668 <p id="rfc.section. 10.3.p.8">Many older HTTP/1.0 and HTTP/1.1 applications do not understand the Expect header field.</p>2664 <p id="rfc.section.9.3.p.8">Many older HTTP/1.0 and HTTP/1.1 applications do not understand the Expect header field.</p> 2669 2665 <div id="rfc.iref.f.1"></div> 2670 2666 <div id="rfc.iref.h.5"></div> 2671 <h2 id="rfc.section. 10.4"><a href="#rfc.section.10.4">10.4</a> <a id="header.from" href="#header.from">From</a></h2>2672 <p id="rfc.section. 10.4.p.1">The "From" header field, if given, <em class="bcp14">SHOULD</em> contain an Internet e-mail address for the human user who controls the requesting user agent. The address <em class="bcp14">SHOULD</em> be machine-usable, as defined by "mailbox" in <a href="http://tools.ietf.org/html/rfc5322#section-3.4">Section 3.4</a> of <a href="#RFC5322" id="rfc.xref.RFC5322.3"><cite title="Internet Message Format">[RFC5322]</cite></a>:2667 <h2 id="rfc.section.9.4"><a href="#rfc.section.9.4">9.4</a> <a id="header.from" href="#header.from">From</a></h2> 2668 <p id="rfc.section.9.4.p.1">The "From" header field, if given, <em class="bcp14">SHOULD</em> contain an Internet e-mail address for the human user who controls the requesting user agent. The address <em class="bcp14">SHOULD</em> be machine-usable, as defined by "mailbox" in <a href="http://tools.ietf.org/html/rfc5322#section-3.4">Section 3.4</a> of <a href="#RFC5322" id="rfc.xref.RFC5322.3"><cite title="Internet Message Format">[RFC5322]</cite></a>: 2673 2669 </p> 2674 2670 <div id="rfc.figure.u.30"></div><pre class="inline"><span id="rfc.iref.g.41"></span> <a href="#header.from" class="smpl">From</a> = <a href="#header.from" class="smpl">mailbox</a> 2675 2671 2676 2672 <a href="#header.from" class="smpl">mailbox</a> = <mailbox, defined in <a href="#RFC5322" id="rfc.xref.RFC5322.4"><cite title="Internet Message Format">[RFC5322]</cite></a>, <a href="http://tools.ietf.org/html/rfc5322#section-3.4">Section 3.4</a>> 2677 </pre><p id="rfc.section. 10.4.p.3">An example is:</p>2673 </pre><p id="rfc.section.9.4.p.3">An example is:</p> 2678 2674 <div id="rfc.figure.u.31"></div><pre class="text"> From: webmaster@example.org 2679 </pre><p id="rfc.section. 10.4.p.5">This header field <em class="bcp14">MAY</em> be used for logging purposes and as a means for identifying the source of invalid or unwanted requests. It <em class="bcp14">SHOULD NOT</em> be used as an insecure form of access protection. The interpretation of this field is that the request is being performed2675 </pre><p id="rfc.section.9.4.p.5">This header field <em class="bcp14">MAY</em> be used for logging purposes and as a means for identifying the source of invalid or unwanted requests. It <em class="bcp14">SHOULD NOT</em> be used as an insecure form of access protection. The interpretation of this field is that the request is being performed 2680 2676 on behalf of the person given, who accepts responsibility for the method performed. In particular, robot agents <em class="bcp14">SHOULD</em> include this header field so that the person responsible for running the robot can be contacted if problems occur on the receiving 2681 2677 end. 2682 2678 </p> 2683 <p id="rfc.section. 10.4.p.6">The Internet e-mail address in this field <em class="bcp14">MAY</em> be separate from the Internet host which issued the request. For example, when a request is passed through a proxy the original2679 <p id="rfc.section.9.4.p.6">The Internet e-mail address in this field <em class="bcp14">MAY</em> be separate from the Internet host which issued the request. For example, when a request is passed through a proxy the original 2684 2680 issuer's address <em class="bcp14">SHOULD</em> be used. 2685 2681 </p> 2686 <p id="rfc.section. 10.4.p.7">The client <em class="bcp14">SHOULD NOT</em> send the From header field without the user's approval, as it might conflict with the user's privacy interests or their site's2682 <p id="rfc.section.9.4.p.7">The client <em class="bcp14">SHOULD NOT</em> send the From header field without the user's approval, as it might conflict with the user's privacy interests or their site's 2687 2683 security policy. It is strongly recommended that the user be able to disable, enable, and modify the value of this field at 2688 2684 any time prior to a request. … … 2690 2686 <div id="rfc.iref.l.1"></div> 2691 2687 <div id="rfc.iref.h.6"></div> 2692 <h2 id="rfc.section. 10.5"><a href="#rfc.section.10.5">10.5</a> <a id="header.location" href="#header.location">Location</a></h2>2693 <p id="rfc.section. 10.5.p.1">The "Location" header field <em class="bcp14">MAY</em> be sent in responses to refer to a specific resource in accordance with the semantics of the status code.2688 <h2 id="rfc.section.9.5"><a href="#rfc.section.9.5">9.5</a> <a id="header.location" href="#header.location">Location</a></h2> 2689 <p id="rfc.section.9.5.p.1">The "Location" header field <em class="bcp14">MAY</em> be sent in responses to refer to a specific resource in accordance with the semantics of the status code. 2694 2690 </p> 2695 2691 <div id="rfc.figure.u.32"></div><pre class="inline"><span id="rfc.iref.g.42"></span> <a href="#header.location" class="smpl">Location</a> = <a href="#abnf.dependencies" class="smpl">URI-reference</a> 2696 </pre><p id="rfc.section. 10.5.p.3">For 201 (Created) responses, the Location is the URI of the new resource which was created by the request. For 3xx responses,2692 </pre><p id="rfc.section.9.5.p.3">For 201 (Created) responses, the Location is the URI of the new resource which was created by the request. For 3xx responses, 2697 2693 the location <em class="bcp14">SHOULD</em> indicate the server's preferred URI for automatic redirection to the resource. 2698 2694 </p> 2699 <p id="rfc.section. 10.5.p.4">The field value consists of a single URI-reference. When it has the form of a relative reference (<a href="#RFC3986" id="rfc.xref.RFC3986.1"><cite title="Uniform Resource Identifier (URI): Generic Syntax">[RFC3986]</cite></a>, <a href="http://tools.ietf.org/html/rfc3986#section-4.2">Section 4.2</a>), the final value is computed by resolving it against the effective request URI (<a href="#RFC3986" id="rfc.xref.RFC3986.2"><cite title="Uniform Resource Identifier (URI): Generic Syntax">[RFC3986]</cite></a>, <a href="http://tools.ietf.org/html/rfc3986#section-5">Section 5</a>). If the original URI, as navigated to by the user agent, did contain a fragment identifier, and the final value does not,2695 <p id="rfc.section.9.5.p.4">The field value consists of a single URI-reference. When it has the form of a relative reference (<a href="#RFC3986" id="rfc.xref.RFC3986.1"><cite title="Uniform Resource Identifier (URI): Generic Syntax">[RFC3986]</cite></a>, <a href="http://tools.ietf.org/html/rfc3986#section-4.2">Section 4.2</a>), the final value is computed by resolving it against the effective request URI (<a href="#RFC3986" id="rfc.xref.RFC3986.2"><cite title="Uniform Resource Identifier (URI): Generic Syntax">[RFC3986]</cite></a>, <a href="http://tools.ietf.org/html/rfc3986#section-5">Section 5</a>). If the original URI, as navigated to by the user agent, did contain a fragment identifier, and the final value does not, 2700 2696 then the original URI's fragment identifier is added to the final value. 2701 2697 </p> … … 2706 2702 <p>An original URI "http://www.example.org/index.html#larry", combined with a field value given as:</p> <pre class="text"> Location: http://www.example.net/index.html 2707 2703 </pre> <p>would result in a final value of "http://www.example.net/index.html#larry", preserving the original fragment identifier.</p> 2708 <div class="note" id="rfc.section. 10.5.p.7">2704 <div class="note" id="rfc.section.9.5.p.7"> 2709 2705 <p> <b>Note:</b> Some recipients attempt to recover from Location fields that are not valid URI references. This specification does not mandate 2710 2706 or define such processing, but does allow it (see <a href="#intro.conformance.and.error.handling" title="Conformance and Error Handling">Section 1.2</a>). 2711 2707 </p> 2712 2708 </div> 2713 <p id="rfc.section. 10.5.p.8">There are circumstances in which a fragment identifier in a Location URI would not be appropriate. For instance, when it appears2709 <p id="rfc.section.9.5.p.8">There are circumstances in which a fragment identifier in a Location URI would not be appropriate. For instance, when it appears 2714 2710 in a 201 Created response, where the Location header field specifies the URI for the entire created resource. 2715 2711 </p> 2716 <div class="note" id="rfc.section. 10.5.p.9">2717 <p> <b>Note:</b> The Content-Location header field (<a href="#header.content-location" id="rfc.xref.header.content-location.3" title="Content-Location">Section 10.17</a>) differs from Location in that the Content-Location identifies the most specific resource corresponding to the enclosed representation.2712 <div class="note" id="rfc.section.9.5.p.9"> 2713 <p> <b>Note:</b> The Content-Location header field (<a href="#header.content-location" id="rfc.xref.header.content-location.3" title="Content-Location">Section 9.17</a>) differs from Location in that the Content-Location identifies the most specific resource corresponding to the enclosed representation. 2718 2714 It is therefore possible for a response to contain header fields for both Location and Content-Location. 2719 2715 </p> … … 2721 2717 <div id="rfc.iref.m.9"></div> 2722 2718 <div id="rfc.iref.h.7"></div> 2723 <h2 id="rfc.section. 10.6"><a href="#rfc.section.10.6">10.6</a> <a id="header.max-forwards" href="#header.max-forwards">Max-Forwards</a></h2>2724 <p id="rfc.section. 10.6.p.1">The "Max-Forwards" header field provides a mechanism with the TRACE (<a href="#TRACE" id="rfc.xref.TRACE.1" title="TRACE">Section 2.3.7</a>) and OPTIONS (<a href="#OPTIONS" id="rfc.xref.OPTIONS.1" title="OPTIONS">Section 2.3.1</a>) methods to limit the number of times that the request is forwarded by proxies. This can be useful when the client is attempting2719 <h2 id="rfc.section.9.6"><a href="#rfc.section.9.6">9.6</a> <a id="header.max-forwards" href="#header.max-forwards">Max-Forwards</a></h2> 2720 <p id="rfc.section.9.6.p.1">The "Max-Forwards" header field provides a mechanism with the TRACE (<a href="#TRACE" id="rfc.xref.TRACE.1" title="TRACE">Section 2.3.7</a>) and OPTIONS (<a href="#OPTIONS" id="rfc.xref.OPTIONS.1" title="OPTIONS">Section 2.3.1</a>) methods to limit the number of times that the request is forwarded by proxies. This can be useful when the client is attempting 2725 2721 to trace a request which appears to be failing or looping mid-chain. 2726 2722 </p> 2727 2723 <div id="rfc.figure.u.35"></div><pre class="inline"><span id="rfc.iref.g.43"></span> <a href="#header.max-forwards" class="smpl">Max-Forwards</a> = 1*<a href="#notation" class="smpl">DIGIT</a> 2728 </pre><p id="rfc.section. 10.6.p.3">The Max-Forwards value is a decimal integer indicating the remaining number of times this request message can be forwarded.</p>2729 <p id="rfc.section. 10.6.p.4">Each recipient of a TRACE or OPTIONS request containing a Max-Forwards header field <em class="bcp14">MUST</em> check and update its value prior to forwarding the request. If the received value is zero (0), the recipient <em class="bcp14">MUST NOT</em> forward the request; instead, it <em class="bcp14">MUST</em> respond as the final recipient. If the received Max-Forwards value is greater than zero, then the forwarded message <em class="bcp14">MUST</em> contain an updated Max-Forwards field with a value decremented by one (1).2730 </p> 2731 <p id="rfc.section. 10.6.p.5">The Max-Forwards header field <em class="bcp14">MAY</em> be ignored for all other request methods.2724 </pre><p id="rfc.section.9.6.p.3">The Max-Forwards value is a decimal integer indicating the remaining number of times this request message can be forwarded.</p> 2725 <p id="rfc.section.9.6.p.4">Each recipient of a TRACE or OPTIONS request containing a Max-Forwards header field <em class="bcp14">MUST</em> check and update its value prior to forwarding the request. If the received value is zero (0), the recipient <em class="bcp14">MUST NOT</em> forward the request; instead, it <em class="bcp14">MUST</em> respond as the final recipient. If the received Max-Forwards value is greater than zero, then the forwarded message <em class="bcp14">MUST</em> contain an updated Max-Forwards field with a value decremented by one (1). 2726 </p> 2727 <p id="rfc.section.9.6.p.5">The Max-Forwards header field <em class="bcp14">MAY</em> be ignored for all other request methods. 2732 2728 </p> 2733 2729 <div id="rfc.iref.r.2"></div> 2734 2730 <div id="rfc.iref.h.8"></div> 2735 <h2 id="rfc.section. 10.7"><a href="#rfc.section.10.7">10.7</a> <a id="header.referer" href="#header.referer">Referer</a></h2>2736 <p id="rfc.section. 10.7.p.1">The "Referer" [sic] header field allows the client to specify the URI of the resource from which the target URI was obtained2731 <h2 id="rfc.section.9.7"><a href="#rfc.section.9.7">9.7</a> <a id="header.referer" href="#header.referer">Referer</a></h2> 2732 <p id="rfc.section.9.7.p.1">The "Referer" [sic] header field allows the client to specify the URI of the resource from which the target URI was obtained 2737 2733 (the "referrer", although the header field is misspelled.). 2738 2734 </p> 2739 <p id="rfc.section. 10.7.p.2">The Referer header field allows servers to generate lists of back-links to resources for interest, logging, optimized caching,2735 <p id="rfc.section.9.7.p.2">The Referer header field allows servers to generate lists of back-links to resources for interest, logging, optimized caching, 2740 2736 etc. It also allows obsolete or mistyped links to be traced for maintenance. Some servers use Referer as a means of controlling 2741 2737 where they allow links from (so-called "deep linking"), but legitimate requests do not always contain a Referer header field. 2742 2738 </p> 2743 <p id="rfc.section. 10.7.p.3">If the target URI was obtained from a source that does not have its own URI (e.g., input from the user keyboard), the Referer2739 <p id="rfc.section.9.7.p.3">If the target URI was obtained from a source that does not have its own URI (e.g., input from the user keyboard), the Referer 2744 2740 field <em class="bcp14">MUST</em> either be sent with the value "about:blank", or not be sent at all. Note that this requirement does not apply to sources with 2745 2741 non-HTTP URIs (e.g., FTP). 2746 2742 </p> 2747 2743 <div id="rfc.figure.u.36"></div><pre class="inline"><span id="rfc.iref.g.44"></span> <a href="#header.referer" class="smpl">Referer</a> = <a href="#abnf.dependencies" class="smpl">absolute-URI</a> / <a href="#abnf.dependencies" class="smpl">partial-URI</a> 2748 </pre><p id="rfc.section. 10.7.p.5">Example:</p>2744 </pre><p id="rfc.section.9.7.p.5">Example:</p> 2749 2745 <div id="rfc.figure.u.37"></div><pre class="text"> Referer: http://www.example.org/hypertext/Overview.html 2750 </pre><p id="rfc.section. 10.7.p.7">If the field value is a relative URI, it <em class="bcp14">SHOULD</em> be interpreted relative to the effective request URI. The URI <em class="bcp14">MUST NOT</em> include a fragment. See <a href="#encoding.sensitive.information.in.uris" title="Encoding Sensitive Information in URIs">Section 12.2</a> for security considerations.2746 </pre><p id="rfc.section.9.7.p.7">If the field value is a relative URI, it <em class="bcp14">SHOULD</em> be interpreted relative to the effective request URI. The URI <em class="bcp14">MUST NOT</em> include a fragment. See <a href="#encoding.sensitive.information.in.uris" title="Encoding Sensitive Information in URIs">Section 11.2</a> for security considerations. 2751 2747 </p> 2752 2748 <div id="rfc.iref.r.3"></div> 2753 2749 <div id="rfc.iref.h.9"></div> 2754 <h2 id="rfc.section. 10.8"><a href="#rfc.section.10.8">10.8</a> <a id="header.retry-after" href="#header.retry-after">Retry-After</a></h2>2755 <p id="rfc.section. 10.8.p.1">The header "Retry-After" field can be used with a 503 (Service Unavailable) response to indicate how long the service is expected2750 <h2 id="rfc.section.9.8"><a href="#rfc.section.9.8">9.8</a> <a id="header.retry-after" href="#header.retry-after">Retry-After</a></h2> 2751 <p id="rfc.section.9.8.p.1">The header "Retry-After" field can be used with a 503 (Service Unavailable) response to indicate how long the service is expected 2756 2752 to be unavailable to the requesting client. This field <em class="bcp14">MAY</em> also be used with any 3xx (Redirection) response to indicate the minimum time the user-agent is asked to wait before issuing 2757 2753 the redirected request. 2758 2754 </p> 2759 <p id="rfc.section. 10.8.p.2">The value of this field can be either an HTTP-date or an integer number of seconds (in decimal) after the time of the response.</p>2755 <p id="rfc.section.9.8.p.2">The value of this field can be either an HTTP-date or an integer number of seconds (in decimal) after the time of the response.</p> 2760 2756 <div id="rfc.figure.u.38"></div><pre class="inline"><span id="rfc.iref.g.45"></span> <a href="#header.retry-after" class="smpl">Retry-After</a> = <a href="#http.date" class="smpl">HTTP-date</a> / <a href="#rule.delta-seconds" class="smpl">delta-seconds</a> 2761 2757 </pre><div id="rule.delta-seconds"> 2762 <p id="rfc.section. 10.8.p.4"> Time spans are non-negative decimal integers, representing time in seconds.</p>2758 <p id="rfc.section.9.8.p.4"> Time spans are non-negative decimal integers, representing time in seconds.</p> 2763 2759 </div> 2764 2760 <div id="rfc.figure.u.39"></div><pre class="inline"><span id="rfc.iref.g.46"></span> <a href="#rule.delta-seconds" class="smpl">delta-seconds</a> = 1*<a href="#notation" class="smpl">DIGIT</a> 2765 </pre><p id="rfc.section. 10.8.p.6">Two examples of its use are</p>2761 </pre><p id="rfc.section.9.8.p.6">Two examples of its use are</p> 2766 2762 <div id="rfc.figure.u.40"></div><pre class="text"> Retry-After: Fri, 31 Dec 1999 23:59:59 GMT 2767 2763 Retry-After: 120 2768 </pre><p id="rfc.section. 10.8.p.8">In the latter example, the delay is 2 minutes.</p>2764 </pre><p id="rfc.section.9.8.p.8">In the latter example, the delay is 2 minutes.</p> 2769 2765 <div id="rfc.iref.s.39"></div> 2770 2766 <div id="rfc.iref.h.10"></div> 2771 <h2 id="rfc.section. 10.9"><a href="#rfc.section.10.9">10.9</a> <a id="header.server" href="#header.server">Server</a></h2>2772 <p id="rfc.section. 10.9.p.1">The "Server" header field contains information about the software used by the origin server to handle the request.</p>2773 <p id="rfc.section. 10.9.p.2">The field can contain multiple product tokens (<a href="#product.tokens" title="Product Tokens">Section 6.2</a>) and comments (<a href="p1-messaging.html#header.fields" title="Header Fields">Section 3.2</a> of <a href="#Part1" id="rfc.xref.Part1.48"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>) identifying the server and any significant subproducts. The product tokens are listed in order of their significance for2767 <h2 id="rfc.section.9.9"><a href="#rfc.section.9.9">9.9</a> <a id="header.server" href="#header.server">Server</a></h2> 2768 <p id="rfc.section.9.9.p.1">The "Server" header field contains information about the software used by the origin server to handle the request.</p> 2769 <p id="rfc.section.9.9.p.2">The field can contain multiple product tokens (<a href="#product.tokens" title="Product Tokens">Section 5.2</a>) and comments (<a href="p1-messaging.html#header.fields" title="Header Fields">Section 3.2</a> of <a href="#Part1" id="rfc.xref.Part1.48"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>) identifying the server and any significant subproducts. The product tokens are listed in order of their significance for 2774 2770 identifying the application. 2775 2771 </p> 2776 2772 <div id="rfc.figure.u.41"></div><pre class="inline"><span id="rfc.iref.g.47"></span> <a href="#header.server" class="smpl">Server</a> = <a href="#product.tokens" class="smpl">product</a> *( <a href="#core.rules" class="smpl">RWS</a> ( <a href="#product.tokens" class="smpl">product</a> / <a href="#abnf.dependencies" class="smpl">comment</a> ) ) 2777 </pre><p id="rfc.section. 10.9.p.4">Example:</p>2773 </pre><p id="rfc.section.9.9.p.4">Example:</p> 2778 2774 <div id="rfc.figure.u.42"></div><pre class="text"> Server: CERN/3.0 libwww/2.17 2779 </pre><p id="rfc.section. 10.9.p.6">If the response is being forwarded through a proxy, the proxy application <em class="bcp14">MUST NOT</em> modify the Server header field. Instead, it <em class="bcp14">MUST</em> include a Via field (as described in <a href="p1-messaging.html#header.via" title="Via">Section 6.2</a> of <a href="#Part1" id="rfc.xref.Part1.49"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>).2780 </p> 2781 <div class="note" id="rfc.section. 10.9.p.7">2775 </pre><p id="rfc.section.9.9.p.6">If the response is being forwarded through a proxy, the proxy application <em class="bcp14">MUST NOT</em> modify the Server header field. Instead, it <em class="bcp14">MUST</em> include a Via field (as described in <a href="p1-messaging.html#header.via" title="Via">Section 6.2</a> of <a href="#Part1" id="rfc.xref.Part1.49"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). 2776 </p> 2777 <div class="note" id="rfc.section.9.9.p.7"> 2782 2778 <p> <b>Note:</b> Revealing the specific software version of the server might allow the server machine to become more vulnerable to attacks 2783 2779 against software that is known to contain security holes. Server implementors are encouraged to make this field a configurable … … 2787 2783 <div id="rfc.iref.u.1"></div> 2788 2784 <div id="rfc.iref.h.11"></div> 2789 <h2 id="rfc.section. 10.10"><a href="#rfc.section.10.10">10.10</a> <a id="header.user-agent" href="#header.user-agent">User-Agent</a></h2>2790 <p id="rfc.section. 10.10.p.1">The "User-Agent" header field contains information about the user agent originating the request. User agents <em class="bcp14">SHOULD</em> include this field with requests.2791 </p> 2792 <p id="rfc.section. 10.10.p.2">Typically, it is used for statistical purposes, the tracing of protocol violations, and tailoring responses to avoid particular2785 <h2 id="rfc.section.9.10"><a href="#rfc.section.9.10">9.10</a> <a id="header.user-agent" href="#header.user-agent">User-Agent</a></h2> 2786 <p id="rfc.section.9.10.p.1">The "User-Agent" header field contains information about the user agent originating the request. User agents <em class="bcp14">SHOULD</em> include this field with requests. 2787 </p> 2788 <p id="rfc.section.9.10.p.2">Typically, it is used for statistical purposes, the tracing of protocol violations, and tailoring responses to avoid particular 2793 2789 user agent limitations. 2794 2790 </p> 2795 <p id="rfc.section. 10.10.p.3">The field can contain multiple product tokens (<a href="#product.tokens" title="Product Tokens">Section 6.2</a>) and comments (<a href="p1-messaging.html#header.fields" title="Header Fields">Section 3.2</a> of <a href="#Part1" id="rfc.xref.Part1.50"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>) identifying the agent and its significant subproducts. By convention, the product tokens are listed in order of their significance2791 <p id="rfc.section.9.10.p.3">The field can contain multiple product tokens (<a href="#product.tokens" title="Product Tokens">Section 5.2</a>) and comments (<a href="p1-messaging.html#header.fields" title="Header Fields">Section 3.2</a> of <a href="#Part1" id="rfc.xref.Part1.50"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>) identifying the agent and its significant subproducts. By convention, the product tokens are listed in order of their significance 2796 2792 for identifying the application. 2797 2793 </p> 2798 <p id="rfc.section. 10.10.p.4">Because this field is usually sent on every request a user agent makes, implementations are encouraged not to include needlessly2794 <p id="rfc.section.9.10.p.4">Because this field is usually sent on every request a user agent makes, implementations are encouraged not to include needlessly 2799 2795 fine-grained detail, and to limit (or even prohibit) the addition of subproducts by third parties. Overly long and detailed 2800 2796 User-Agent field values make requests larger and can also be used to identify ("fingerprint") the user against their wishes. 2801 2797 </p> 2802 <p id="rfc.section. 10.10.p.5">Likewise, implementations are encouraged not to use the product tokens of other implementations in order to declare compatibility2798 <p id="rfc.section.9.10.p.5">Likewise, implementations are encouraged not to use the product tokens of other implementations in order to declare compatibility 2803 2799 with them, as this circumvents the purpose of the field. Finally, they are encouraged not to use comments to identify products; 2804 2800 doing so makes the field value more difficult to parse. 2805 2801 </p> 2806 2802 <div id="rfc.figure.u.43"></div><pre class="inline"><span id="rfc.iref.g.48"></span> <a href="#header.user-agent" class="smpl">User-Agent</a> = <a href="#product.tokens" class="smpl">product</a> *( <a href="#core.rules" class="smpl">RWS</a> ( <a href="#product.tokens" class="smpl">product</a> / <a href="#abnf.dependencies" class="smpl">comment</a> ) ) 2807 </pre><p id="rfc.section. 10.10.p.7">Example:</p>2803 </pre><p id="rfc.section.9.10.p.7">Example:</p> 2808 2804 <div id="rfc.figure.u.44"></div><pre class="text"> User-Agent: CERN-LineMode/2.15 libwww/2.17b3 2809 2805 </pre><div id="rfc.iref.a.2"></div> 2810 2806 <div id="rfc.iref.h.12"></div> 2811 <h2 id="rfc.section. 10.11"><a href="#rfc.section.10.11">10.11</a> <a id="header.accept" href="#header.accept">Accept</a></h2>2812 <p id="rfc.section. 10.11.p.1">The "Accept" header field can be used by user agents to specify response media types that are acceptable. Accept header fields2807 <h2 id="rfc.section.9.11"><a href="#rfc.section.9.11">9.11</a> <a id="header.accept" href="#header.accept">Accept</a></h2> 2808 <p id="rfc.section.9.11.p.1">The "Accept" header field can be used by user agents to specify response media types that are acceptable. Accept header fields 2813 2809 can be used to indicate that the request is specifically limited to a small set of desired types, as in the case of a request 2814 2810 for an in-line image. … … 2822 2818 <a href="#header.accept" class="smpl">accept-params</a> = <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> *( <a href="#header.accept" class="smpl">accept-ext</a> ) 2823 2819 <a href="#header.accept" class="smpl">accept-ext</a> = <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#core.rules" class="smpl">token</a> [ "=" <a href="#core.rules" class="smpl">word</a> ] 2824 </pre><p id="rfc.section. 10.11.p.3">The asterisk "*" character is used to group media types into ranges, with "*/*" indicating all media types and "type/*" indicating2820 </pre><p id="rfc.section.9.11.p.3">The asterisk "*" character is used to group media types into ranges, with "*/*" indicating all media types and "type/*" indicating 2825 2821 all subtypes of that type. The media-range <em class="bcp14">MAY</em> include media type parameters that are applicable to that range. 2826 2822 </p> 2827 <p id="rfc.section. 10.11.p.4">Each media-range <em class="bcp14">MAY</em> be followed by one or more accept-params, beginning with the "q" parameter for indicating a relative quality factor. The first2823 <p id="rfc.section.9.11.p.4">Each media-range <em class="bcp14">MAY</em> be followed by one or more accept-params, beginning with the "q" parameter for indicating a relative quality factor. The first 2828 2824 "q" parameter (if any) separates the media-range parameter(s) from the accept-params. Quality factors allow the user or user 2829 2825 agent to indicate the relative degree of preference for that media-range, using the qvalue scale from 0 to 1 (qvalue;). The 2830 2826 default value is q=1. 2831 2827 </p> 2832 <div class="note" id="rfc.section. 10.11.p.5">2828 <div class="note" id="rfc.section.9.11.p.5"> 2833 2829 <p> <b>Note:</b> Use of the "q" parameter name to separate media type parameters from Accept extension parameters is due to historical practice. 2834 2830 Although this prevents any media type parameter named "q" from being used with a media range, such an event is believed to … … 2837 2833 </p> 2838 2834 </div> 2839 <p id="rfc.section. 10.11.p.6">The example</p>2835 <p id="rfc.section.9.11.p.6">The example</p> 2840 2836 <div id="rfc.figure.u.46"></div><pre class="text"> Accept: audio/*; q=0.2, audio/basic 2841 </pre><p id="rfc.section. 10.11.p.8"> <em class="bcp14">SHOULD</em> be interpreted as "I prefer audio/basic, but send me any audio type if it is the best available after an 80% mark-down in2837 </pre><p id="rfc.section.9.11.p.8"> <em class="bcp14">SHOULD</em> be interpreted as "I prefer audio/basic, but send me any audio type if it is the best available after an 80% mark-down in 2842 2838 quality". 2843 2839 </p> 2844 <p id="rfc.section. 10.11.p.9">A request without any Accept header field implies that the user agent will accept any media type in response. If an Accept2840 <p id="rfc.section.9.11.p.9">A request without any Accept header field implies that the user agent will accept any media type in response. If an Accept 2845 2841 header field is present in a request and none of the available representations for the response have a media type that is 2846 2842 listed as acceptable, the origin server <em class="bcp14">MAY</em> either honor the Accept header field by sending a 406 (Not Acceptable) response or disregard the Accept header field by treating 2847 2843 the response as if it is not subject to content negotiation. 2848 2844 </p> 2849 <p id="rfc.section. 10.11.p.10">A more elaborate example is</p>2845 <p id="rfc.section.9.11.p.10">A more elaborate example is</p> 2850 2846 <div id="rfc.figure.u.47"></div><pre class="text"> Accept: text/plain; q=0.5, text/html, 2851 2847 text/x-dvi; q=0.8, text/x-c 2852 </pre><p id="rfc.section. 10.11.p.12">Verbally, this would be interpreted as "text/html and text/x-c are the preferred media types, but if they do not exist, then2848 </pre><p id="rfc.section.9.11.p.12">Verbally, this would be interpreted as "text/html and text/x-c are the preferred media types, but if they do not exist, then 2853 2849 send the text/x-dvi representation, and if that does not exist, send the text/plain representation". 2854 2850 </p> 2855 <p id="rfc.section. 10.11.p.13">Media ranges can be overridden by more specific media ranges or specific media types. If more than one media range applies2851 <p id="rfc.section.9.11.p.13">Media ranges can be overridden by more specific media ranges or specific media types. If more than one media range applies 2856 2852 to a given type, the most specific reference has precedence. For example, 2857 2853 </p> 2858 2854 <div id="rfc.figure.u.48"></div><pre class="text"> Accept: text/*, text/plain, text/plain;format=flowed, */* 2859 </pre><p id="rfc.section. 10.11.p.15">have the following precedence: </p>2855 </pre><p id="rfc.section.9.11.p.15">have the following precedence: </p> 2860 2856 <ol> 2861 2857 <li>text/plain;format=flowed</li> … … 2864 2860 <li>*/*</li> 2865 2861 </ol> 2866 <p id="rfc.section. 10.11.p.16">The media type quality factor associated with a given type is determined by finding the media range with the highest precedence2862 <p id="rfc.section.9.11.p.16">The media type quality factor associated with a given type is determined by finding the media range with the highest precedence 2867 2863 which matches that type. For example, 2868 2864 </p> 2869 2865 <div id="rfc.figure.u.49"></div><pre class="text"> Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1, 2870 2866 text/html;level=2;q=0.4, */*;q=0.5 2871 </pre><p id="rfc.section. 10.11.p.18">would cause the following values to be associated:</p>2867 </pre><p id="rfc.section.9.11.p.18">would cause the following values to be associated:</p> 2872 2868 <div id="rfc.table.u.7"> 2873 2869 <table class="tt full left" cellpadding="3" cellspacing="0"> … … 2906 2902 </table> 2907 2903 </div> 2908 <p id="rfc.section. 10.11.p.19"> <b>Note:</b> A user agent might be provided with a default set of quality values for certain media ranges. However, unless the user agent2904 <p id="rfc.section.9.11.p.19"> <b>Note:</b> A user agent might be provided with a default set of quality values for certain media ranges. However, unless the user agent 2909 2905 is a closed system which cannot interact with other rendering agents, this default set ought to be configurable by the user. 2910 2906 </p> 2911 2907 <div id="rfc.iref.a.3"></div> 2912 2908 <div id="rfc.iref.h.13"></div> 2913 <h2 id="rfc.section. 10.12"><a href="#rfc.section.10.12">10.12</a> <a id="header.accept-charset" href="#header.accept-charset">Accept-Charset</a></h2>2914 <p id="rfc.section. 10.12.p.1">The "Accept-Charset" header field can be used by user agents to indicate what character encodings are acceptable in a response2909 <h2 id="rfc.section.9.12"><a href="#rfc.section.9.12">9.12</a> <a id="header.accept-charset" href="#header.accept-charset">Accept-Charset</a></h2> 2910 <p id="rfc.section.9.12.p.1">The "Accept-Charset" header field can be used by user agents to indicate what character encodings are acceptable in a response 2915 2911 payload. This field allows clients capable of understanding more comprehensive or special-purpose character encodings to signal 2916 2912 that capability to a server which is capable of representing documents in those character encodings. … … 2918 2914 <div id="rfc.figure.u.50"></div><pre class="inline"><span id="rfc.iref.g.53"></span> <a href="#header.accept-charset" class="smpl">Accept-Charset</a> = 1#( ( <a href="#rule.charset" class="smpl">charset</a> / "*" ) 2919 2915 [ <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> ] ) 2920 </pre><p id="rfc.section. 10.12.p.3">Character encoding values (a.k.a., charsets) are described in <a href="#character.sets" title="Character Encodings (charset)">Section 6.3</a>. Each charset <em class="bcp14">MAY</em> be given an associated quality value which represents the user's preference for that charset. The default value is q=1. An2916 </pre><p id="rfc.section.9.12.p.3">Character encoding values (a.k.a., charsets) are described in <a href="#character.sets" title="Character Encodings (charset)">Section 5.3</a>. Each charset <em class="bcp14">MAY</em> be given an associated quality value which represents the user's preference for that charset. The default value is q=1. An 2921 2917 example is 2922 2918 </p> 2923 2919 <div id="rfc.figure.u.51"></div><pre class="text"> Accept-Charset: iso-8859-5, unicode-1-1;q=0.8 2924 </pre><p id="rfc.section. 10.12.p.5">The special value "*", if present in the Accept-Charset field, matches every character encoding which is not mentioned elsewhere2920 </pre><p id="rfc.section.9.12.p.5">The special value "*", if present in the Accept-Charset field, matches every character encoding which is not mentioned elsewhere 2925 2921 in the Accept-Charset field. If no "*" is present in an Accept-Charset field, then all character encodings not explicitly 2926 2922 mentioned get a quality value of 0. 2927 2923 </p> 2928 <p id="rfc.section. 10.12.p.6">A request without any Accept-Charset header field implies that the user agent will accept any character encoding in response.2924 <p id="rfc.section.9.12.p.6">A request without any Accept-Charset header field implies that the user agent will accept any character encoding in response. 2929 2925 If an Accept-Charset header field is present in a request and none of the available representations for the response have 2930 2926 a character encoding that is listed as acceptable, the origin server <em class="bcp14">MAY</em> either honor the Accept-Charset header field by sending a 406 (Not Acceptable) response or disregard the Accept-Charset header … … 2933 2929 <div id="rfc.iref.a.4"></div> 2934 2930 <div id="rfc.iref.h.14"></div> 2935 <h2 id="rfc.section. 10.13"><a href="#rfc.section.10.13">10.13</a> <a id="header.accept-encoding" href="#header.accept-encoding">Accept-Encoding</a></h2>2936 <p id="rfc.section. 10.13.p.1">The "Accept-Encoding" header field can be used by user agents to indicate what response content-codings (<a href="#content.codings" title="Content Codings">Section 6.4</a>) are acceptable in the response. An "identity" token is used as a synonym for "no encoding" in order to communicate when2931 <h2 id="rfc.section.9.13"><a href="#rfc.section.9.13">9.13</a> <a id="header.accept-encoding" href="#header.accept-encoding">Accept-Encoding</a></h2> 2932 <p id="rfc.section.9.13.p.1">The "Accept-Encoding" header field can be used by user agents to indicate what response content-codings (<a href="#content.codings" title="Content Codings">Section 5.4</a>) are acceptable in the response. An "identity" token is used as a synonym for "no encoding" in order to communicate when 2937 2933 no encoding is preferred. 2938 2934 </p> 2939 2935 <div id="rfc.figure.u.52"></div><pre class="inline"><span id="rfc.iref.g.54"></span><span id="rfc.iref.g.55"></span> <a href="#header.accept-encoding" class="smpl">Accept-Encoding</a> = #( <a href="#header.accept-encoding" class="smpl">codings</a> [ <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> ] ) 2940 2936 <a href="#header.accept-encoding" class="smpl">codings</a> = <a href="#content.codings" class="smpl">content-coding</a> / "identity" / "*" 2941 </pre><p id="rfc.section. 10.13.p.3">Each codings value <em class="bcp14">MAY</em> be given an associated quality value which represents the preference for that encoding. The default value is q=1.2942 </p> 2943 <p id="rfc.section. 10.13.p.4">For example,</p>2937 </pre><p id="rfc.section.9.13.p.3">Each codings value <em class="bcp14">MAY</em> be given an associated quality value which represents the preference for that encoding. The default value is q=1. 2938 </p> 2939 <p id="rfc.section.9.13.p.4">For example,</p> 2944 2940 <div id="rfc.figure.u.53"></div><pre class="text"> Accept-Encoding: compress, gzip 2945 2941 Accept-Encoding: … … 2947 2943 Accept-Encoding: compress;q=0.5, gzip;q=1.0 2948 2944 Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0 2949 </pre><p id="rfc.section. 10.13.p.6">A server tests whether a content-coding for a given representation is acceptable, according to an Accept-Encoding field, using2945 </pre><p id="rfc.section.9.13.p.6">A server tests whether a content-coding for a given representation is acceptable, according to an Accept-Encoding field, using 2950 2946 these rules: 2951 2947 </p> … … 2962 2958 <li>If multiple content-codings are acceptable, then the acceptable content-coding with the highest non-zero qvalue is preferred.</li> 2963 2959 </ol> 2964 <p id="rfc.section. 10.13.p.7">An Accept-Encoding header field with a combined field-value that is empty implies that the user agent does not want any content-coding2960 <p id="rfc.section.9.13.p.7">An Accept-Encoding header field with a combined field-value that is empty implies that the user agent does not want any content-coding 2965 2961 in response. If an Accept-Encoding header field is present in a request and none of the available representations for the 2966 2962 response have a content-coding that is listed as acceptable, the origin server <em class="bcp14">SHOULD</em> send a response without any content-coding. 2967 2963 </p> 2968 <p id="rfc.section. 10.13.p.8">A request without an Accept-Encoding header field implies that the user agent will accept any content-coding in response,2964 <p id="rfc.section.9.13.p.8">A request without an Accept-Encoding header field implies that the user agent will accept any content-coding in response, 2969 2965 but a representation without content-coding is preferred for compatibility with the widest variety of user agents. 2970 2966 </p> 2971 <div class="note" id="rfc.section. 10.13.p.9">2967 <div class="note" id="rfc.section.9.13.p.9"> 2972 2968 <p> <b>Note:</b> Most HTTP/1.0 applications do not recognize or obey qvalues associated with content-codings. This means that qvalues will 2973 2969 not work and are not permitted with x-gzip or x-compress. … … 2976 2972 <div id="rfc.iref.a.5"></div> 2977 2973 <div id="rfc.iref.h.15"></div> 2978 <h2 id="rfc.section. 10.14"><a href="#rfc.section.10.14">10.14</a> <a id="header.accept-language" href="#header.accept-language">Accept-Language</a></h2>2979 <p id="rfc.section. 10.14.p.1">The "Accept-Language" header field can be used by user agents to indicate the set of natural languages that are preferred2980 in the response. Language tags are defined in <a href="#language.tags" title="Language Tags">Section 6.6</a>.2974 <h2 id="rfc.section.9.14"><a href="#rfc.section.9.14">9.14</a> <a id="header.accept-language" href="#header.accept-language">Accept-Language</a></h2> 2975 <p id="rfc.section.9.14.p.1">The "Accept-Language" header field can be used by user agents to indicate the set of natural languages that are preferred 2976 in the response. Language tags are defined in <a href="#language.tags" title="Language Tags">Section 5.6</a>. 2981 2977 </p> 2982 2978 <div id="rfc.figure.u.54"></div><pre class="inline"><span id="rfc.iref.g.56"></span><span id="rfc.iref.g.57"></span> <a href="#header.accept-language" class="smpl">Accept-Language</a> = … … 2984 2980 <a href="#header.accept-language" class="smpl">language-range</a> = 2985 2981 <language-range, defined in <a href="#RFC4647" id="rfc.xref.RFC4647.1"><cite title="Matching of Language Tags">[RFC4647]</cite></a>, <a href="http://tools.ietf.org/html/rfc4647#section-2.1">Section 2.1</a>> 2986 </pre><p id="rfc.section. 10.14.p.3">Each language-range can be given an associated quality value which represents an estimate of the user's preference for the2982 </pre><p id="rfc.section.9.14.p.3">Each language-range can be given an associated quality value which represents an estimate of the user's preference for the 2987 2983 languages specified by that range. The quality value defaults to "q=1". For example, 2988 2984 </p> 2989 2985 <div id="rfc.figure.u.55"></div><pre class="text"> Accept-Language: da, en-gb;q=0.8, en;q=0.7 2990 </pre><p id="rfc.section. 10.14.p.5">would mean: "I prefer Danish, but will accept British English and other types of English". (see also <a href="http://tools.ietf.org/html/rfc4647#section-2.3">Section 2.3</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.2"><cite title="Matching of Language Tags">[RFC4647]</cite></a>)2991 </p> 2992 <p id="rfc.section. 10.14.p.6">For matching, <a href="http://tools.ietf.org/html/rfc4647#section-3">Section 3</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.3"><cite title="Matching of Language Tags">[RFC4647]</cite></a> defines several matching schemes. Implementations can offer the most appropriate matching scheme for their requirements.2993 </p> 2994 <div class="note" id="rfc.section. 10.14.p.7">2986 </pre><p id="rfc.section.9.14.p.5">would mean: "I prefer Danish, but will accept British English and other types of English". (see also <a href="http://tools.ietf.org/html/rfc4647#section-2.3">Section 2.3</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.2"><cite title="Matching of Language Tags">[RFC4647]</cite></a>) 2987 </p> 2988 <p id="rfc.section.9.14.p.6">For matching, <a href="http://tools.ietf.org/html/rfc4647#section-3">Section 3</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.3"><cite title="Matching of Language Tags">[RFC4647]</cite></a> defines several matching schemes. Implementations can offer the most appropriate matching scheme for their requirements. 2989 </p> 2990 <div class="note" id="rfc.section.9.14.p.7"> 2995 2991 <p> <b>Note:</b> The "Basic Filtering" scheme (<a href="#RFC4647" id="rfc.xref.RFC4647.4"><cite title="Matching of Language Tags">[RFC4647]</cite></a>, <a href="http://tools.ietf.org/html/rfc4647#section-3.3.1">Section 3.3.1</a>) is identical to the matching scheme that was previously defined in <a href="http://tools.ietf.org/html/rfc2616#section-14.4">Section 14.4</a> of <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. 2996 2992 </p> 2997 2993 </div> 2998 <p id="rfc.section. 10.14.p.8">It might be contrary to the privacy expectations of the user to send an Accept-Language header field with the complete linguistic2999 preferences of the user in every request. For a discussion of this issue, see <a href="#privacy.issues.connected.to.accept.header.fields" title="Privacy Issues Connected to Accept Header Fields">Section 1 2.5</a>.3000 </p> 3001 <p id="rfc.section. 10.14.p.9">As intelligibility is highly dependent on the individual user, it is recommended that client applications make the choice2994 <p id="rfc.section.9.14.p.8">It might be contrary to the privacy expectations of the user to send an Accept-Language header field with the complete linguistic 2995 preferences of the user in every request. For a discussion of this issue, see <a href="#privacy.issues.connected.to.accept.header.fields" title="Privacy Issues Connected to Accept Header Fields">Section 11.5</a>. 2996 </p> 2997 <p id="rfc.section.9.14.p.9">As intelligibility is highly dependent on the individual user, it is recommended that client applications make the choice 3002 2998 of linguistic preference available to the user. If the choice is not made available, then the Accept-Language header field <em class="bcp14">MUST NOT</em> be given in the request. 3003 2999 </p> 3004 <div class="note" id="rfc.section. 10.14.p.10">3000 <div class="note" id="rfc.section.9.14.p.10"> 3005 3001 <p> <b>Note:</b> When making the choice of linguistic preference available to the user, we remind implementors of the fact that users are not 3006 3002 familiar with the details of language matching as described above, and ought to be provided appropriate guidance. As an example, … … 3011 3007 <div id="rfc.iref.c.7"></div> 3012 3008 <div id="rfc.iref.h.16"></div> 3013 <h2 id="rfc.section. 10.15"><a href="#rfc.section.10.15">10.15</a> <a id="header.content-encoding" href="#header.content-encoding">Content-Encoding</a></h2>3014 <p id="rfc.section. 10.15.p.1">The "Content-Encoding" header field indicates what content-codings have been applied to the representation beyond those inherent3009 <h2 id="rfc.section.9.15"><a href="#rfc.section.9.15">9.15</a> <a id="header.content-encoding" href="#header.content-encoding">Content-Encoding</a></h2> 3010 <p id="rfc.section.9.15.p.1">The "Content-Encoding" header field indicates what content-codings have been applied to the representation beyond those inherent 3015 3011 in the media type, and thus what decoding mechanisms have to be applied in order to obtain the media-type referenced by the 3016 3012 Content-Type header field. Content-Encoding is primarily used to allow a representation to be compressed without losing the … … 3018 3014 </p> 3019 3015 <div id="rfc.figure.u.56"></div><pre class="inline"><span id="rfc.iref.g.58"></span> <a href="#header.content-encoding" class="smpl">Content-Encoding</a> = 1#<a href="#content.codings" class="smpl">content-coding</a> 3020 </pre><p id="rfc.section. 10.15.p.3">Content codings are defined in <a href="#content.codings" title="Content Codings">Section 6.4</a>. An example of its use is3016 </pre><p id="rfc.section.9.15.p.3">Content codings are defined in <a href="#content.codings" title="Content Codings">Section 5.4</a>. An example of its use is 3021 3017 </p> 3022 3018 <div id="rfc.figure.u.57"></div><pre class="text"> Content-Encoding: gzip 3023 </pre><p id="rfc.section. 10.15.p.5">The content-coding is a characteristic of the representation. Typically, the representation body is stored with this encoding3019 </pre><p id="rfc.section.9.15.p.5">The content-coding is a characteristic of the representation. Typically, the representation body is stored with this encoding 3024 3020 and is only decoded before rendering or analogous usage. However, a transforming proxy <em class="bcp14">MAY</em> modify the content-coding if the new coding is known to be acceptable to the recipient, unless the "no-transform" cache-control 3025 3021 directive is present in the message. 3026 3022 </p> 3027 <p id="rfc.section. 10.15.p.6">If the media type includes an inherent encoding, such as a data format that is always compressed, then that encoding would3023 <p id="rfc.section.9.15.p.6">If the media type includes an inherent encoding, such as a data format that is always compressed, then that encoding would 3028 3024 not be restated as a Content-Encoding even if it happens to be the same algorithm as one of the content-codings. Such a content-coding 3029 3025 would only be listed if, for some bizarre reason, it is applied a second time to form the representation. Likewise, an origin … … 3032 3028 response (e.g., open a "Save as ..." dialog instead of automatic decompression and rendering of content). 3033 3029 </p> 3034 <p id="rfc.section. 10.15.p.7">A representation that has a content-coding applied to it <em class="bcp14">MUST</em> include a Content-Encoding header field (<a href="#header.content-encoding" id="rfc.xref.header.content-encoding.3" title="Content-Encoding">Section 10.15</a>) that lists the content-coding(s) applied.3035 </p> 3036 <p id="rfc.section. 10.15.p.8">If multiple encodings have been applied to a representation, the content codings <em class="bcp14">MUST</em> be listed in the order in which they were applied. Additional information about the encoding parameters <em class="bcp14">MAY</em> be provided by other header fields not defined by this specification.3037 </p> 3038 <p id="rfc.section. 10.15.p.9">If the content-coding of a representation in a request message is not acceptable to the origin server, the server <em class="bcp14">SHOULD</em> respond with a status code of 415 (Unsupported Media Type).3030 <p id="rfc.section.9.15.p.7">A representation that has a content-coding applied to it <em class="bcp14">MUST</em> include a Content-Encoding header field (<a href="#header.content-encoding" id="rfc.xref.header.content-encoding.3" title="Content-Encoding">Section 9.15</a>) that lists the content-coding(s) applied. 3031 </p> 3032 <p id="rfc.section.9.15.p.8">If multiple encodings have been applied to a representation, the content codings <em class="bcp14">MUST</em> be listed in the order in which they were applied. Additional information about the encoding parameters <em class="bcp14">MAY</em> be provided by other header fields not defined by this specification. 3033 </p> 3034 <p id="rfc.section.9.15.p.9">If the content-coding of a representation in a request message is not acceptable to the origin server, the server <em class="bcp14">SHOULD</em> respond with a status code of 415 (Unsupported Media Type). 3039 3035 </p> 3040 3036 <div id="rfc.iref.c.8"></div> 3041 3037 <div id="rfc.iref.h.17"></div> 3042 <h2 id="rfc.section. 10.16"><a href="#rfc.section.10.16">10.16</a> <a id="header.content-language" href="#header.content-language">Content-Language</a></h2>3043 <p id="rfc.section. 10.16.p.1">The "Content-Language" header field describes the natural language(s) of the intended audience for the representation. Note3038 <h2 id="rfc.section.9.16"><a href="#rfc.section.9.16">9.16</a> <a id="header.content-language" href="#header.content-language">Content-Language</a></h2> 3039 <p id="rfc.section.9.16.p.1">The "Content-Language" header field describes the natural language(s) of the intended audience for the representation. Note 3044 3040 that this might not be equivalent to all the languages used within the representation. 3045 3041 </p> 3046 3042 <div id="rfc.figure.u.58"></div><pre class="inline"><span id="rfc.iref.g.59"></span> <a href="#header.content-language" class="smpl">Content-Language</a> = 1#<a href="#language.tags" class="smpl">language-tag</a> 3047 </pre><p id="rfc.section. 10.16.p.3">Language tags are defined in <a href="#language.tags" title="Language Tags">Section 6.6</a>. The primary purpose of Content-Language is to allow a user to identify and differentiate representations according to the3043 </pre><p id="rfc.section.9.16.p.3">Language tags are defined in <a href="#language.tags" title="Language Tags">Section 5.6</a>. The primary purpose of Content-Language is to allow a user to identify and differentiate representations according to the 3048 3044 user's own preferred language. Thus, if the body content is intended only for a Danish-literate audience, the appropriate 3049 3045 field is 3050 3046 </p> 3051 3047 <div id="rfc.figure.u.59"></div><pre class="text"> Content-Language: da 3052 </pre><p id="rfc.section. 10.16.p.5">If no Content-Language is specified, the default is that the content is intended for all language audiences. This might mean3048 </pre><p id="rfc.section.9.16.p.5">If no Content-Language is specified, the default is that the content is intended for all language audiences. This might mean 3053 3049 that the sender does not consider it to be specific to any natural language, or that the sender does not know for which language 3054 3050 it is intended. 3055 3051 </p> 3056 <p id="rfc.section. 10.16.p.6">Multiple languages <em class="bcp14">MAY</em> be listed for content that is intended for multiple audiences. For example, a rendition of the "Treaty of Waitangi", presented3052 <p id="rfc.section.9.16.p.6">Multiple languages <em class="bcp14">MAY</em> be listed for content that is intended for multiple audiences. For example, a rendition of the "Treaty of Waitangi", presented 3057 3053 simultaneously in the original Maori and English versions, would call for 3058 3054 </p> 3059 3055 <div id="rfc.figure.u.60"></div><pre class="text"> Content-Language: mi, en 3060 </pre><p id="rfc.section. 10.16.p.8">However, just because multiple languages are present within a representation does not mean that it is intended for multiple3056 </pre><p id="rfc.section.9.16.p.8">However, just because multiple languages are present within a representation does not mean that it is intended for multiple 3061 3057 linguistic audiences. An example would be a beginner's language primer, such as "A First Lesson in Latin", which is clearly 3062 3058 intended to be used by an English-literate audience. In this case, the Content-Language would properly only include "en". 3063 3059 </p> 3064 <p id="rfc.section. 10.16.p.9">Content-Language <em class="bcp14">MAY</em> be applied to any media type — it is not limited to textual documents.3060 <p id="rfc.section.9.16.p.9">Content-Language <em class="bcp14">MAY</em> be applied to any media type — it is not limited to textual documents. 3065 3061 </p> 3066 3062 <div id="rfc.iref.c.9"></div> 3067 3063 <div id="rfc.iref.h.18"></div> 3068 <h2 id="rfc.section. 10.17"><a href="#rfc.section.10.17">10.17</a> <a id="header.content-location" href="#header.content-location">Content-Location</a></h2>3069 <p id="rfc.section. 10.17.p.1">The "Content-Location" header field supplies a URI that can be used as a specific identifier for the representation in this3064 <h2 id="rfc.section.9.17"><a href="#rfc.section.9.17">9.17</a> <a id="header.content-location" href="#header.content-location">Content-Location</a></h2> 3065 <p id="rfc.section.9.17.p.1">The "Content-Location" header field supplies a URI that can be used as a specific identifier for the representation in this 3070 3066 message. In other words, if one were to perform a GET on this URI at the time of this message's generation, then a 200 response 3071 3067 would contain the same representation that is enclosed as payload in this message. 3072 3068 </p> 3073 3069 <div id="rfc.figure.u.61"></div><pre class="inline"><span id="rfc.iref.g.60"></span> <a href="#header.content-location" class="smpl">Content-Location</a> = <a href="#abnf.dependencies" class="smpl">absolute-URI</a> / <a href="#abnf.dependencies" class="smpl">partial-URI</a> 3074 </pre><p id="rfc.section. 10.17.p.3">The Content-Location value is not a replacement for the effective Request URI (<a href="p1-messaging.html#effective.request.uri" title="Effective Request URI">Section 5.5</a> of <a href="#Part1" id="rfc.xref.Part1.51"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). It is representation metadata. It has the same syntax and semantics as the header field of the same name defined for MIME3070 </pre><p id="rfc.section.9.17.p.3">The Content-Location value is not a replacement for the effective Request URI (<a href="p1-messaging.html#effective.request.uri" title="Effective Request URI">Section 5.5</a> of <a href="#Part1" id="rfc.xref.Part1.51"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). It is representation metadata. It has the same syntax and semantics as the header field of the same name defined for MIME 3075 3071 body parts in <a href="http://tools.ietf.org/html/rfc2557#section-4">Section 4</a> of <a href="#RFC2557" id="rfc.xref.RFC2557.1"><cite title="MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)">[RFC2557]</cite></a>. However, its appearance in an HTTP message has some special implications for HTTP recipients. 3076 3072 </p> 3077 <p id="rfc.section. 10.17.p.4">If Content-Location is included in a response message and its value is the same as the effective request URI, then the response3073 <p id="rfc.section.9.17.p.4">If Content-Location is included in a response message and its value is the same as the effective request URI, then the response 3078 3074 payload <em class="bcp14">SHOULD</em> be considered a current representation of that resource. For a GET or HEAD request, this is the same as the default semantics 3079 3075 when no Content-Location is provided by the server. For a state-changing request like PUT or POST, it implies that the server's … … 3082 3078 need for a subsequent GET request. 3083 3079 </p> 3084 <p id="rfc.section. 10.17.p.5">If Content-Location is included in a response message and its value differs from the effective request URI, then the origin3080 <p id="rfc.section.9.17.p.5">If Content-Location is included in a response message and its value differs from the effective request URI, then the origin 3085 3081 server is informing recipients that this representation has its own, presumably more specific, identifier. For a GET or HEAD 3086 3082 request, this is an indication that the effective request URI identifies a resource that is subject to content negotiation … … 3091 3087 in the future. 3092 3088 </p> 3093 <p id="rfc.section. 10.17.p.6">If Content-Location is included in a request message, then it <em class="bcp14">MAY</em> be interpreted by the origin server as an indication of where the user agent originally obtained the content of the enclosed3089 <p id="rfc.section.9.17.p.6">If Content-Location is included in a request message, then it <em class="bcp14">MAY</em> be interpreted by the origin server as an indication of where the user agent originally obtained the content of the enclosed 3094 3090 representation (prior to any subsequent modification of the content by that user agent). In other words, the user agent is 3095 3091 providing the same representation metadata that it received with the original representation. However, such interpretation <em class="bcp14">MUST NOT</em> be used to alter the semantics of the method requested by the client. For example, if a client makes a PUT request on a negotiated … … 3099 3095 latter semantics, it would have applied the PUT directly to the Content-Location URI. 3100 3096 </p> 3101 <p id="rfc.section. 10.17.p.7">A Content-Location field received in a request message is transitory information that <em class="bcp14">SHOULD NOT</em> be saved with other representation metadata for use in later responses. The Content-Location's value might be saved for use3097 <p id="rfc.section.9.17.p.7">A Content-Location field received in a request message is transitory information that <em class="bcp14">SHOULD NOT</em> be saved with other representation metadata for use in later responses. The Content-Location's value might be saved for use 3102 3098 in other contexts, such as within source links or other metadata. 3103 3099 </p> 3104 <p id="rfc.section. 10.17.p.8">A cache cannot assume that a representation with a Content-Location different from the URI used to retrieve it can be used3100 <p id="rfc.section.9.17.p.8">A cache cannot assume that a representation with a Content-Location different from the URI used to retrieve it can be used 3105 3101 to respond to later requests on that Content-Location URI. 3106 3102 </p> 3107 <p id="rfc.section. 10.17.p.9">If the Content-Location value is a partial URI, the partial URI is interpreted relative to the effective request URI.</p>3103 <p id="rfc.section.9.17.p.9">If the Content-Location value is a partial URI, the partial URI is interpreted relative to the effective request URI.</p> 3108 3104 <div id="rfc.iref.c.10"></div> 3109 3105 <div id="rfc.iref.h.19"></div> 3110 <h2 id="rfc.section. 10.18"><a href="#rfc.section.10.18">10.18</a> <a id="header.content-type" href="#header.content-type">Content-Type</a></h2>3111 <p id="rfc.section. 10.18.p.1">The "Content-Type" header field indicates the media type of the representation. In the case of responses to the HEAD method,3106 <h2 id="rfc.section.9.18"><a href="#rfc.section.9.18">9.18</a> <a id="header.content-type" href="#header.content-type">Content-Type</a></h2> 3107 <p id="rfc.section.9.18.p.1">The "Content-Type" header field indicates the media type of the representation. In the case of responses to the HEAD method, 3112 3108 the media type is that which would have been sent had the request been a GET. 3113 3109 </p> 3114 3110 <div id="rfc.figure.u.62"></div><pre class="inline"><span id="rfc.iref.g.61"></span> <a href="#header.content-type" class="smpl">Content-Type</a> = <a href="#media.types" class="smpl">media-type</a> 3115 </pre><p id="rfc.section. 10.18.p.3">Media types are defined in <a href="#media.types" title="Media Types">Section 6.5</a>. An example of the field is3111 </pre><p id="rfc.section.9.18.p.3">Media types are defined in <a href="#media.types" title="Media Types">Section 5.5</a>. An example of the field is 3116 3112 </p> 3117 3113 <div id="rfc.figure.u.63"></div><pre class="text"> Content-Type: text/html; charset=ISO-8859-4 3118 </pre><p id="rfc.section. 10.18.p.5">Further discussion of Content-Type is provided in <a href="#representation.data" title="Representation Data">Section 8.2</a>.3119 </p> 3120 <h1 id="rfc.section.1 1"><a href="#rfc.section.11">11.</a> <a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1>3121 <h2 id="rfc.section.1 1.1"><a href="#rfc.section.11.1">11.1</a> <a id="method.registration" href="#method.registration">Method Registry</a></h2>3122 <p id="rfc.section.1 1.1.p.1">The registration procedure for HTTP request methods is defined by <a href="#method.registry" title="Method Registry">Section 2.2</a> of this document.3123 </p> 3124 <p id="rfc.section.1 1.1.p.2">The HTTP Method Registry shall be created at <<a href="http://www.iana.org/assignments/http-methods">http://www.iana.org/assignments/http-methods</a>> and be populated with the registrations below:3114 </pre><p id="rfc.section.9.18.p.5">Further discussion of Content-Type is provided in <a href="#representation.data" title="Representation Data">Section 7.3</a>. 3115 </p> 3116 <h1 id="rfc.section.10"><a href="#rfc.section.10">10.</a> <a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1> 3117 <h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a> <a id="method.registration" href="#method.registration">Method Registry</a></h2> 3118 <p id="rfc.section.10.1.p.1">The registration procedure for HTTP request methods is defined by <a href="#method.registry" title="Method Registry">Section 2.2</a> of this document. 3119 </p> 3120 <p id="rfc.section.10.1.p.2">The HTTP Method Registry shall be created at <<a href="http://www.iana.org/assignments/http-methods">http://www.iana.org/assignments/http-methods</a>> and be populated with the registrations below: 3125 3121 </p> 3126 3122 <div id="rfc.table.1"> … … 3186 3182 </table> 3187 3183 </div> 3188 <h2 id="rfc.section.1 1.2"><a href="#rfc.section.11.2">11.2</a> <a id="status.code.registration" href="#status.code.registration">Status Code Registry</a></h2>3189 <p id="rfc.section.1 1.2.p.1">The registration procedure for HTTP Status Codes — previously defined in <a href="http://tools.ietf.org/html/rfc2817#section-7.1">Section 7.1</a> of <a href="#RFC2817" id="rfc.xref.RFC2817.1"><cite title="Upgrading to TLS Within HTTP/1.1">[RFC2817]</cite></a> — is now defined by <a href="#status.code.registry" title="Status Code Registry">Section 4.2</a> of this document.3190 </p> 3191 <p id="rfc.section.1 1.2.p.2">The HTTP Status Code Registry located at <<a href="http://www.iana.org/assignments/http-status-codes">http://www.iana.org/assignments/http-status-codes</a>> shall be updated with the registrations below:3184 <h2 id="rfc.section.10.2"><a href="#rfc.section.10.2">10.2</a> <a id="status.code.registration" href="#status.code.registration">Status Code Registry</a></h2> 3185 <p id="rfc.section.10.2.p.1">The registration procedure for HTTP Status Codes — previously defined in <a href="http://tools.ietf.org/html/rfc2817#section-7.1">Section 7.1</a> of <a href="#RFC2817" id="rfc.xref.RFC2817.1"><cite title="Upgrading to TLS Within HTTP/1.1">[RFC2817]</cite></a> — is now defined by <a href="#status.code.registry" title="Status Code Registry">Section 4.2</a> of this document. 3186 </p> 3187 <p id="rfc.section.10.2.p.2">The HTTP Status Code Registry located at <<a href="http://www.iana.org/assignments/http-status-codes">http://www.iana.org/assignments/http-status-codes</a>> shall be updated with the registrations below: 3192 3188 </p> 3193 3189 <div id="rfc.table.2"> … … 3421 3417 </table> 3422 3418 </div> 3423 <h2 id="rfc.section.1 1.3"><a href="#rfc.section.11.3">11.3</a> <a id="header.field.registration" href="#header.field.registration">Header Field Registration</a></h2>3424 <p id="rfc.section.1 1.3.p.1">The Message Header Field Registry located at <<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>> shall be updated with the permanent registrations below (see <a href="#RFC3864" id="rfc.xref.RFC3864.3"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>):3419 <h2 id="rfc.section.10.3"><a href="#rfc.section.10.3">10.3</a> <a id="header.field.registration" href="#header.field.registration">Header Field Registration</a></h2> 3420 <p id="rfc.section.10.3.p.1">The Message Header Field Registry located at <<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>> shall be updated with the permanent registrations below (see <a href="#RFC3864" id="rfc.xref.RFC3864.3"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>): 3425 3421 </p> 3426 3422 <div id="rfc.table.3"> … … 3440 3436 <td class="left">http</td> 3441 3437 <td class="left">standard</td> 3442 <td class="left"> <a href="#header.accept" id="rfc.xref.header.accept.4" title="Accept">Section 10.11</a>3438 <td class="left"> <a href="#header.accept" id="rfc.xref.header.accept.4" title="Accept">Section 9.11</a> 3443 3439 </td> 3444 3440 </tr> … … 3447 3443 <td class="left">http</td> 3448 3444 <td class="left">standard</td> 3449 <td class="left"> <a href="#header.accept-charset" id="rfc.xref.header.accept-charset.3" title="Accept-Charset">Section 10.12</a>3445 <td class="left"> <a href="#header.accept-charset" id="rfc.xref.header.accept-charset.3" title="Accept-Charset">Section 9.12</a> 3450 3446 </td> 3451 3447 </tr> … … 3454 3450 <td class="left">http</td> 3455 3451 <td class="left">standard</td> 3456 <td class="left"> <a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.4" title="Accept-Encoding">Section 10.13</a>3452 <td class="left"> <a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.4" title="Accept-Encoding">Section 9.13</a> 3457 3453 </td> 3458 3454 </tr> … … 3461 3457 <td class="left">http</td> 3462 3458 <td class="left">standard</td> 3463 <td class="left"> <a href="#header.accept-language" id="rfc.xref.header.accept-language.3" title="Accept-Language">Section 10.14</a>3459 <td class="left"> <a href="#header.accept-language" id="rfc.xref.header.accept-language.3" title="Accept-Language">Section 9.14</a> 3464 3460 </td> 3465 3461 </tr> … … 3468 3464 <td class="left">http</td> 3469 3465 <td class="left">standard</td> 3470 <td class="left"> <a href="#header.allow" id="rfc.xref.header.allow.3" title="Allow">Section 10.1</a>3466 <td class="left"> <a href="#header.allow" id="rfc.xref.header.allow.3" title="Allow">Section 9.1</a> 3471 3467 </td> 3472 3468 </tr> … … 3475 3471 <td class="left">http</td> 3476 3472 <td class="left">standard</td> 3477 <td class="left"> <a href="#header.content-encoding" id="rfc.xref.header.content-encoding.4" title="Content-Encoding">Section 10.15</a>3473 <td class="left"> <a href="#header.content-encoding" id="rfc.xref.header.content-encoding.4" title="Content-Encoding">Section 9.15</a> 3478 3474 </td> 3479 3475 </tr> … … 3482 3478 <td class="left">http</td> 3483 3479 <td class="left">standard</td> 3484 <td class="left"> <a href="#header.content-language" id="rfc.xref.header.content-language.2" title="Content-Language">Section 10.16</a>3480 <td class="left"> <a href="#header.content-language" id="rfc.xref.header.content-language.2" title="Content-Language">Section 9.16</a> 3485 3481 </td> 3486 3482 </tr> … … 3489 3485 <td class="left">http</td> 3490 3486 <td class="left">standard</td> 3491 <td class="left"> <a href="#header.content-location" id="rfc.xref.header.content-location.4" title="Content-Location">Section 10.17</a>3487 <td class="left"> <a href="#header.content-location" id="rfc.xref.header.content-location.4" title="Content-Location">Section 9.17</a> 3492 3488 </td> 3493 3489 </tr> … … 3496 3492 <td class="left">http</td> 3497 3493 <td class="left">standard</td> 3498 <td class="left"> <a href="#header.content-type" id="rfc.xref.header.content-type.5" title="Content-Type">Section 10.18</a>3494 <td class="left"> <a href="#header.content-type" id="rfc.xref.header.content-type.5" title="Content-Type">Section 9.18</a> 3499 3495 </td> 3500 3496 </tr> … … 3503 3499 <td class="left">http</td> 3504 3500 <td class="left">standard</td> 3505 <td class="left"> <a href="#header.date" id="rfc.xref.header.date.2" title="Date">Section 10.2</a>3501 <td class="left"> <a href="#header.date" id="rfc.xref.header.date.2" title="Date">Section 9.2</a> 3506 3502 </td> 3507 3503 </tr> … … 3510 3506 <td class="left">http</td> 3511 3507 <td class="left">standard</td> 3512 <td class="left"> <a href="#header.expect" id="rfc.xref.header.expect.3" title="Expect">Section 10.3</a>3508 <td class="left"> <a href="#header.expect" id="rfc.xref.header.expect.3" title="Expect">Section 9.3</a> 3513 3509 </td> 3514 3510 </tr> … … 3517 3513 <td class="left">http</td> 3518 3514 <td class="left">standard</td> 3519 <td class="left"> <a href="#header.from" id="rfc.xref.header.from.2" title="From">Section 10.4</a>3515 <td class="left"> <a href="#header.from" id="rfc.xref.header.from.2" title="From">Section 9.4</a> 3520 3516 </td> 3521 3517 </tr> … … 3524 3520 <td class="left">http</td> 3525 3521 <td class="left">standard</td> 3526 <td class="left"> <a href="#header.location" id="rfc.xref.header.location.4" title="Location">Section 10.5</a>3522 <td class="left"> <a href="#header.location" id="rfc.xref.header.location.4" title="Location">Section 9.5</a> 3527 3523 </td> 3528 3524 </tr> … … 3538 3534 <td class="left">http</td> 3539 3535 <td class="left">standard</td> 3540 <td class="left"> <a href="#header.max-forwards" id="rfc.xref.header.max-forwards.4" title="Max-Forwards">Section 10.6</a>3536 <td class="left"> <a href="#header.max-forwards" id="rfc.xref.header.max-forwards.4" title="Max-Forwards">Section 9.6</a> 3541 3537 </td> 3542 3538 </tr> … … 3545 3541 <td class="left">http</td> 3546 3542 <td class="left">standard</td> 3547 <td class="left"> <a href="#header.referer" id="rfc.xref.header.referer.2" title="Referer">Section 10.7</a>3543 <td class="left"> <a href="#header.referer" id="rfc.xref.header.referer.2" title="Referer">Section 9.7</a> 3548 3544 </td> 3549 3545 </tr> … … 3552 3548 <td class="left">http</td> 3553 3549 <td class="left">standard</td> 3554 <td class="left"> <a href="#header.retry-after" id="rfc.xref.header.retry-after.3" title="Retry-After">Section 10.8</a>3550 <td class="left"> <a href="#header.retry-after" id="rfc.xref.header.retry-after.3" title="Retry-After">Section 9.8</a> 3555 3551 </td> 3556 3552 </tr> … … 3559 3555 <td class="left">http</td> 3560 3556 <td class="left">standard</td> 3561 <td class="left"> <a href="#header.server" id="rfc.xref.header.server.2" title="Server">Section 10.9</a>3557 <td class="left"> <a href="#header.server" id="rfc.xref.header.server.2" title="Server">Section 9.9</a> 3562 3558 </td> 3563 3559 </tr> … … 3566 3562 <td class="left">http</td> 3567 3563 <td class="left">standard</td> 3568 <td class="left"> <a href="#header.user-agent" id="rfc.xref.header.user-agent.3" title="User-Agent">Section 10.10</a>3564 <td class="left"> <a href="#header.user-agent" id="rfc.xref.header.user-agent.3" title="User-Agent">Section 9.10</a> 3569 3565 </td> 3570 3566 </tr> … … 3572 3568 </table> 3573 3569 </div> 3574 <p id="rfc.section.1 1.3.p.2">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p>3575 <h2 id="rfc.section.1 1.4"><a href="#rfc.section.11.4">11.4</a> <a id="content.coding.registration" href="#content.coding.registration">Content Coding Registry</a></h2>3576 <p id="rfc.section.1 1.4.p.1">The registration procedure for HTTP Content Codings is now defined by <a href="#content.coding.registry" title="Content Coding Registry">Section 6.4.1</a> of this document.3577 </p> 3578 <p id="rfc.section.1 1.4.p.2">The HTTP Content Codings Registry located at <<a href="http://www.iana.org/assignments/http-parameters">http://www.iana.org/assignments/http-parameters</a>> shall be updated with the registration below:3570 <p id="rfc.section.10.3.p.2">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p> 3571 <h2 id="rfc.section.10.4"><a href="#rfc.section.10.4">10.4</a> <a id="content.coding.registration" href="#content.coding.registration">Content Coding Registry</a></h2> 3572 <p id="rfc.section.10.4.p.1">The registration procedure for HTTP Content Codings is now defined by <a href="#content.coding.registry" title="Content Coding Registry">Section 5.4.1</a> of this document. 3573 </p> 3574 <p id="rfc.section.10.4.p.2">The HTTP Content Codings Registry located at <<a href="http://www.iana.org/assignments/http-parameters">http://www.iana.org/assignments/http-parameters</a>> shall be updated with the registration below: 3579 3575 </p> 3580 3576 <div id="rfc.table.4"> … … 3611 3607 <td class="left">identity</td> 3612 3608 <td class="left">reserved (synonym for "no encoding" in Accept-Encoding header field)</td> 3613 <td class="left"> <a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.5" title="Accept-Encoding">Section 10.13</a>3609 <td class="left"> <a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.5" title="Accept-Encoding">Section 9.13</a> 3614 3610 </td> 3615 3611 </tr> … … 3617 3613 </table> 3618 3614 </div> 3619 <h1 id="rfc.section.1 2"><a href="#rfc.section.12">12.</a> <a id="security.considerations" href="#security.considerations">Security Considerations</a></h1>3620 <p id="rfc.section.1 2.p.1">This section is meant to inform application developers, information providers, and users of the security limitations in HTTP/1.13615 <h1 id="rfc.section.11"><a href="#rfc.section.11">11.</a> <a id="security.considerations" href="#security.considerations">Security Considerations</a></h1> 3616 <p id="rfc.section.11.p.1">This section is meant to inform application developers, information providers, and users of the security limitations in HTTP/1.1 3621 3617 as described by this document. The discussion does not include definitive solutions to the problems revealed, though it does 3622 3618 make some suggestions for reducing security risks. 3623 3619 </p> 3624 <h2 id="rfc.section.1 2.1"><a href="#rfc.section.12.1">12.1</a> <a id="security.sensitive" href="#security.sensitive">Transfer of Sensitive Information</a></h2>3625 <p id="rfc.section.1 2.1.p.1">Like any generic data transfer protocol, HTTP cannot regulate the content of the data that is transferred, nor is there any3620 <h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a> <a id="security.sensitive" href="#security.sensitive">Transfer of Sensitive Information</a></h2> 3621 <p id="rfc.section.11.1.p.1">Like any generic data transfer protocol, HTTP cannot regulate the content of the data that is transferred, nor is there any 3626 3622 a priori method of determining the sensitivity of any particular piece of information within the context of any given request. 3627 3623 Therefore, applications <em class="bcp14">SHOULD</em> supply as much control over this information as possible to the provider of that information. Four header fields are worth 3628 3624 special mention in this context: Server, Via, Referer and From. 3629 3625 </p> 3630 <p id="rfc.section.1 2.1.p.2">Revealing the specific software version of the server might allow the server machine to become more vulnerable to attacks3626 <p id="rfc.section.11.1.p.2">Revealing the specific software version of the server might allow the server machine to become more vulnerable to attacks 3631 3627 against software that is known to contain security holes. Implementors <em class="bcp14">SHOULD</em> make the Server header field a configurable option. 3632 3628 </p> 3633 <p id="rfc.section.1 2.1.p.3">Proxies which serve as a portal through a network firewall <em class="bcp14">SHOULD</em> take special precautions regarding the transfer of header information that identifies the hosts behind the firewall. In particular,3629 <p id="rfc.section.11.1.p.3">Proxies which serve as a portal through a network firewall <em class="bcp14">SHOULD</em> take special precautions regarding the transfer of header information that identifies the hosts behind the firewall. In particular, 3634 3630 they <em class="bcp14">SHOULD</em> remove, or replace with sanitized versions, any Via fields generated behind the firewall. 3635 3631 </p> 3636 <p id="rfc.section.1 2.1.p.4">The Referer header field allows reading patterns to be studied and reverse links drawn. Although it can be very useful, its3632 <p id="rfc.section.11.1.p.4">The Referer header field allows reading patterns to be studied and reverse links drawn. Although it can be very useful, its 3637 3633 power can be abused if user details are not separated from the information contained in the Referer. Even when the personal 3638 3634 information has been removed, the Referer header field might indicate a private document's URI whose publication would be 3639 3635 inappropriate. 3640 3636 </p> 3641 <p id="rfc.section.1 2.1.p.5">The information sent in the From field might conflict with the user's privacy interests or their site's security policy, and3637 <p id="rfc.section.11.1.p.5">The information sent in the From field might conflict with the user's privacy interests or their site's security policy, and 3642 3638 hence it <em class="bcp14">SHOULD NOT</em> be transmitted without the user being able to disable, enable, and modify the contents of the field. The user <em class="bcp14">MUST</em> be able to set the contents of this field within a user preference or application defaults configuration. 3643 3639 </p> 3644 <p id="rfc.section.1 2.1.p.6">We suggest, though do not require, that a convenient toggle interface be provided for the user to enable or disable the sending3640 <p id="rfc.section.11.1.p.6">We suggest, though do not require, that a convenient toggle interface be provided for the user to enable or disable the sending 3645 3641 of From and Referer information. 3646 3642 </p> 3647 <p id="rfc.section.1 2.1.p.7">The User-Agent (<a href="#header.user-agent" id="rfc.xref.header.user-agent.4" title="User-Agent">Section 10.10</a>) or Server (<a href="#header.server" id="rfc.xref.header.server.3" title="Server">Section 10.9</a>) header fields can sometimes be used to determine that a specific client or server has a particular security hole which might3643 <p id="rfc.section.11.1.p.7">The User-Agent (<a href="#header.user-agent" id="rfc.xref.header.user-agent.4" title="User-Agent">Section 9.10</a>) or Server (<a href="#header.server" id="rfc.xref.header.server.3" title="Server">Section 9.9</a>) header fields can sometimes be used to determine that a specific client or server has a particular security hole which might 3648 3644 be exploited. Unfortunately, this same information is often used for other valuable purposes for which HTTP currently has 3649 3645 no better mechanism. 3650 3646 </p> 3651 <p id="rfc.section.1 2.1.p.8">Furthermore, the User-Agent header field may contain enough entropy to be used, possibly in conjunction with other material,3647 <p id="rfc.section.11.1.p.8">Furthermore, the User-Agent header field may contain enough entropy to be used, possibly in conjunction with other material, 3652 3648 to uniquely identify the user. 3653 3649 </p> 3654 <p id="rfc.section.1 2.1.p.9">Some request methods, like TRACE (<a href="#TRACE" id="rfc.xref.TRACE.3" title="TRACE">Section 2.3.7</a>), expose information that was sent in request header fields within the body of their response. Clients <em class="bcp14">SHOULD</em> be careful with sensitive information, like Cookies, Authorization credentials, and other header fields that might be used3650 <p id="rfc.section.11.1.p.9">Some request methods, like TRACE (<a href="#TRACE" id="rfc.xref.TRACE.3" title="TRACE">Section 2.3.7</a>), expose information that was sent in request header fields within the body of their response. Clients <em class="bcp14">SHOULD</em> be careful with sensitive information, like Cookies, Authorization credentials, and other header fields that might be used 3655 3651 to collect data from the client. 3656 3652 </p> 3657 <h2 id="rfc.section.1 2.2"><a href="#rfc.section.12.2">12.2</a> <a id="encoding.sensitive.information.in.uris" href="#encoding.sensitive.information.in.uris">Encoding Sensitive Information in URIs</a></h2>3658 <p id="rfc.section.1 2.2.p.1">Because the source of a link might be private information or might reveal an otherwise private information source, it is strongly3653 <h2 id="rfc.section.11.2"><a href="#rfc.section.11.2">11.2</a> <a id="encoding.sensitive.information.in.uris" href="#encoding.sensitive.information.in.uris">Encoding Sensitive Information in URIs</a></h2> 3654 <p id="rfc.section.11.2.p.1">Because the source of a link might be private information or might reveal an otherwise private information source, it is strongly 3659 3655 recommended that the user be able to select whether or not the Referer field is sent. For example, a browser client could 3660 3656 have a toggle switch for browsing openly/anonymously, which would respectively enable/disable the sending of Referer and From 3661 3657 information. 3662 3658 </p> 3663 <p id="rfc.section.1 2.2.p.2">Clients <em class="bcp14">SHOULD NOT</em> include a Referer header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol.3664 </p> 3665 <p id="rfc.section.1 2.2.p.3">Authors of services <em class="bcp14">SHOULD NOT</em> use GET-based forms for the submission of sensitive data because that data will be placed in the request-target. Many existing3659 <p id="rfc.section.11.2.p.2">Clients <em class="bcp14">SHOULD NOT</em> include a Referer header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol. 3660 </p> 3661 <p id="rfc.section.11.2.p.3">Authors of services <em class="bcp14">SHOULD NOT</em> use GET-based forms for the submission of sensitive data because that data will be placed in the request-target. Many existing 3666 3662 servers, proxies, and user agents log or display the request-target in places where it might be visible to third parties. 3667 3663 Such services can use POST-based form submission instead. 3668 3664 </p> 3669 <h2 id="rfc.section.1 2.3"><a href="#rfc.section.12.3">12.3</a> <a id="location.spoofing-leakage" href="#location.spoofing-leakage">Location Header Fields: Spoofing and Information Leakage</a></h2>3670 <p id="rfc.section.1 2.3.p.1">If a single server supports multiple organizations that do not trust one another, then it <em class="bcp14">MUST</em> check the values of Location and Content-Location header fields in responses that are generated under control of said organizations3665 <h2 id="rfc.section.11.3"><a href="#rfc.section.11.3">11.3</a> <a id="location.spoofing-leakage" href="#location.spoofing-leakage">Location Header Fields: Spoofing and Information Leakage</a></h2> 3666 <p id="rfc.section.11.3.p.1">If a single server supports multiple organizations that do not trust one another, then it <em class="bcp14">MUST</em> check the values of Location and Content-Location header fields in responses that are generated under control of said organizations 3671 3667 to make sure that they do not attempt to invalidate resources over which they have no authority. 3672 3668 </p> 3673 <p id="rfc.section.1 2.3.p.2">Furthermore, appending the fragment identifier from one URI to another one obtained from a Location header field might leak3669 <p id="rfc.section.11.3.p.2">Furthermore, appending the fragment identifier from one URI to another one obtained from a Location header field might leak 3674 3670 confidential information to the target server — although the fragment identifier is not transmitted in the final request, 3675 3671 it might be visible to the user agent through other means, such as scripting. 3676 3672 </p> 3677 <h2 id="rfc.section.1 2.4"><a href="#rfc.section.12.4">12.4</a> Security Considerations for CONNECT3673 <h2 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a> Security Considerations for CONNECT 3678 3674 </h2> 3679 <p id="rfc.section.1 2.4.p.1">Since tunneled data is opaque to the proxy, there are additional risks to tunneling to other well-known or reserved ports.3675 <p id="rfc.section.11.4.p.1">Since tunneled data is opaque to the proxy, there are additional risks to tunneling to other well-known or reserved ports. 3680 3676 A HTTP client CONNECTing to port 25 could relay spam via SMTP, for example. As such, proxies <em class="bcp14">SHOULD</em> restrict CONNECT access to a small number of known ports. 3681 3677 </p> 3682 <h2 id="rfc.section.1 2.5"><a href="#rfc.section.12.5">12.5</a> <a id="privacy.issues.connected.to.accept.header.fields" href="#privacy.issues.connected.to.accept.header.fields">Privacy Issues Connected to Accept Header Fields</a></h2>3683 <p id="rfc.section.1 2.5.p.1">Accept header fields can reveal information about the user to all servers which are accessed. The Accept-Language header field3678 <h2 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a> <a id="privacy.issues.connected.to.accept.header.fields" href="#privacy.issues.connected.to.accept.header.fields">Privacy Issues Connected to Accept Header Fields</a></h2> 3679 <p id="rfc.section.11.5.p.1">Accept header fields can reveal information about the user to all servers which are accessed. The Accept-Language header field 3684 3680 in particular can reveal information the user would consider to be of a private nature, because the understanding of particular 3685 3681 languages is often strongly correlated to the membership of a particular ethnic group. User agents which offer the option … … 3687 3683 configuration process include a message which makes the user aware of the loss of privacy involved. 3688 3684 </p> 3689 <p id="rfc.section.1 2.5.p.2">An approach that limits the loss of privacy would be for a user agent to omit the sending of Accept-Language header fields3685 <p id="rfc.section.11.5.p.2">An approach that limits the loss of privacy would be for a user agent to omit the sending of Accept-Language header fields 3690 3686 by default, and to ask the user whether or not to start sending Accept-Language header fields to a server if it detects, by 3691 3687 looking for any Vary header fields generated by the server, that such sending could improve the quality of service. 3692 3688 </p> 3693 <p id="rfc.section.1 2.5.p.3">Elaborate user-customized accept header fields sent in every request, in particular if these include quality values, can be3689 <p id="rfc.section.11.5.p.3">Elaborate user-customized accept header fields sent in every request, in particular if these include quality values, can be 3694 3690 used by servers as relatively reliable and long-lived user identifiers. Such user identifiers would allow content providers 3695 3691 to do click-trail tracking, and would allow collaborating content providers to match cross-server click-trails or form submissions … … 3699 3695 filter the accept header fields in relayed requests. General purpose user agents which provide a high degree of header configurability <em class="bcp14">SHOULD</em> warn users about the loss of privacy which can be involved. 3700 3696 </p> 3701 <h1 id="rfc.section.1 3"><a href="#rfc.section.13">13.</a> <a id="acks" href="#acks">Acknowledgments</a></h1>3702 <p id="rfc.section.1 3.p.1">See <a href="p1-messaging.html#acks" title="Acknowledgments">Section 9</a> of <a href="#Part1" id="rfc.xref.Part1.55"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>.3703 </p> 3704 <h1 id="rfc.references"><a id="rfc.section.1 4" href="#rfc.section.14">14.</a> References3697 <h1 id="rfc.section.12"><a href="#rfc.section.12">12.</a> <a id="acks" href="#acks">Acknowledgments</a></h1> 3698 <p id="rfc.section.12.p.1">See <a href="p1-messaging.html#acks" title="Acknowledgments">Section 9</a> of <a href="#Part1" id="rfc.xref.Part1.55"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. 3699 </p> 3700 <h1 id="rfc.references"><a id="rfc.section.13" href="#rfc.section.13">13.</a> References 3705 3701 </h1> 3706 <h2 id="rfc.references.1"><a href="#rfc.section.1 4.1" id="rfc.section.14.1">14.1</a> Normative References3702 <h2 id="rfc.references.1"><a href="#rfc.section.13.1" id="rfc.section.13.1">13.1</a> Normative References 3707 3703 </h2> 3708 3704 <table> … … 3793 3789 </tr> 3794 3790 </table> 3795 <h2 id="rfc.references.2"><a href="#rfc.section.1 4.2" id="rfc.section.14.2">14.2</a> Informative References3791 <h2 id="rfc.references.2"><a href="#rfc.section.13.2" id="rfc.section.13.2">13.2</a> Informative References 3796 3792 </h2> 3797 3793 <table> … … 3926 3922 </p> 3927 3923 <h2 id="rfc.section.A.2"><a href="#rfc.section.A.2">A.2</a> <a id="conversion.to.canonical.form" href="#conversion.to.canonical.form">Conversion to Canonical Form</a></h2> 3928 <p id="rfc.section.A.2.p.1">MIME requires that an Internet mail body-part be converted to canonical form prior to being transferred, as described in <a href="http://tools.ietf.org/html/rfc2049#section-4">Section 4</a> of <a href="#RFC2049" id="rfc.xref.RFC2049.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples">[RFC2049]</cite></a>. <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 6.5.1</a> of this document describes the forms allowed for subtypes of the "text" media type when transmitted over HTTP. <a href="#RFC2046" id="rfc.xref.RFC2046.4"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> requires that content with a type of "text" represent line breaks as CRLF and forbids the use of CR or LF outside of line3924 <p id="rfc.section.A.2.p.1">MIME requires that an Internet mail body-part be converted to canonical form prior to being transferred, as described in <a href="http://tools.ietf.org/html/rfc2049#section-4">Section 4</a> of <a href="#RFC2049" id="rfc.xref.RFC2049.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples">[RFC2049]</cite></a>. <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 5.5.1</a> of this document describes the forms allowed for subtypes of the "text" media type when transmitted over HTTP. <a href="#RFC2046" id="rfc.xref.RFC2046.4"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> requires that content with a type of "text" represent line breaks as CRLF and forbids the use of CR or LF outside of line 3929 3925 break sequences. HTTP allows CRLF, bare CR, and bare LF to indicate a line break within text content when a message is transmitted 3930 3926 over HTTP. 3931 3927 </p> 3932 <p id="rfc.section.A.2.p.2">Where it is possible, a proxy or gateway from HTTP to a strict MIME environment <em class="bcp14">SHOULD</em> translate all line breaks within the text media types described in <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 6.5.1</a> of this document to the RFC 2049 canonical form of CRLF. Note, however, that this might be complicated by the presence of3928 <p id="rfc.section.A.2.p.2">Where it is possible, a proxy or gateway from HTTP to a strict MIME environment <em class="bcp14">SHOULD</em> translate all line breaks within the text media types described in <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 5.5.1</a> of this document to the RFC 2049 canonical form of CRLF. Note, however, that this might be complicated by the presence of 3933 3929 a Content-Encoding and by the fact that HTTP allows the use of some character encodings which do not use octets 13 and 10 3934 3930 to represent CR and LF, respectively, as is the case for some multi-byte character encodings. … … 3938 3934 </p> 3939 3935 <h2 id="rfc.section.A.3"><a href="#rfc.section.A.3">A.3</a> <a id="conversion.of.date.formats" href="#conversion.of.date.formats">Conversion of Date Formats</a></h2> 3940 <p id="rfc.section.A.3.p.1">HTTP/1.1 uses a restricted set of date formats (<a href="#http.date" title="Date/Time Formats">Section 6.1</a>) to simplify the process of date comparison. Proxies and gateways from other protocols <em class="bcp14">SHOULD</em> ensure that any Date header field present in a message conforms to one of the HTTP/1.1 formats and rewrite the date if necessary.3936 <p id="rfc.section.A.3.p.1">HTTP/1.1 uses a restricted set of date formats (<a href="#http.date" title="Date/Time Formats">Section 5.1</a>) to simplify the process of date comparison. Proxies and gateways from other protocols <em class="bcp14">SHOULD</em> ensure that any Date header field present in a message conforms to one of the HTTP/1.1 formats and rewrite the date if necessary. 3941 3937 </p> 3942 3938 <h2 id="rfc.section.A.4"><a href="#rfc.section.A.4">A.4</a> <a id="introduction.of.content-encoding" href="#introduction.of.content-encoding">Introduction of Content-Encoding</a></h2> … … 3962 3958 <p id="rfc.section.A.7.p.1">HTTP implementations which share code with MHTML <a href="#RFC2557" id="rfc.xref.RFC2557.2"><cite title="MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)">[RFC2557]</cite></a> implementations need to be aware of MIME line length limitations. Since HTTP does not have this limitation, HTTP does not 3963 3959 fold long lines. MHTML messages being transported by HTTP follow all conventions of MHTML, including line length limitations 3964 and folding, canonicalization, etc., since HTTP transports all message-bodies as payload (see <a href="#multipart.types" title="Multipart Types">Section 6.5.2</a>) and does not interpret the content or any MIME header lines that might be contained therein.3960 and folding, canonicalization, etc., since HTTP transports all message-bodies as payload (see <a href="#multipart.types" title="Multipart Types">Section 5.5.2</a>) and does not interpret the content or any MIME header lines that might be contained therein. 3965 3961 </p> 3966 3962 <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a> <a id="additional.features" href="#additional.features">Additional Features</a></h1> … … 3995 3991 <p id="rfc.section.C.p.9">Define status 426 (Upgrade Required) (this was incorporated from <a href="#RFC2817" id="rfc.xref.RFC2817.4"><cite title="Upgrading to TLS Within HTTP/1.1">[RFC2817]</cite></a>). (<a href="#status.426" id="rfc.xref.status.426.3" title="426 Upgrade Required">Section 4.6.15</a>) 3996 3992 </p> 3997 <p id="rfc.section.C.p.10">Change ABNF productions for header fields to only define the field value. (<a href="#header.field.definitions" title="Header Field Definitions">Section 10</a>)3993 <p id="rfc.section.C.p.10">Change ABNF productions for header fields to only define the field value. (<a href="#header.field.definitions" title="Header Field Definitions">Section 9</a>) 3998 3994 </p> 3999 3995 <p id="rfc.section.C.p.11">Reclassify "Allow" as response header field, removing the option to specify it in a PUT request. Relax the server requirement 4000 on the contents of the Allow header field and remove requirement on clients to always trust the header field value. (<a href="#header.allow" id="rfc.xref.header.allow.4" title="Allow">Section 10.1</a>)3996 on the contents of the Allow header field and remove requirement on clients to always trust the header field value. (<a href="#header.allow" id="rfc.xref.header.allow.4" title="Allow">Section 9.1</a>) 4001 3997 </p> 4002 3998 <p id="rfc.section.C.p.12">The ABNF for the Expect header field has been both fixed (allowing parameters for value-less expectations as well) and simplified 4003 (allowing trailing semicolons after "100-continue" when they were invalid before). (<a href="#header.expect" id="rfc.xref.header.expect.4" title="Expect">Section 10.3</a>)3999 (allowing trailing semicolons after "100-continue" when they were invalid before). (<a href="#header.expect" id="rfc.xref.header.expect.4" title="Expect">Section 9.3</a>) 4004 4000 </p> 4005 4001 <p id="rfc.section.C.p.13">Correct syntax of Location header field to allow URI references (including relative references and fragments), as referred 4006 4002 symbol "absoluteURI" wasn't what was expected, and add some clarifications as to when use of fragments would not be appropriate. 4007 (<a href="#header.location" id="rfc.xref.header.location.5" title="Location">Section 10.5</a>)4008 </p> 4009 <p id="rfc.section.C.p.14">Restrict Max-Forwards header field to OPTIONS and TRACE (previously, extension methods could have used it as well). (<a href="#header.max-forwards" id="rfc.xref.header.max-forwards.5" title="Max-Forwards">Section 10.6</a>)4010 </p> 4011 <p id="rfc.section.C.p.15">Allow Referer field value of "about:blank" as alternative to not specifying it. (<a href="#header.referer" id="rfc.xref.header.referer.3" title="Referer">Section 10.7</a>)4003 (<a href="#header.location" id="rfc.xref.header.location.5" title="Location">Section 9.5</a>) 4004 </p> 4005 <p id="rfc.section.C.p.14">Restrict Max-Forwards header field to OPTIONS and TRACE (previously, extension methods could have used it as well). (<a href="#header.max-forwards" id="rfc.xref.header.max-forwards.5" title="Max-Forwards">Section 9.6</a>) 4006 </p> 4007 <p id="rfc.section.C.p.15">Allow Referer field value of "about:blank" as alternative to not specifying it. (<a href="#header.referer" id="rfc.xref.header.referer.3" title="Referer">Section 9.7</a>) 4012 4008 </p> 4013 4009 <p id="rfc.section.C.p.16">In the description of the Server header field, the Via field was described as a SHOULD. The requirement was and is stated 4014 correctly in the description of the Via header field in <a href="p1-messaging.html#header.via" title="Via">Section 6.2</a> of <a href="#Part1" id="rfc.xref.Part1.57"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. (<a href="#header.server" id="rfc.xref.header.server.4" title="Server">Section 10.9</a>)4015 </p> 4016 <p id="rfc.section.C.p.17">Clarify contexts that charset is used in. (<a href="#character.sets" title="Character Encodings (charset)">Section 6.3</a>)4017 </p> 4018 <p id="rfc.section.C.p.18">Registration of Content Codings now requires IETF Review (<a href="#content.coding.registry" title="Content Coding Registry">Section 6.4.1</a>)4019 </p> 4020 <p id="rfc.section.C.p.19">Remove the default character encoding for text media types; the default now is whatever the media type definition says. (<a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 6.5.1</a>)4021 </p> 4022 <p id="rfc.section.C.p.20">Change ABNF productions for header fields to only define the field value. (<a href="#header.field.definitions" title="Header Field Definitions">Section 10</a>)4010 correctly in the description of the Via header field in <a href="p1-messaging.html#header.via" title="Via">Section 6.2</a> of <a href="#Part1" id="rfc.xref.Part1.57"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. (<a href="#header.server" id="rfc.xref.header.server.4" title="Server">Section 9.9</a>) 4011 </p> 4012 <p id="rfc.section.C.p.17">Clarify contexts that charset is used in. (<a href="#character.sets" title="Character Encodings (charset)">Section 5.3</a>) 4013 </p> 4014 <p id="rfc.section.C.p.18">Registration of Content Codings now requires IETF Review (<a href="#content.coding.registry" title="Content Coding Registry">Section 5.4.1</a>) 4015 </p> 4016 <p id="rfc.section.C.p.19">Remove the default character encoding for text media types; the default now is whatever the media type definition says. (<a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 5.5.1</a>) 4017 </p> 4018 <p id="rfc.section.C.p.20">Change ABNF productions for header fields to only define the field value. (<a href="#header.field.definitions" title="Header Field Definitions">Section 9</a>) 4023 4019 </p> 4024 4020 <p id="rfc.section.C.p.21">Remove definition of Content-MD5 header field because it was inconsistently implemented with respect to partial responses, 4025 and also because of known deficiencies in the hash algorithm itself (see <a href="#RFC6151" id="rfc.xref.RFC6151.1"><cite title="Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms">[RFC6151]</cite></a> for details). (<a href="#header.field.definitions" title="Header Field Definitions">Section 10</a>)4026 </p> 4027 <p id="rfc.section.C.p.22">Remove ISO-8859-1 special-casing in Accept-Charset. (<a href="#header.accept-charset" id="rfc.xref.header.accept-charset.4" title="Accept-Charset">Section 10.12</a>)4021 and also because of known deficiencies in the hash algorithm itself (see <a href="#RFC6151" id="rfc.xref.RFC6151.1"><cite title="Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms">[RFC6151]</cite></a> for details). (<a href="#header.field.definitions" title="Header Field Definitions">Section 9</a>) 4022 </p> 4023 <p id="rfc.section.C.p.22">Remove ISO-8859-1 special-casing in Accept-Charset. (<a href="#header.accept-charset" id="rfc.xref.header.accept-charset.4" title="Accept-Charset">Section 9.12</a>) 4028 4024 </p> 4029 4025 <p id="rfc.section.C.p.23">Remove base URI setting semantics for Content-Location due to poor implementation support, which was caused by too many broken 4030 4026 servers emitting bogus Content-Location header fields, and also the potentially undesirable effect of potentially breaking 4031 relative links in content-negotiated resources. (<a href="#header.content-location" id="rfc.xref.header.content-location.5" title="Content-Location">Section 10.17</a>)4027 relative links in content-negotiated resources. (<a href="#header.content-location" id="rfc.xref.header.content-location.5" title="Content-Location">Section 9.17</a>) 4032 4028 </p> 4033 4029 <p id="rfc.section.C.p.24">Remove reference to non-existant identity transfer-coding value tokens. (<a href="#no.content-transfer-encoding" id="rfc.xref.no.content-transfer-encoding.1" title="No Content-Transfer-Encoding">Appendix A.5</a>) … … 4754 4750 <ul class="ind"> 4755 4751 <li><a id="rfc.index.1" href="#rfc.index.1"><b>1</b></a><ul> 4756 <li>100 Continue (status code) <a href="#rfc.xref.status.100.1">4.1</a>, <a href="#rfc.iref.24"><b>4.3.1</b></a>, <a href="#rfc.xref.status.100.2">1 1.2</a></li>4757 <li>100-continue (expect value) <a href="#rfc.iref.108"><b> 10.3</b></a></li>4758 <li>101 Switching Protocols (status code) <a href="#rfc.xref.status.101.1">4.1</a>, <a href="#rfc.iref.25"><b>4.3.2</b></a>, <a href="#rfc.xref.status.101.2">1 1.2</a></li>4752 <li>100 Continue (status code) <a href="#rfc.xref.status.100.1">4.1</a>, <a href="#rfc.iref.24"><b>4.3.1</b></a>, <a href="#rfc.xref.status.100.2">10.2</a></li> 4753 <li>100-continue (expect value) <a href="#rfc.iref.108"><b>9.3</b></a></li> 4754 <li>101 Switching Protocols (status code) <a href="#rfc.xref.status.101.1">4.1</a>, <a href="#rfc.iref.25"><b>4.3.2</b></a>, <a href="#rfc.xref.status.101.2">10.2</a></li> 4759 4755 </ul> 4760 4756 </li> 4761 4757 <li><a id="rfc.index.2" href="#rfc.index.2"><b>2</b></a><ul> 4762 <li>200 OK (status code) <a href="#rfc.xref.status.200.1">4.1</a>, <a href="#rfc.iref.26"><b>4.4.1</b></a>, <a href="#rfc.xref.status.200.2">1 1.2</a></li>4763 <li>201 Created (status code) <a href="#rfc.xref.status.201.1">4.1</a>, <a href="#rfc.iref.27"><b>4.4.2</b></a>, <a href="#rfc.xref.status.201.2">1 1.2</a></li>4764 <li>202 Accepted (status code) <a href="#rfc.xref.status.202.1">4.1</a>, <a href="#rfc.iref.28"><b>4.4.3</b></a>, <a href="#rfc.xref.status.202.2">1 1.2</a></li>4765 <li>203 Non-Authoritative Information (status code) <a href="#rfc.xref.status.203.1">4.1</a>, <a href="#rfc.iref.29"><b>4.4.4</b></a>, <a href="#rfc.xref.status.203.2">1 1.2</a>, <a href="#rfc.xref.status.203.3">C</a></li>4766 <li>204 No Content (status code) <a href="#rfc.xref.status.204.1">4.1</a>, <a href="#rfc.iref.30"><b>4.4.5</b></a>, <a href="#rfc.xref.status.204.2">1 1.2</a></li>4767 <li>205 Reset Content (status code) <a href="#rfc.xref.status.205.1">4.1</a>, <a href="#rfc.iref.31"><b>4.4.6</b></a>, <a href="#rfc.xref.status.205.2">1 1.2</a></li>4758 <li>200 OK (status code) <a href="#rfc.xref.status.200.1">4.1</a>, <a href="#rfc.iref.26"><b>4.4.1</b></a>, <a href="#rfc.xref.status.200.2">10.2</a></li> 4759 <li>201 Created (status code) <a href="#rfc.xref.status.201.1">4.1</a>, <a href="#rfc.iref.27"><b>4.4.2</b></a>, <a href="#rfc.xref.status.201.2">10.2</a></li> 4760 <li>202 Accepted (status code) <a href="#rfc.xref.status.202.1">4.1</a>, <a href="#rfc.iref.28"><b>4.4.3</b></a>, <a href="#rfc.xref.status.202.2">10.2</a></li> 4761 <li>203 Non-Authoritative Information (status code) <a href="#rfc.xref.status.203.1">4.1</a>, <a href="#rfc.iref.29"><b>4.4.4</b></a>, <a href="#rfc.xref.status.203.2">10.2</a>, <a href="#rfc.xref.status.203.3">C</a></li> 4762 <li>204 No Content (status code) <a href="#rfc.xref.status.204.1">4.1</a>, <a href="#rfc.iref.30"><b>4.4.5</b></a>, <a href="#rfc.xref.status.204.2">10.2</a></li> 4763 <li>205 Reset Content (status code) <a href="#rfc.xref.status.205.1">4.1</a>, <a href="#rfc.iref.31"><b>4.4.6</b></a>, <a href="#rfc.xref.status.205.2">10.2</a></li> 4768 4764 </ul> 4769 4765 </li> 4770 4766 <li><a id="rfc.index.3" href="#rfc.index.3"><b>3</b></a><ul> 4771 <li>300 Multiple Choices (status code) <a href="#rfc.xref.status.300.1">4.1</a>, <a href="#rfc.iref.32"><b>4.5.1</b></a>, <a href="#rfc.xref.status.300.2">1 1.2</a></li>4772 <li>301 Moved Permanently (status code) <a href="#rfc.xref.status.301.1">4.1</a>, <a href="#rfc.iref.33"><b>4.5.2</b></a>, <a href="#rfc.xref.status.301.2">1 1.2</a>, <a href="#rfc.xref.status.301.3">C</a></li>4773 <li>302 Found (status code) <a href="#rfc.xref.status.302.1">4.1</a>, <a href="#rfc.iref.34"><b>4.5.3</b></a>, <a href="#rfc.xref.status.302.2">1 1.2</a>, <a href="#rfc.xref.status.302.3">C</a></li>4774 <li>303 See Other (status code) <a href="#rfc.xref.status.303.1">4.1</a>, <a href="#rfc.iref.35"><b>4.5.4</b></a>, <a href="#rfc.xref.status.303.2">1 1.2</a></li>4775 <li>305 Use Proxy (status code) <a href="#rfc.xref.status.305.1">4.1</a>, <a href="#rfc.iref.36"><b>4.5.5</b></a>, <a href="#rfc.xref.status.305.2">1 1.2</a>, <a href="#rfc.xref.status.305.3">C</a></li>4776 <li>306 (Unused) (status code) <a href="#rfc.iref.37"><b>4.5.6</b></a>, <a href="#rfc.xref.status.306.1">1 1.2</a></li>4777 <li>307 Temporary Redirect (status code) <a href="#rfc.xref.status.307.1">4.1</a>, <a href="#rfc.iref.38"><b>4.5.7</b></a>, <a href="#rfc.xref.status.307.2">1 1.2</a>, <a href="#rfc.xref.status.307.3">C</a></li>4767 <li>300 Multiple Choices (status code) <a href="#rfc.xref.status.300.1">4.1</a>, <a href="#rfc.iref.32"><b>4.5.1</b></a>, <a href="#rfc.xref.status.300.2">10.2</a></li> 4768 <li>301 Moved Permanently (status code) <a href="#rfc.xref.status.301.1">4.1</a>, <a href="#rfc.iref.33"><b>4.5.2</b></a>, <a href="#rfc.xref.status.301.2">10.2</a>, <a href="#rfc.xref.status.301.3">C</a></li> 4769 <li>302 Found (status code) <a href="#rfc.xref.status.302.1">4.1</a>, <a href="#rfc.iref.34"><b>4.5.3</b></a>, <a href="#rfc.xref.status.302.2">10.2</a>, <a href="#rfc.xref.status.302.3">C</a></li> 4770 <li>303 See Other (status code) <a href="#rfc.xref.status.303.1">4.1</a>, <a href="#rfc.iref.35"><b>4.5.4</b></a>, <a href="#rfc.xref.status.303.2">10.2</a></li> 4771 <li>305 Use Proxy (status code) <a href="#rfc.xref.status.305.1">4.1</a>, <a href="#rfc.iref.36"><b>4.5.5</b></a>, <a href="#rfc.xref.status.305.2">10.2</a>, <a href="#rfc.xref.status.305.3">C</a></li> 4772 <li>306 (Unused) (status code) <a href="#rfc.iref.37"><b>4.5.6</b></a>, <a href="#rfc.xref.status.306.1">10.2</a></li> 4773 <li>307 Temporary Redirect (status code) <a href="#rfc.xref.status.307.1">4.1</a>, <a href="#rfc.iref.38"><b>4.5.7</b></a>, <a href="#rfc.xref.status.307.2">10.2</a>, <a href="#rfc.xref.status.307.3">C</a></li> 4778 4774 </ul> 4779 4775 </li> 4780 4776 <li><a id="rfc.index.4" href="#rfc.index.4"><b>4</b></a><ul> 4781 <li>400 Bad Request (status code) <a href="#rfc.xref.status.400.1">4.1</a>, <a href="#rfc.iref.39"><b>4.6.1</b></a>, <a href="#rfc.xref.status.400.2">1 1.2</a></li>4782 <li>402 Payment Required (status code) <a href="#rfc.xref.status.402.1">4.1</a>, <a href="#rfc.iref.40"><b>4.6.2</b></a>, <a href="#rfc.xref.status.402.2">1 1.2</a></li>4783 <li>403 Forbidden (status code) <a href="#rfc.xref.status.403.1">4.1</a>, <a href="#rfc.iref.41"><b>4.6.3</b></a>, <a href="#rfc.xref.status.403.2">1 1.2</a></li>4784 <li>404 Not Found (status code) <a href="#rfc.xref.status.404.1">4.1</a>, <a href="#rfc.iref.42"><b>4.6.4</b></a>, <a href="#rfc.xref.status.404.2">1 1.2</a></li>4785 <li>405 Method Not Allowed (status code) <a href="#rfc.xref.status.405.1">4.1</a>, <a href="#rfc.iref.43"><b>4.6.5</b></a>, <a href="#rfc.xref.status.405.2">1 1.2</a></li>4786 <li>406 Not Acceptable (status code) <a href="#rfc.xref.status.406.1">4.1</a>, <a href="#rfc.iref.44"><b>4.6.6</b></a>, <a href="#rfc.xref.status.406.2">1 1.2</a></li>4787 <li>408 Request Timeout (status code) <a href="#rfc.xref.status.408.1">4.1</a>, <a href="#rfc.iref.45"><b>4.6.7</b></a>, <a href="#rfc.xref.status.408.2">1 1.2</a></li>4788 <li>409 Conflict (status code) <a href="#rfc.xref.status.409.1">4.1</a>, <a href="#rfc.iref.46"><b>4.6.8</b></a>, <a href="#rfc.xref.status.409.2">1 1.2</a></li>4789 <li>410 Gone (status code) <a href="#rfc.xref.status.410.1">4.1</a>, <a href="#rfc.iref.47"><b>4.6.9</b></a>, <a href="#rfc.xref.status.410.2">1 1.2</a></li>4790 <li>411 Length Required (status code) <a href="#rfc.xref.status.411.1">4.1</a>, <a href="#rfc.iref.48"><b>4.6.10</b></a>, <a href="#rfc.xref.status.411.2">1 1.2</a></li>4791 <li>413 Request Representation Too Large (status code) <a href="#rfc.xref.status.413.1">4.1</a>, <a href="#rfc.iref.49"><b>4.6.11</b></a>, <a href="#rfc.xref.status.413.2">1 1.2</a></li>4792 <li>414 URI Too Long (status code) <a href="#rfc.xref.status.414.1">4.1</a>, <a href="#rfc.iref.50"><b>4.6.12</b></a>, <a href="#rfc.xref.status.414.2">1 1.2</a></li>4793 <li>415 Unsupported Media Type (status code) <a href="#rfc.xref.status.415.1">4.1</a>, <a href="#rfc.iref.51"><b>4.6.13</b></a>, <a href="#rfc.xref.status.415.2">1 1.2</a></li>4794 <li>417 Expectation Failed (status code) <a href="#rfc.xref.status.417.1">4.1</a>, <a href="#rfc.iref.52"><b>4.6.14</b></a>, <a href="#rfc.xref.status.417.2">1 1.2</a></li>4795 <li>426 Upgrade Required (status code) <a href="#rfc.xref.status.426.1">4.1</a>, <a href="#rfc.iref.53"><b>4.6.15</b></a>, <a href="#rfc.xref.status.426.2">1 1.2</a>, <a href="#rfc.xref.status.426.3">C</a></li>4777 <li>400 Bad Request (status code) <a href="#rfc.xref.status.400.1">4.1</a>, <a href="#rfc.iref.39"><b>4.6.1</b></a>, <a href="#rfc.xref.status.400.2">10.2</a></li> 4778 <li>402 Payment Required (status code) <a href="#rfc.xref.status.402.1">4.1</a>, <a href="#rfc.iref.40"><b>4.6.2</b></a>, <a href="#rfc.xref.status.402.2">10.2</a></li> 4779 <li>403 Forbidden (status code) <a href="#rfc.xref.status.403.1">4.1</a>, <a href="#rfc.iref.41"><b>4.6.3</b></a>, <a href="#rfc.xref.status.403.2">10.2</a></li> 4780 <li>404 Not Found (status code) <a href="#rfc.xref.status.404.1">4.1</a>, <a href="#rfc.iref.42"><b>4.6.4</b></a>, <a href="#rfc.xref.status.404.2">10.2</a></li> 4781 <li>405 Method Not Allowed (status code) <a href="#rfc.xref.status.405.1">4.1</a>, <a href="#rfc.iref.43"><b>4.6.5</b></a>, <a href="#rfc.xref.status.405.2">10.2</a></li> 4782 <li>406 Not Acceptable (status code) <a href="#rfc.xref.status.406.1">4.1</a>, <a href="#rfc.iref.44"><b>4.6.6</b></a>, <a href="#rfc.xref.status.406.2">10.2</a></li> 4783 <li>408 Request Timeout (status code) <a href="#rfc.xref.status.408.1">4.1</a>, <a href="#rfc.iref.45"><b>4.6.7</b></a>, <a href="#rfc.xref.status.408.2">10.2</a></li> 4784 <li>409 Conflict (status code) <a href="#rfc.xref.status.409.1">4.1</a>, <a href="#rfc.iref.46"><b>4.6.8</b></a>, <a href="#rfc.xref.status.409.2">10.2</a></li> 4785 <li>410 Gone (status code) <a href="#rfc.xref.status.410.1">4.1</a>, <a href="#rfc.iref.47"><b>4.6.9</b></a>, <a href="#rfc.xref.status.410.2">10.2</a></li> 4786 <li>411 Length Required (status code) <a href="#rfc.xref.status.411.1">4.1</a>, <a href="#rfc.iref.48"><b>4.6.10</b></a>, <a href="#rfc.xref.status.411.2">10.2</a></li> 4787 <li>413 Request Representation Too Large (status code) <a href="#rfc.xref.status.413.1">4.1</a>, <a href="#rfc.iref.49"><b>4.6.11</b></a>, <a href="#rfc.xref.status.413.2">10.2</a></li> 4788 <li>414 URI Too Long (status code) <a href="#rfc.xref.status.414.1">4.1</a>, <a href="#rfc.iref.50"><b>4.6.12</b></a>, <a href="#rfc.xref.status.414.2">10.2</a></li> 4789 <li>415 Unsupported Media Type (status code) <a href="#rfc.xref.status.415.1">4.1</a>, <a href="#rfc.iref.51"><b>4.6.13</b></a>, <a href="#rfc.xref.status.415.2">10.2</a></li> 4790 <li>417 Expectation Failed (status code) <a href="#rfc.xref.status.417.1">4.1</a>, <a href="#rfc.iref.52"><b>4.6.14</b></a>, <a href="#rfc.xref.status.417.2">10.2</a></li> 4791 <li>426 Upgrade Required (status code) <a href="#rfc.xref.status.426.1">4.1</a>, <a href="#rfc.iref.53"><b>4.6.15</b></a>, <a href="#rfc.xref.status.426.2">10.2</a>, <a href="#rfc.xref.status.426.3">C</a></li> 4796 4792 </ul> 4797 4793 </li> 4798 4794 <li><a id="rfc.index.5" href="#rfc.index.5"><b>5</b></a><ul> 4799 <li>500 Internal Server Error (status code) <a href="#rfc.xref.status.500.1">4.1</a>, <a href="#rfc.iref.54"><b>4.7.1</b></a>, <a href="#rfc.xref.status.500.2">1 1.2</a></li>4800 <li>501 Not Implemented (status code) <a href="#rfc.xref.status.501.1">4.1</a>, <a href="#rfc.iref.55"><b>4.7.2</b></a>, <a href="#rfc.xref.status.501.2">1 1.2</a></li>4801 <li>502 Bad Gateway (status code) <a href="#rfc.xref.status.502.1">4.1</a>, <a href="#rfc.iref.56"><b>4.7.3</b></a>, <a href="#rfc.xref.status.502.2">1 1.2</a></li>4802 <li>503 Service Unavailable (status code) <a href="#rfc.xref.status.503.1">4.1</a>, <a href="#rfc.iref.57"><b>4.7.4</b></a>, <a href="#rfc.xref.status.503.2">1 1.2</a></li>4803 <li>504 Gateway Timeout (status code) <a href="#rfc.xref.status.504.1">4.1</a>, <a href="#rfc.iref.58"><b>4.7.5</b></a>, <a href="#rfc.xref.status.504.2">1 1.2</a></li>4804 <li>505 HTTP Version Not Supported (status code) <a href="#rfc.xref.status.505.1">4.1</a>, <a href="#rfc.iref.59"><b>4.7.6</b></a>, <a href="#rfc.xref.status.505.2">1 1.2</a></li>4795 <li>500 Internal Server Error (status code) <a href="#rfc.xref.status.500.1">4.1</a>, <a href="#rfc.iref.54"><b>4.7.1</b></a>, <a href="#rfc.xref.status.500.2">10.2</a></li> 4796 <li>501 Not Implemented (status code) <a href="#rfc.xref.status.501.1">4.1</a>, <a href="#rfc.iref.55"><b>4.7.2</b></a>, <a href="#rfc.xref.status.501.2">10.2</a></li> 4797 <li>502 Bad Gateway (status code) <a href="#rfc.xref.status.502.1">4.1</a>, <a href="#rfc.iref.56"><b>4.7.3</b></a>, <a href="#rfc.xref.status.502.2">10.2</a></li> 4798 <li>503 Service Unavailable (status code) <a href="#rfc.xref.status.503.1">4.1</a>, <a href="#rfc.iref.57"><b>4.7.4</b></a>, <a href="#rfc.xref.status.503.2">10.2</a></li> 4799 <li>504 Gateway Timeout (status code) <a href="#rfc.xref.status.504.1">4.1</a>, <a href="#rfc.iref.58"><b>4.7.5</b></a>, <a href="#rfc.xref.status.504.2">10.2</a></li> 4800 <li>505 HTTP Version Not Supported (status code) <a href="#rfc.xref.status.505.1">4.1</a>, <a href="#rfc.iref.59"><b>4.7.6</b></a>, <a href="#rfc.xref.status.505.2">10.2</a></li> 4805 4801 </ul> 4806 4802 </li> 4807 4803 <li><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul> 4808 <li>Accept header field <a href="#rfc.xref.header.accept.1">3.2</a>, <a href="#rfc.xref.header.accept.2"> 6.5</a>, <a href="#rfc.xref.header.accept.3">9.1</a>, <a href="#rfc.iref.a.2"><b>10.11</b></a>, <a href="#rfc.xref.header.accept.4">11.3</a></li>4809 <li>Accept-Charset header field <a href="#rfc.xref.header.accept-charset.1">3.2</a>, <a href="#rfc.xref.header.accept-charset.2"> 9.1</a>, <a href="#rfc.iref.a.3"><b>10.12</b></a>, <a href="#rfc.xref.header.accept-charset.3">11.3</a>, <a href="#rfc.xref.header.accept-charset.4">C</a></li>4810 <li>Accept-Encoding header field <a href="#rfc.xref.header.accept-encoding.1">3.2</a>, <a href="#rfc.xref.header.accept-encoding.2"> 6.4</a>, <a href="#rfc.xref.header.accept-encoding.3">9.1</a>, <a href="#rfc.iref.a.4"><b>10.13</b></a>, <a href="#rfc.xref.header.accept-encoding.4">11.3</a>, <a href="#rfc.xref.header.accept-encoding.5">11.4</a></li>4811 <li>Accept-Language header field <a href="#rfc.xref.header.accept-language.1">3.2</a>, <a href="#rfc.xref.header.accept-language.2"> 9.1</a>, <a href="#rfc.iref.a.5"><b>10.14</b></a>, <a href="#rfc.xref.header.accept-language.3">11.3</a></li>4812 <li>Allow header field <a href="#rfc.xref.header.allow.1">2</a>, <a href="#rfc.xref.header.allow.2">3.3</a>, <a href="#rfc.iref.a.1"><b> 10.1</b></a>, <a href="#rfc.xref.header.allow.3">11.3</a>, <a href="#rfc.xref.header.allow.4">C</a></li>4804 <li>Accept header field <a href="#rfc.xref.header.accept.1">3.2</a>, <a href="#rfc.xref.header.accept.2">5.5</a>, <a href="#rfc.xref.header.accept.3">8.1</a>, <a href="#rfc.iref.a.2"><b>9.11</b></a>, <a href="#rfc.xref.header.accept.4">10.3</a></li> 4805 <li>Accept-Charset header field <a href="#rfc.xref.header.accept-charset.1">3.2</a>, <a href="#rfc.xref.header.accept-charset.2">8.1</a>, <a href="#rfc.iref.a.3"><b>9.12</b></a>, <a href="#rfc.xref.header.accept-charset.3">10.3</a>, <a href="#rfc.xref.header.accept-charset.4">C</a></li> 4806 <li>Accept-Encoding header field <a href="#rfc.xref.header.accept-encoding.1">3.2</a>, <a href="#rfc.xref.header.accept-encoding.2">5.4</a>, <a href="#rfc.xref.header.accept-encoding.3">8.1</a>, <a href="#rfc.iref.a.4"><b>9.13</b></a>, <a href="#rfc.xref.header.accept-encoding.4">10.3</a>, <a href="#rfc.xref.header.accept-encoding.5">10.4</a></li> 4807 <li>Accept-Language header field <a href="#rfc.xref.header.accept-language.1">3.2</a>, <a href="#rfc.xref.header.accept-language.2">8.1</a>, <a href="#rfc.iref.a.5"><b>9.14</b></a>, <a href="#rfc.xref.header.accept-language.3">10.3</a></li> 4808 <li>Allow header field <a href="#rfc.xref.header.allow.1">2</a>, <a href="#rfc.xref.header.allow.2">3.3</a>, <a href="#rfc.iref.a.1"><b>9.1</b></a>, <a href="#rfc.xref.header.allow.3">10.3</a>, <a href="#rfc.xref.header.allow.4">C</a></li> 4813 4809 </ul> 4814 4810 </li> … … 4816 4812 <li>Coding Format 4817 4813 <ul> 4818 <li>compress <a href="#rfc.iref.c.4"> 6.4</a></li>4819 <li>deflate <a href="#rfc.iref.c.5"> 6.4</a></li>4820 <li>gzip <a href="#rfc.iref.c.6"> 6.4</a></li>4814 <li>compress <a href="#rfc.iref.c.4">5.4</a></li> 4815 <li>deflate <a href="#rfc.iref.c.5">5.4</a></li> 4816 <li>gzip <a href="#rfc.iref.c.6">5.4</a></li> 4821 4817 </ul> 4822 4818 </li> 4823 <li>compress (Coding Format) <a href="#rfc.iref.c.3"> 6.4</a></li>4824 <li>CONNECT method <a href="#rfc.iref.c.2"><b>2.3.8</b></a>, <a href="#rfc.xref.CONNECT.1">1 1.1</a>, <a href="#rfc.xref.CONNECT.2">C</a></li>4819 <li>compress (Coding Format) <a href="#rfc.iref.c.3">5.4</a></li> 4820 <li>CONNECT method <a href="#rfc.iref.c.2"><b>2.3.8</b></a>, <a href="#rfc.xref.CONNECT.1">10.1</a>, <a href="#rfc.xref.CONNECT.2">C</a></li> 4825 4821 <li>content negotiation <a href="#rfc.iref.c.1">1.1</a></li> 4826 <li>Content-Encoding header field <a href="#rfc.xref.header.content-encoding.1"> 6.4</a>, <a href="#rfc.xref.header.content-encoding.2">8.1</a>, <a href="#rfc.iref.c.7"><b>10.15</b></a>, <a href="#rfc.xref.header.content-encoding.3">10.15</a>, <a href="#rfc.xref.header.content-encoding.4">11.3</a></li>4827 <li>Content-Language header field <a href="#rfc.xref.header.content-language.1"> 8.1</a>, <a href="#rfc.iref.c.8"><b>10.16</b></a>, <a href="#rfc.xref.header.content-language.2">11.3</a></li>4828 <li>Content-Location header field <a href="#rfc.xref.header.content-location.1">2.3.4</a>, <a href="#rfc.xref.header.content-location.2"> 8.1</a>, <a href="#rfc.xref.header.content-location.3">10.5</a>, <a href="#rfc.iref.c.9"><b>10.17</b></a>, <a href="#rfc.xref.header.content-location.4">11.3</a>, <a href="#rfc.xref.header.content-location.5">C</a></li>4822 <li>Content-Encoding header field <a href="#rfc.xref.header.content-encoding.1">5.4</a>, <a href="#rfc.xref.header.content-encoding.2">7.2</a>, <a href="#rfc.iref.c.7"><b>9.15</b></a>, <a href="#rfc.xref.header.content-encoding.3">9.15</a>, <a href="#rfc.xref.header.content-encoding.4">10.3</a></li> 4823 <li>Content-Language header field <a href="#rfc.xref.header.content-language.1">7.2</a>, <a href="#rfc.iref.c.8"><b>9.16</b></a>, <a href="#rfc.xref.header.content-language.2">10.3</a></li> 4824 <li>Content-Location header field <a href="#rfc.xref.header.content-location.1">2.3.4</a>, <a href="#rfc.xref.header.content-location.2">7.2</a>, <a href="#rfc.xref.header.content-location.3">9.5</a>, <a href="#rfc.iref.c.9"><b>9.17</b></a>, <a href="#rfc.xref.header.content-location.4">10.3</a>, <a href="#rfc.xref.header.content-location.5">C</a></li> 4829 4825 <li>Content-Transfer-Encoding header field <a href="#rfc.iref.c.11">A.5</a>, <a href="#rfc.xref.no.content-transfer-encoding.1">C</a></li> 4830 <li>Content-Type header field <a href="#rfc.xref.header.content-type.1">3.1</a>, <a href="#rfc.xref.header.content-type.2">4</a>, <a href="#rfc.xref.header.content-type.3"> 6.5</a>, <a href="#rfc.xref.header.content-type.4">8.1</a>, <a href="#rfc.iref.c.10"><b>10.18</b></a>, <a href="#rfc.xref.header.content-type.5">11.3</a></li>4826 <li>Content-Type header field <a href="#rfc.xref.header.content-type.1">3.1</a>, <a href="#rfc.xref.header.content-type.2">4</a>, <a href="#rfc.xref.header.content-type.3">5.5</a>, <a href="#rfc.xref.header.content-type.4">7.2</a>, <a href="#rfc.iref.c.10"><b>9.18</b></a>, <a href="#rfc.xref.header.content-type.5">10.3</a></li> 4831 4827 </ul> 4832 4828 </li> 4833 4829 <li><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul> 4834 <li>Date header field <a href="#rfc.xref.header.date.1">3.3</a>, <a href="#rfc.iref.d.3"><b> 10.2</b></a>, <a href="#rfc.xref.header.date.2">11.3</a></li>4835 <li>deflate (Coding Format) <a href="#rfc.iref.d.2"> 6.4</a></li>4836 <li>DELETE method <a href="#rfc.iref.d.1"><b>2.3.6</b></a>, <a href="#rfc.xref.DELETE.1">1 1.1</a></li>4837 <li><em>draft-reschke-http-status-308</em> <a href="#rfc.xref.draft-reschke-http-status-308.1">4.5.7</a>, <a href="#draft-reschke-http-status-308"><b>1 4.2</b></a></li>4830 <li>Date header field <a href="#rfc.xref.header.date.1">3.3</a>, <a href="#rfc.iref.d.3"><b>9.2</b></a>, <a href="#rfc.xref.header.date.2">10.3</a></li> 4831 <li>deflate (Coding Format) <a href="#rfc.iref.d.2">5.4</a></li> 4832 <li>DELETE method <a href="#rfc.iref.d.1"><b>2.3.6</b></a>, <a href="#rfc.xref.DELETE.1">10.1</a></li> 4833 <li><em>draft-reschke-http-status-308</em> <a href="#rfc.xref.draft-reschke-http-status-308.1">4.5.7</a>, <a href="#draft-reschke-http-status-308"><b>13.2</b></a></li> 4838 4834 </ul> 4839 4835 </li> 4840 4836 <li><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul> 4841 <li>Expect header field <a href="#rfc.xref.header.expect.1">3.2</a>, <a href="#rfc.xref.header.expect.2">4.6.14</a>, <a href="#rfc.iref.e.1"><b> 10.3</b></a>, <a href="#rfc.xref.header.expect.3">11.3</a>, <a href="#rfc.xref.header.expect.4">C</a></li>4837 <li>Expect header field <a href="#rfc.xref.header.expect.1">3.2</a>, <a href="#rfc.xref.header.expect.2">4.6.14</a>, <a href="#rfc.iref.e.1"><b>9.3</b></a>, <a href="#rfc.xref.header.expect.3">10.3</a>, <a href="#rfc.xref.header.expect.4">C</a></li> 4842 4838 <li>Expect Values 4843 4839 <ul> 4844 <li>100-continue <a href="#rfc.iref.e.2"><b> 10.3</b></a></li>4840 <li>100-continue <a href="#rfc.iref.e.2"><b>9.3</b></a></li> 4845 4841 </ul> 4846 4842 </li> … … 4848 4844 </li> 4849 4845 <li><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul> 4850 <li>From header field <a href="#rfc.xref.header.from.1">3.2</a>, <a href="#rfc.iref.f.1"><b> 10.4</b></a>, <a href="#rfc.xref.header.from.2">11.3</a></li>4846 <li>From header field <a href="#rfc.xref.header.from.1">3.2</a>, <a href="#rfc.iref.f.1"><b>9.4</b></a>, <a href="#rfc.xref.header.from.2">10.3</a></li> 4851 4847 </ul> 4852 4848 </li> 4853 4849 <li><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul> 4854 <li>GET method <a href="#rfc.iref.g.2"><b>2.3.2</b></a>, <a href="#rfc.xref.GET.1">1 1.1</a></li>4850 <li>GET method <a href="#rfc.iref.g.2"><b>2.3.2</b></a>, <a href="#rfc.xref.GET.1">10.1</a></li> 4855 4851 <li><tt>Grammar</tt> 4856 4852 <ul> 4857 <li><tt>Accept</tt> <a href="#rfc.iref.g.49"><b> 10.11</b></a></li>4858 <li><tt>Accept-Charset</tt> <a href="#rfc.iref.g.53"><b> 10.12</b></a></li>4859 <li><tt>Accept-Encoding</tt> <a href="#rfc.iref.g.54"><b> 10.13</b></a></li>4860 <li><tt>accept-ext</tt> <a href="#rfc.iref.g.52"><b> 10.11</b></a></li>4861 <li><tt>Accept-Language</tt> <a href="#rfc.iref.g.56"><b> 10.14</b></a></li>4862 <li><tt>accept-params</tt> <a href="#rfc.iref.g.51"><b> 10.11</b></a></li>4863 <li><tt>Allow</tt> <a href="#rfc.iref.g.34"><b> 10.1</b></a></li>4864 <li><tt>asctime-date</tt> <a href="#rfc.iref.g.21"><b> 6.1</b></a></li>4865 <li><tt>attribute</tt> <a href="#rfc.iref.g.31"><b> 6.5</b></a></li>4866 <li><tt>charset</tt> <a href="#rfc.iref.g.24"><b> 6.3</b></a></li>4867 <li><tt>codings</tt> <a href="#rfc.iref.g.55"><b> 10.13</b></a></li>4868 <li><tt>content-coding</tt> <a href="#rfc.iref.g.25"><b> 6.4</b></a></li>4869 <li><tt>Content-Encoding</tt> <a href="#rfc.iref.g.58"><b> 10.15</b></a></li>4870 <li><tt>Content-Language</tt> <a href="#rfc.iref.g.59"><b> 10.16</b></a></li>4871 <li><tt>Content-Location</tt> <a href="#rfc.iref.g.60"><b> 10.17</b></a></li>4872 <li><tt>Content-Type</tt> <a href="#rfc.iref.g.61"><b> 10.18</b></a></li>4873 <li><tt>Date</tt> <a href="#rfc.iref.g.35"><b> 10.2</b></a></li>4874 <li><tt>date1</tt> <a href="#rfc.iref.g.8"><b> 6.1</b></a></li>4875 <li><tt>day</tt> <a href="#rfc.iref.g.15"><b> 6.1</b></a></li>4876 <li><tt>day-name</tt> <a href="#rfc.iref.g.13"><b> 6.1</b></a></li>4877 <li><tt>day-name-l</tt> <a href="#rfc.iref.g.14"><b> 6.1</b></a></li>4878 <li><tt>delta-seconds</tt> <a href="#rfc.iref.g.46"><b> 10.8</b></a></li>4879 <li><tt>Expect</tt> <a href="#rfc.iref.g.36"><b> 10.3</b></a></li>4880 <li><tt>expect-name</tt> <a href="#rfc.iref.g.40"><b> 10.3</b></a></li>4881 <li><tt>expect-param</tt> <a href="#rfc.iref.g.38"><b> 10.3</b></a></li>4882 <li><tt>expect-value</tt> <a href="#rfc.iref.g.39"><b> 10.3</b></a></li>4883 <li><tt>expectation</tt> <a href="#rfc.iref.g.37"><b> 10.3</b></a></li>4853 <li><tt>Accept</tt> <a href="#rfc.iref.g.49"><b>9.11</b></a></li> 4854 <li><tt>Accept-Charset</tt> <a href="#rfc.iref.g.53"><b>9.12</b></a></li> 4855 <li><tt>Accept-Encoding</tt> <a href="#rfc.iref.g.54"><b>9.13</b></a></li> 4856 <li><tt>accept-ext</tt> <a href="#rfc.iref.g.52"><b>9.11</b></a></li> 4857 <li><tt>Accept-Language</tt> <a href="#rfc.iref.g.56"><b>9.14</b></a></li> 4858 <li><tt>accept-params</tt> <a href="#rfc.iref.g.51"><b>9.11</b></a></li> 4859 <li><tt>Allow</tt> <a href="#rfc.iref.g.34"><b>9.1</b></a></li> 4860 <li><tt>asctime-date</tt> <a href="#rfc.iref.g.21"><b>5.1</b></a></li> 4861 <li><tt>attribute</tt> <a href="#rfc.iref.g.31"><b>5.5</b></a></li> 4862 <li><tt>charset</tt> <a href="#rfc.iref.g.24"><b>5.3</b></a></li> 4863 <li><tt>codings</tt> <a href="#rfc.iref.g.55"><b>9.13</b></a></li> 4864 <li><tt>content-coding</tt> <a href="#rfc.iref.g.25"><b>5.4</b></a></li> 4865 <li><tt>Content-Encoding</tt> <a href="#rfc.iref.g.58"><b>9.15</b></a></li> 4866 <li><tt>Content-Language</tt> <a href="#rfc.iref.g.59"><b>9.16</b></a></li> 4867 <li><tt>Content-Location</tt> <a href="#rfc.iref.g.60"><b>9.17</b></a></li> 4868 <li><tt>Content-Type</tt> <a href="#rfc.iref.g.61"><b>9.18</b></a></li> 4869 <li><tt>Date</tt> <a href="#rfc.iref.g.35"><b>9.2</b></a></li> 4870 <li><tt>date1</tt> <a href="#rfc.iref.g.8"><b>5.1</b></a></li> 4871 <li><tt>day</tt> <a href="#rfc.iref.g.15"><b>5.1</b></a></li> 4872 <li><tt>day-name</tt> <a href="#rfc.iref.g.13"><b>5.1</b></a></li> 4873 <li><tt>day-name-l</tt> <a href="#rfc.iref.g.14"><b>5.1</b></a></li> 4874 <li><tt>delta-seconds</tt> <a href="#rfc.iref.g.46"><b>9.8</b></a></li> 4875 <li><tt>Expect</tt> <a href="#rfc.iref.g.36"><b>9.3</b></a></li> 4876 <li><tt>expect-name</tt> <a href="#rfc.iref.g.40"><b>9.3</b></a></li> 4877 <li><tt>expect-param</tt> <a href="#rfc.iref.g.38"><b>9.3</b></a></li> 4878 <li><tt>expect-value</tt> <a href="#rfc.iref.g.39"><b>9.3</b></a></li> 4879 <li><tt>expectation</tt> <a href="#rfc.iref.g.37"><b>9.3</b></a></li> 4884 4880 <li><tt>extension-code</tt> <a href="#rfc.iref.g.4"><b>4</b></a></li> 4885 <li><tt>From</tt> <a href="#rfc.iref.g.41"><b> 10.4</b></a></li>4886 <li><tt>GMT</tt> <a href="#rfc.iref.g.18"><b> 6.1</b></a></li>4887 <li><tt>hour</tt> <a href="#rfc.iref.g.10"><b> 6.1</b></a></li>4888 <li><tt>HTTP-date</tt> <a href="#rfc.iref.g.6"><b> 6.1</b></a></li>4889 <li><tt>language-range</tt> <a href="#rfc.iref.g.57"><b> 10.14</b></a></li>4890 <li><tt>language-tag</tt> <a href="#rfc.iref.g.33"><b> 6.6</b></a></li>4891 <li><tt>Location</tt> <a href="#rfc.iref.g.42"><b> 10.5</b></a></li>4892 <li><tt>Max-Forwards</tt> <a href="#rfc.iref.g.43"><b> 10.6</b></a></li>4893 <li><tt>media-range</tt> <a href="#rfc.iref.g.50"><b> 10.11</b></a></li>4894 <li><tt>media-type</tt> <a href="#rfc.iref.g.27"><b> 6.5</b></a></li>4881 <li><tt>From</tt> <a href="#rfc.iref.g.41"><b>9.4</b></a></li> 4882 <li><tt>GMT</tt> <a href="#rfc.iref.g.18"><b>5.1</b></a></li> 4883 <li><tt>hour</tt> <a href="#rfc.iref.g.10"><b>5.1</b></a></li> 4884 <li><tt>HTTP-date</tt> <a href="#rfc.iref.g.6"><b>5.1</b></a></li> 4885 <li><tt>language-range</tt> <a href="#rfc.iref.g.57"><b>9.14</b></a></li> 4886 <li><tt>language-tag</tt> <a href="#rfc.iref.g.33"><b>5.6</b></a></li> 4887 <li><tt>Location</tt> <a href="#rfc.iref.g.42"><b>9.5</b></a></li> 4888 <li><tt>Max-Forwards</tt> <a href="#rfc.iref.g.43"><b>9.6</b></a></li> 4889 <li><tt>media-range</tt> <a href="#rfc.iref.g.50"><b>9.11</b></a></li> 4890 <li><tt>media-type</tt> <a href="#rfc.iref.g.27"><b>5.5</b></a></li> 4895 4891 <li><tt>method</tt> <a href="#rfc.iref.g.1"><b>2</b></a></li> 4896 4892 <li><tt>MIME-Version</tt> <a href="#rfc.iref.g.62"><b>A.1</b></a></li> 4897 <li><tt>minute</tt> <a href="#rfc.iref.g.11"><b> 6.1</b></a></li>4898 <li><tt>month</tt> <a href="#rfc.iref.g.16"><b> 6.1</b></a></li>4899 <li><tt>obs-date</tt> <a href="#rfc.iref.g.19"><b> 6.1</b></a></li>4900 <li><tt>parameter</tt> <a href="#rfc.iref.g.30"><b> 6.5</b></a></li>4901 <li><tt>product</tt> <a href="#rfc.iref.g.22"><b> 6.2</b></a></li>4902 <li><tt>product-version</tt> <a href="#rfc.iref.g.23"><b> 6.2</b></a></li>4893 <li><tt>minute</tt> <a href="#rfc.iref.g.11"><b>5.1</b></a></li> 4894 <li><tt>month</tt> <a href="#rfc.iref.g.16"><b>5.1</b></a></li> 4895 <li><tt>obs-date</tt> <a href="#rfc.iref.g.19"><b>5.1</b></a></li> 4896 <li><tt>parameter</tt> <a href="#rfc.iref.g.30"><b>5.5</b></a></li> 4897 <li><tt>product</tt> <a href="#rfc.iref.g.22"><b>5.2</b></a></li> 4898 <li><tt>product-version</tt> <a href="#rfc.iref.g.23"><b>5.2</b></a></li> 4903 4899 <li><tt>reason-phrase</tt> <a href="#rfc.iref.g.5"><b>4</b></a></li> 4904 <li><tt>Referer</tt> <a href="#rfc.iref.g.44"><b> 10.7</b></a></li>4905 <li><tt>Retry-After</tt> <a href="#rfc.iref.g.45"><b> 10.8</b></a></li>4906 <li><tt>rfc1123-date</tt> <a href="#rfc.iref.g.7"><b> 6.1</b></a></li>4907 <li><tt>rfc850-date</tt> <a href="#rfc.iref.g.20"><b> 6.1</b></a></li>4908 <li><tt>second</tt> <a href="#rfc.iref.g.12"><b> 6.1</b></a></li>4909 <li><tt>Server</tt> <a href="#rfc.iref.g.47"><b> 10.9</b></a></li>4900 <li><tt>Referer</tt> <a href="#rfc.iref.g.44"><b>9.7</b></a></li> 4901 <li><tt>Retry-After</tt> <a href="#rfc.iref.g.45"><b>9.8</b></a></li> 4902 <li><tt>rfc1123-date</tt> <a href="#rfc.iref.g.7"><b>5.1</b></a></li> 4903 <li><tt>rfc850-date</tt> <a href="#rfc.iref.g.20"><b>5.1</b></a></li> 4904 <li><tt>second</tt> <a href="#rfc.iref.g.12"><b>5.1</b></a></li> 4905 <li><tt>Server</tt> <a href="#rfc.iref.g.47"><b>9.9</b></a></li> 4910 4906 <li><tt>status-code</tt> <a href="#rfc.iref.g.3"><b>4</b></a></li> 4911 <li><tt>subtype</tt> <a href="#rfc.iref.g.29"><b> 6.5</b></a></li>4912 <li><tt>time-of-day</tt> <a href="#rfc.iref.g.9"><b> 6.1</b></a></li>4913 <li><tt>type</tt> <a href="#rfc.iref.g.28"><b> 6.5</b></a></li>4914 <li><tt>User-Agent</tt> <a href="#rfc.iref.g.48"><b> 10.10</b></a></li>4915 <li><tt>value</tt> <a href="#rfc.iref.g.32"><b> 6.5</b></a></li>4916 <li><tt>year</tt> <a href="#rfc.iref.g.17"><b> 6.1</b></a></li>4907 <li><tt>subtype</tt> <a href="#rfc.iref.g.29"><b>5.5</b></a></li> 4908 <li><tt>time-of-day</tt> <a href="#rfc.iref.g.9"><b>5.1</b></a></li> 4909 <li><tt>type</tt> <a href="#rfc.iref.g.28"><b>5.5</b></a></li> 4910 <li><tt>User-Agent</tt> <a href="#rfc.iref.g.48"><b>9.10</b></a></li> 4911 <li><tt>value</tt> <a href="#rfc.iref.g.32"><b>5.5</b></a></li> 4912 <li><tt>year</tt> <a href="#rfc.iref.g.17"><b>5.1</b></a></li> 4917 4913 </ul> 4918 4914 </li> 4919 <li>gzip (Coding Format) <a href="#rfc.iref.g.26"> 6.4</a></li>4915 <li>gzip (Coding Format) <a href="#rfc.iref.g.26">5.4</a></li> 4920 4916 </ul> 4921 4917 </li> 4922 4918 <li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul> 4923 <li>HEAD method <a href="#rfc.iref.h.1"><b>2.3.3</b></a>, <a href="#rfc.xref.HEAD.1">1 1.1</a></li>4919 <li>HEAD method <a href="#rfc.iref.h.1"><b>2.3.3</b></a>, <a href="#rfc.xref.HEAD.1">10.1</a></li> 4924 4920 <li>Header Fields 4925 4921 <ul> 4926 <li>Accept <a href="#rfc.xref.header.accept.1">3.2</a>, <a href="#rfc.xref.header.accept.2"> 6.5</a>, <a href="#rfc.xref.header.accept.3">9.1</a>, <a href="#rfc.iref.h.12"><b>10.11</b></a>, <a href="#rfc.xref.header.accept.4">11.3</a></li>4927 <li>Accept-Charset <a href="#rfc.xref.header.accept-charset.1">3.2</a>, <a href="#rfc.xref.header.accept-charset.2"> 9.1</a>, <a href="#rfc.iref.h.13"><b>10.12</b></a>, <a href="#rfc.xref.header.accept-charset.3">11.3</a>, <a href="#rfc.xref.header.accept-charset.4">C</a></li>4928 <li>Accept-Encoding <a href="#rfc.xref.header.accept-encoding.1">3.2</a>, <a href="#rfc.xref.header.accept-encoding.2"> 6.4</a>, <a href="#rfc.xref.header.accept-encoding.3">9.1</a>, <a href="#rfc.iref.h.14"><b>10.13</b></a>, <a href="#rfc.xref.header.accept-encoding.4">11.3</a>, <a href="#rfc.xref.header.accept-encoding.5">11.4</a></li>4929 <li>Accept-Language <a href="#rfc.xref.header.accept-language.1">3.2</a>, <a href="#rfc.xref.header.accept-language.2"> 9.1</a>, <a href="#rfc.iref.h.15"><b>10.14</b></a>, <a href="#rfc.xref.header.accept-language.3">11.3</a></li>4930 <li>Allow <a href="#rfc.xref.header.allow.1">2</a>, <a href="#rfc.xref.header.allow.2">3.3</a>, <a href="#rfc.iref.h.2"><b> 10.1</b></a>, <a href="#rfc.xref.header.allow.3">11.3</a>, <a href="#rfc.xref.header.allow.4">C</a></li>4931 <li>Content-Encoding <a href="#rfc.xref.header.content-encoding.1"> 6.4</a>, <a href="#rfc.xref.header.content-encoding.2">8.1</a>, <a href="#rfc.iref.h.16"><b>10.15</b></a>, <a href="#rfc.xref.header.content-encoding.3">10.15</a>, <a href="#rfc.xref.header.content-encoding.4">11.3</a></li>4932 <li>Content-Language <a href="#rfc.xref.header.content-language.1"> 8.1</a>, <a href="#rfc.iref.h.17"><b>10.16</b></a>, <a href="#rfc.xref.header.content-language.2">11.3</a></li>4933 <li>Content-Location <a href="#rfc.xref.header.content-location.1">2.3.4</a>, <a href="#rfc.xref.header.content-location.2"> 8.1</a>, <a href="#rfc.xref.header.content-location.3">10.5</a>, <a href="#rfc.iref.h.18"><b>10.17</b></a>, <a href="#rfc.xref.header.content-location.4">11.3</a>, <a href="#rfc.xref.header.content-location.5">C</a></li>4922 <li>Accept <a href="#rfc.xref.header.accept.1">3.2</a>, <a href="#rfc.xref.header.accept.2">5.5</a>, <a href="#rfc.xref.header.accept.3">8.1</a>, <a href="#rfc.iref.h.12"><b>9.11</b></a>, <a href="#rfc.xref.header.accept.4">10.3</a></li> 4923 <li>Accept-Charset <a href="#rfc.xref.header.accept-charset.1">3.2</a>, <a href="#rfc.xref.header.accept-charset.2">8.1</a>, <a href="#rfc.iref.h.13"><b>9.12</b></a>, <a href="#rfc.xref.header.accept-charset.3">10.3</a>, <a href="#rfc.xref.header.accept-charset.4">C</a></li> 4924 <li>Accept-Encoding <a href="#rfc.xref.header.accept-encoding.1">3.2</a>, <a href="#rfc.xref.header.accept-encoding.2">5.4</a>, <a href="#rfc.xref.header.accept-encoding.3">8.1</a>, <a href="#rfc.iref.h.14"><b>9.13</b></a>, <a href="#rfc.xref.header.accept-encoding.4">10.3</a>, <a href="#rfc.xref.header.accept-encoding.5">10.4</a></li> 4925 <li>Accept-Language <a href="#rfc.xref.header.accept-language.1">3.2</a>, <a href="#rfc.xref.header.accept-language.2">8.1</a>, <a href="#rfc.iref.h.15"><b>9.14</b></a>, <a href="#rfc.xref.header.accept-language.3">10.3</a></li> 4926 <li>Allow <a href="#rfc.xref.header.allow.1">2</a>, <a href="#rfc.xref.header.allow.2">3.3</a>, <a href="#rfc.iref.h.2"><b>9.1</b></a>, <a href="#rfc.xref.header.allow.3">10.3</a>, <a href="#rfc.xref.header.allow.4">C</a></li> 4927 <li>Content-Encoding <a href="#rfc.xref.header.content-encoding.1">5.4</a>, <a href="#rfc.xref.header.content-encoding.2">7.2</a>, <a href="#rfc.iref.h.16"><b>9.15</b></a>, <a href="#rfc.xref.header.content-encoding.3">9.15</a>, <a href="#rfc.xref.header.content-encoding.4">10.3</a></li> 4928 <li>Content-Language <a href="#rfc.xref.header.content-language.1">7.2</a>, <a href="#rfc.iref.h.17"><b>9.16</b></a>, <a href="#rfc.xref.header.content-language.2">10.3</a></li> 4929 <li>Content-Location <a href="#rfc.xref.header.content-location.1">2.3.4</a>, <a href="#rfc.xref.header.content-location.2">7.2</a>, <a href="#rfc.xref.header.content-location.3">9.5</a>, <a href="#rfc.iref.h.18"><b>9.17</b></a>, <a href="#rfc.xref.header.content-location.4">10.3</a>, <a href="#rfc.xref.header.content-location.5">C</a></li> 4934 4930 <li>Content-Transfer-Encoding <a href="#rfc.iref.h.21">A.5</a>, <a href="#rfc.xref.no.content-transfer-encoding.1">C</a></li> 4935 <li>Content-Type <a href="#rfc.xref.header.content-type.1">3.1</a>, <a href="#rfc.xref.header.content-type.2">4</a>, <a href="#rfc.xref.header.content-type.3"> 6.5</a>, <a href="#rfc.xref.header.content-type.4">8.1</a>, <a href="#rfc.iref.h.19"><b>10.18</b></a>, <a href="#rfc.xref.header.content-type.5">11.3</a></li>4936 <li>Date <a href="#rfc.xref.header.date.1">3.3</a>, <a href="#rfc.iref.h.3"><b> 10.2</b></a>, <a href="#rfc.xref.header.date.2">11.3</a></li>4937 <li>Expect <a href="#rfc.xref.header.expect.1">3.2</a>, <a href="#rfc.xref.header.expect.2">4.6.14</a>, <a href="#rfc.iref.h.4"><b> 10.3</b></a>, <a href="#rfc.xref.header.expect.3">11.3</a>, <a href="#rfc.xref.header.expect.4">C</a></li>4938 <li>From <a href="#rfc.xref.header.from.1">3.2</a>, <a href="#rfc.iref.h.5"><b> 10.4</b></a>, <a href="#rfc.xref.header.from.2">11.3</a></li>4939 <li>Location <a href="#rfc.xref.header.location.1">2.3.4</a>, <a href="#rfc.xref.header.location.2">3.3</a>, <a href="#rfc.xref.header.location.3">4.5</a>, <a href="#rfc.iref.h.6"><b> 10.5</b></a>, <a href="#rfc.xref.header.location.4">11.3</a>, <a href="#rfc.xref.header.location.5">C</a></li>4940 <li>Max-Forwards <a href="#rfc.xref.header.max-forwards.1">2.3.1</a>, <a href="#rfc.xref.header.max-forwards.2">2.3.7</a>, <a href="#rfc.xref.header.max-forwards.3">3.2</a>, <a href="#rfc.iref.h.7"><b> 10.6</b></a>, <a href="#rfc.xref.header.max-forwards.4">11.3</a>, <a href="#rfc.xref.header.max-forwards.5">C</a></li>4941 <li>MIME-Version <a href="#rfc.xref.mime-version.1">1 1.3</a>, <a href="#rfc.iref.h.20"><b>A.1</b></a></li>4942 <li>Referer <a href="#rfc.xref.header.referer.1">3.2</a>, <a href="#rfc.iref.h.8"><b> 10.7</b></a>, <a href="#rfc.xref.header.referer.2">11.3</a>, <a href="#rfc.xref.header.referer.3">C</a></li>4943 <li>Retry-After <a href="#rfc.xref.header.retry-after.1">3.3</a>, <a href="#rfc.xref.header.retry-after.2">4.7.4</a>, <a href="#rfc.iref.h.9"><b> 10.8</b></a>, <a href="#rfc.xref.header.retry-after.3">11.3</a></li>4944 <li>Server <a href="#rfc.xref.header.server.1">3.3</a>, <a href="#rfc.iref.h.10"><b> 10.9</b></a>, <a href="#rfc.xref.header.server.2">11.3</a>, <a href="#rfc.xref.header.server.3">12.1</a>, <a href="#rfc.xref.header.server.4">C</a></li>4945 <li>User-Agent <a href="#rfc.xref.header.user-agent.1">3.2</a>, <a href="#rfc.xref.header.user-agent.2"> 9.1</a>, <a href="#rfc.iref.h.11"><b>10.10</b></a>, <a href="#rfc.xref.header.user-agent.3">11.3</a>, <a href="#rfc.xref.header.user-agent.4">12.1</a></li>4931 <li>Content-Type <a href="#rfc.xref.header.content-type.1">3.1</a>, <a href="#rfc.xref.header.content-type.2">4</a>, <a href="#rfc.xref.header.content-type.3">5.5</a>, <a href="#rfc.xref.header.content-type.4">7.2</a>, <a href="#rfc.iref.h.19"><b>9.18</b></a>, <a href="#rfc.xref.header.content-type.5">10.3</a></li> 4932 <li>Date <a href="#rfc.xref.header.date.1">3.3</a>, <a href="#rfc.iref.h.3"><b>9.2</b></a>, <a href="#rfc.xref.header.date.2">10.3</a></li> 4933 <li>Expect <a href="#rfc.xref.header.expect.1">3.2</a>, <a href="#rfc.xref.header.expect.2">4.6.14</a>, <a href="#rfc.iref.h.4"><b>9.3</b></a>, <a href="#rfc.xref.header.expect.3">10.3</a>, <a href="#rfc.xref.header.expect.4">C</a></li> 4934 <li>From <a href="#rfc.xref.header.from.1">3.2</a>, <a href="#rfc.iref.h.5"><b>9.4</b></a>, <a href="#rfc.xref.header.from.2">10.3</a></li> 4935 <li>Location <a href="#rfc.xref.header.location.1">2.3.4</a>, <a href="#rfc.xref.header.location.2">3.3</a>, <a href="#rfc.xref.header.location.3">4.5</a>, <a href="#rfc.iref.h.6"><b>9.5</b></a>, <a href="#rfc.xref.header.location.4">10.3</a>, <a href="#rfc.xref.header.location.5">C</a></li> 4936 <li>Max-Forwards <a href="#rfc.xref.header.max-forwards.1">2.3.1</a>, <a href="#rfc.xref.header.max-forwards.2">2.3.7</a>, <a href="#rfc.xref.header.max-forwards.3">3.2</a>, <a href="#rfc.iref.h.7"><b>9.6</b></a>, <a href="#rfc.xref.header.max-forwards.4">10.3</a>, <a href="#rfc.xref.header.max-forwards.5">C</a></li> 4937 <li>MIME-Version <a href="#rfc.xref.mime-version.1">10.3</a>, <a href="#rfc.iref.h.20"><b>A.1</b></a></li> 4938 <li>Referer <a href="#rfc.xref.header.referer.1">3.2</a>, <a href="#rfc.iref.h.8"><b>9.7</b></a>, <a href="#rfc.xref.header.referer.2">10.3</a>, <a href="#rfc.xref.header.referer.3">C</a></li> 4939 <li>Retry-After <a href="#rfc.xref.header.retry-after.1">3.3</a>, <a href="#rfc.xref.header.retry-after.2">4.7.4</a>, <a href="#rfc.iref.h.9"><b>9.8</b></a>, <a href="#rfc.xref.header.retry-after.3">10.3</a></li> 4940 <li>Server <a href="#rfc.xref.header.server.1">3.3</a>, <a href="#rfc.iref.h.10"><b>9.9</b></a>, <a href="#rfc.xref.header.server.2">10.3</a>, <a href="#rfc.xref.header.server.3">11.1</a>, <a href="#rfc.xref.header.server.4">C</a></li> 4941 <li>User-Agent <a href="#rfc.xref.header.user-agent.1">3.2</a>, <a href="#rfc.xref.header.user-agent.2">8.1</a>, <a href="#rfc.iref.h.11"><b>9.10</b></a>, <a href="#rfc.xref.header.user-agent.3">10.3</a>, <a href="#rfc.xref.header.user-agent.4">11.1</a></li> 4946 4942 </ul> 4947 4943 </li> … … 4953 4949 </li> 4954 4950 <li><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul> 4955 <li>Location header field <a href="#rfc.xref.header.location.1">2.3.4</a>, <a href="#rfc.xref.header.location.2">3.3</a>, <a href="#rfc.xref.header.location.3">4.5</a>, <a href="#rfc.iref.l.1"><b> 10.5</b></a>, <a href="#rfc.xref.header.location.4">11.3</a>, <a href="#rfc.xref.header.location.5">C</a></li>4951 <li>Location header field <a href="#rfc.xref.header.location.1">2.3.4</a>, <a href="#rfc.xref.header.location.2">3.3</a>, <a href="#rfc.xref.header.location.3">4.5</a>, <a href="#rfc.iref.l.1"><b>9.5</b></a>, <a href="#rfc.xref.header.location.4">10.3</a>, <a href="#rfc.xref.header.location.5">C</a></li> 4956 4952 </ul> 4957 4953 </li> 4958 4954 <li><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul> 4959 <li>Max-Forwards header field <a href="#rfc.xref.header.max-forwards.1">2.3.1</a>, <a href="#rfc.xref.header.max-forwards.2">2.3.7</a>, <a href="#rfc.xref.header.max-forwards.3">3.2</a>, <a href="#rfc.iref.m.9"><b> 10.6</b></a>, <a href="#rfc.xref.header.max-forwards.4">11.3</a>, <a href="#rfc.xref.header.max-forwards.5">C</a></li>4955 <li>Max-Forwards header field <a href="#rfc.xref.header.max-forwards.1">2.3.1</a>, <a href="#rfc.xref.header.max-forwards.2">2.3.7</a>, <a href="#rfc.xref.header.max-forwards.3">3.2</a>, <a href="#rfc.iref.m.9"><b>9.6</b></a>, <a href="#rfc.xref.header.max-forwards.4">10.3</a>, <a href="#rfc.xref.header.max-forwards.5">C</a></li> 4960 4956 <li>Methods 4961 4957 <ul> 4962 <li>CONNECT <a href="#rfc.iref.m.8"><b>2.3.8</b></a>, <a href="#rfc.xref.CONNECT.1">1 1.1</a>, <a href="#rfc.xref.CONNECT.2">C</a></li>4963 <li>DELETE <a href="#rfc.iref.m.6"><b>2.3.6</b></a>, <a href="#rfc.xref.DELETE.1">1 1.1</a></li>4964 <li>GET <a href="#rfc.iref.m.2"><b>2.3.2</b></a>, <a href="#rfc.xref.GET.1">1 1.1</a></li>4965 <li>HEAD <a href="#rfc.iref.m.3"><b>2.3.3</b></a>, <a href="#rfc.xref.HEAD.1">1 1.1</a></li>4966 <li>OPTIONS <a href="#rfc.iref.m.1"><b>2.3.1</b></a>, <a href="#rfc.xref.OPTIONS.1"> 10.6</a>, <a href="#rfc.xref.OPTIONS.2">11.1</a></li>4967 <li>POST <a href="#rfc.iref.m.4"><b>2.3.4</b></a>, <a href="#rfc.xref.POST.1">1 1.1</a>, <a href="#rfc.xref.POST.2">C</a></li>4968 <li>PUT <a href="#rfc.iref.m.5"><b>2.3.5</b></a>, <a href="#rfc.xref.PUT.1">1 1.1</a>, <a href="#rfc.xref.PUT.2">C</a></li>4969 <li>TRACE <a href="#rfc.iref.m.7"><b>2.3.7</b></a>, <a href="#rfc.xref.TRACE.1"> 10.6</a>, <a href="#rfc.xref.TRACE.2">11.1</a>, <a href="#rfc.xref.TRACE.3">12.1</a></li>4958 <li>CONNECT <a href="#rfc.iref.m.8"><b>2.3.8</b></a>, <a href="#rfc.xref.CONNECT.1">10.1</a>, <a href="#rfc.xref.CONNECT.2">C</a></li> 4959 <li>DELETE <a href="#rfc.iref.m.6"><b>2.3.6</b></a>, <a href="#rfc.xref.DELETE.1">10.1</a></li> 4960 <li>GET <a href="#rfc.iref.m.2"><b>2.3.2</b></a>, <a href="#rfc.xref.GET.1">10.1</a></li> 4961 <li>HEAD <a href="#rfc.iref.m.3"><b>2.3.3</b></a>, <a href="#rfc.xref.HEAD.1">10.1</a></li> 4962 <li>OPTIONS <a href="#rfc.iref.m.1"><b>2.3.1</b></a>, <a href="#rfc.xref.OPTIONS.1">9.6</a>, <a href="#rfc.xref.OPTIONS.2">10.1</a></li> 4963 <li>POST <a href="#rfc.iref.m.4"><b>2.3.4</b></a>, <a href="#rfc.xref.POST.1">10.1</a>, <a href="#rfc.xref.POST.2">C</a></li> 4964 <li>PUT <a href="#rfc.iref.m.5"><b>2.3.5</b></a>, <a href="#rfc.xref.PUT.1">10.1</a>, <a href="#rfc.xref.PUT.2">C</a></li> 4965 <li>TRACE <a href="#rfc.iref.m.7"><b>2.3.7</b></a>, <a href="#rfc.xref.TRACE.1">9.6</a>, <a href="#rfc.xref.TRACE.2">10.1</a>, <a href="#rfc.xref.TRACE.3">11.1</a></li> 4970 4966 </ul> 4971 4967 </li> 4972 <li>MIME-Version header field <a href="#rfc.xref.mime-version.1">1 1.3</a>, <a href="#rfc.iref.m.10"><b>A.1</b></a></li>4968 <li>MIME-Version header field <a href="#rfc.xref.mime-version.1">10.3</a>, <a href="#rfc.iref.m.10"><b>A.1</b></a></li> 4973 4969 </ul> 4974 4970 </li> 4975 4971 <li><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul> 4976 <li>OPTIONS method <a href="#rfc.iref.o.1"><b>2.3.1</b></a>, <a href="#rfc.xref.OPTIONS.1"> 10.6</a>, <a href="#rfc.xref.OPTIONS.2">11.1</a></li>4972 <li>OPTIONS method <a href="#rfc.iref.o.1"><b>2.3.1</b></a>, <a href="#rfc.xref.OPTIONS.1">9.6</a>, <a href="#rfc.xref.OPTIONS.2">10.1</a></li> 4977 4973 </ul> 4978 4974 </li> 4979 4975 <li><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul> 4980 <li><em>Part1</em> <a href="#rfc.xref.Part1.1">1</a>, <a href="#rfc.xref.Part1.2">1.2</a>, <a href="#rfc.xref.Part1.3">1.3</a>, <a href="#rfc.xref.Part1.4">1.3.1</a>, <a href="#rfc.xref.Part1.5">1.3.1</a>, <a href="#rfc.xref.Part1.6">1.3.1</a>, <a href="#rfc.xref.Part1.7">1.3.1</a>, <a href="#rfc.xref.Part1.8">1.3.1</a>, <a href="#rfc.xref.Part1.9">1.3.1</a>, <a href="#rfc.xref.Part1.10">1.3.1</a>, <a href="#rfc.xref.Part1.11">1.3.1</a>, <a href="#rfc.xref.Part1.12">1.3.2</a>, <a href="#rfc.xref.Part1.13">1.3.2</a>, <a href="#rfc.xref.Part1.14">1.3.2</a>, <a href="#rfc.xref.Part1.15">1.3.2</a>, <a href="#rfc.xref.Part1.16">1.3.2</a>, <a href="#rfc.xref.Part1.17">2</a>, <a href="#rfc.xref.Part1.18">2.2.1</a>, <a href="#rfc.xref.Part1.19">2.3.1</a>, <a href="#rfc.xref.Part1.20">2.3.7</a>, <a href="#rfc.xref.Part1.21">2.3.7</a>, <a href="#rfc.xref.Part1.22">2.3.8</a>, <a href="#rfc.xref.Part1.23">3</a>, <a href="#rfc.xref.Part1.24">3.1</a>, <a href="#rfc.xref.Part1.25">3.1</a>, <a href="#rfc.xref.Part1.26">3.1</a>, <a href="#rfc.xref.Part1.27">3.1</a>, <a href="#rfc.xref.Part1.28">3.1</a>, <a href="#rfc.xref.Part1.29">3.2</a>, <a href="#rfc.xref.Part1.30">3.2</a>, <a href="#rfc.xref.Part1.31">3.3</a>, <a href="#rfc.xref.Part1.32">4.3.1</a>, <a href="#rfc.xref.Part1.33">4.3.2</a>, <a href="#rfc.xref.Part1.34">4.4.4</a>, <a href="#rfc.xref.Part1.35">4.4.6</a>, <a href="#rfc.xref.Part1.36">4.6.15</a>, <a href="#rfc.xref.Part1.37">4.7.6</a>, <a href="#rfc.xref.Part1.38">5 </a>, <a href="#rfc.xref.Part1.39">5.1</a>, <a href="#rfc.xref.Part1.40">6.4</a>, <a href="#rfc.xref.Part1.41">6.4</a>, <a href="#rfc.xref.Part1.42">6.4</a>, <a href="#rfc.xref.Part1.43">6.4.1</a>, <a href="#rfc.xref.Part1.44">6.4.1</a>, <a href="#rfc.xref.Part1.45">7.1</a>, <a href="#rfc.xref.Part1.46">7.2</a>, <a href="#rfc.xref.Part1.47">10.3</a>, <a href="#rfc.xref.Part1.48">10.9</a>, <a href="#rfc.xref.Part1.49">10.9</a>, <a href="#rfc.xref.Part1.50">10.10</a>, <a href="#rfc.xref.Part1.51">10.17</a>, <a href="#rfc.xref.Part1.52">11.4</a>, <a href="#rfc.xref.Part1.53">11.4</a>, <a href="#rfc.xref.Part1.54">11.4</a>, <a href="#rfc.xref.Part1.55">13</a>, <a href="#Part1"><b>14.1</b></a>, <a href="#rfc.xref.Part1.56">A.6</a>, <a href="#rfc.xref.Part1.57">C</a><ul>4976 <li><em>Part1</em> <a href="#rfc.xref.Part1.1">1</a>, <a href="#rfc.xref.Part1.2">1.2</a>, <a href="#rfc.xref.Part1.3">1.3</a>, <a href="#rfc.xref.Part1.4">1.3.1</a>, <a href="#rfc.xref.Part1.5">1.3.1</a>, <a href="#rfc.xref.Part1.6">1.3.1</a>, <a href="#rfc.xref.Part1.7">1.3.1</a>, <a href="#rfc.xref.Part1.8">1.3.1</a>, <a href="#rfc.xref.Part1.9">1.3.1</a>, <a href="#rfc.xref.Part1.10">1.3.1</a>, <a href="#rfc.xref.Part1.11">1.3.1</a>, <a href="#rfc.xref.Part1.12">1.3.2</a>, <a href="#rfc.xref.Part1.13">1.3.2</a>, <a href="#rfc.xref.Part1.14">1.3.2</a>, <a href="#rfc.xref.Part1.15">1.3.2</a>, <a href="#rfc.xref.Part1.16">1.3.2</a>, <a href="#rfc.xref.Part1.17">2</a>, <a href="#rfc.xref.Part1.18">2.2.1</a>, <a href="#rfc.xref.Part1.19">2.3.1</a>, <a href="#rfc.xref.Part1.20">2.3.7</a>, <a href="#rfc.xref.Part1.21">2.3.7</a>, <a href="#rfc.xref.Part1.22">2.3.8</a>, <a href="#rfc.xref.Part1.23">3</a>, <a href="#rfc.xref.Part1.24">3.1</a>, <a href="#rfc.xref.Part1.25">3.1</a>, <a href="#rfc.xref.Part1.26">3.1</a>, <a href="#rfc.xref.Part1.27">3.1</a>, <a href="#rfc.xref.Part1.28">3.1</a>, <a href="#rfc.xref.Part1.29">3.2</a>, <a href="#rfc.xref.Part1.30">3.2</a>, <a href="#rfc.xref.Part1.31">3.3</a>, <a href="#rfc.xref.Part1.32">4.3.1</a>, <a href="#rfc.xref.Part1.33">4.3.2</a>, <a href="#rfc.xref.Part1.34">4.4.4</a>, <a href="#rfc.xref.Part1.35">4.4.6</a>, <a href="#rfc.xref.Part1.36">4.6.15</a>, <a href="#rfc.xref.Part1.37">4.7.6</a>, <a href="#rfc.xref.Part1.38">5.4</a>, <a href="#rfc.xref.Part1.39">5.4</a>, <a href="#rfc.xref.Part1.40">5.4</a>, <a href="#rfc.xref.Part1.41">5.4.1</a>, <a href="#rfc.xref.Part1.42">5.4.1</a>, <a href="#rfc.xref.Part1.43">6.1</a>, <a href="#rfc.xref.Part1.44">6.2</a>, <a href="#rfc.xref.Part1.45">7</a>, <a href="#rfc.xref.Part1.46">7.1</a>, <a href="#rfc.xref.Part1.47">9.3</a>, <a href="#rfc.xref.Part1.48">9.9</a>, <a href="#rfc.xref.Part1.49">9.9</a>, <a href="#rfc.xref.Part1.50">9.10</a>, <a href="#rfc.xref.Part1.51">9.17</a>, <a href="#rfc.xref.Part1.52">10.4</a>, <a href="#rfc.xref.Part1.53">10.4</a>, <a href="#rfc.xref.Part1.54">10.4</a>, <a href="#rfc.xref.Part1.55">12</a>, <a href="#Part1"><b>13.1</b></a>, <a href="#rfc.xref.Part1.56">A.6</a>, <a href="#rfc.xref.Part1.57">C</a><ul> 4981 4977 <li><em>Section 1.2</em> <a href="#rfc.xref.Part1.3">1.3</a></li> 4982 4978 <li><em>Section 2</em> <a href="#rfc.xref.Part1.2">1.2</a></li> … … 4985 4981 <li><em>Section 2.7</em> <a href="#rfc.xref.Part1.12">1.3.2</a>, <a href="#rfc.xref.Part1.14">1.3.2</a>, <a href="#rfc.xref.Part1.16">1.3.2</a></li> 4986 4982 <li><em>Section 3.2.1</em> <a href="#rfc.xref.Part1.5">1.3.1</a>, <a href="#rfc.xref.Part1.6">1.3.1</a>, <a href="#rfc.xref.Part1.7">1.3.1</a></li> 4987 <li><em>Section 3.2</em> <a href="#rfc.xref.Part1.23">3</a>, <a href="#rfc.xref.Part1.26">3.1</a>, <a href="#rfc.xref.Part1.48"> 10.9</a>, <a href="#rfc.xref.Part1.50">10.10</a></li>4983 <li><em>Section 3.2</em> <a href="#rfc.xref.Part1.23">3</a>, <a href="#rfc.xref.Part1.26">3.1</a>, <a href="#rfc.xref.Part1.48">9.9</a>, <a href="#rfc.xref.Part1.50">9.10</a></li> 4988 4984 <li><em>Section 3.2.4</em> <a href="#rfc.xref.Part1.8">1.3.1</a>, <a href="#rfc.xref.Part1.9">1.3.1</a>, <a href="#rfc.xref.Part1.10">1.3.1</a>, <a href="#rfc.xref.Part1.11">1.3.1</a>, <a href="#rfc.xref.Part1.13">1.3.2</a>, <a href="#rfc.xref.Part1.25">3.1</a></li> 4989 4985 <li><em>Section 3.2.5</em> <a href="#rfc.xref.Part1.24">3.1</a></li> 4990 <li><em>Section 3.3</em> <a href="#rfc.xref.Part1.18">2.2.1</a>, <a href="#rfc.xref.Part1.35">4.4.6</a>, <a href="#rfc.xref.Part1. 38">5</a>, <a href="#rfc.xref.Part1.46">7.2</a></li>4986 <li><em>Section 3.3</em> <a href="#rfc.xref.Part1.18">2.2.1</a>, <a href="#rfc.xref.Part1.35">4.4.6</a>, <a href="#rfc.xref.Part1.44">6.2</a>, <a href="#rfc.xref.Part1.45">7</a></li> 4991 4987 <li><em>Section 3.3.1</em> <a href="#rfc.xref.Part1.56">A.6</a></li> 4992 <li><em>Section 3.3.2</em> <a href="#rfc.xref.Part1.4 5">7.1</a></li>4993 <li><em>Section 4</em> <a href="#rfc.xref.Part1.4 3">6.4.1</a></li>4988 <li><em>Section 3.3.2</em> <a href="#rfc.xref.Part1.43">6.1</a></li> 4989 <li><em>Section 4</em> <a href="#rfc.xref.Part1.41">5.4.1</a></li> 4994 4990 <li><em>Section 4.1</em> <a href="#rfc.xref.Part1.28">3.1</a></li> 4995 <li><em>Section 4.2.1</em> <a href="#rfc.xref.Part1. 40">6.4</a>, <a href="#rfc.xref.Part1.52">11.4</a></li>4996 <li><em>Section 4.2</em> <a href="#rfc.xref.Part1.4 4">6.4.1</a></li>4997 <li><em>Section 4.2.2</em> <a href="#rfc.xref.Part1. 41">6.4</a>, <a href="#rfc.xref.Part1.53">11.4</a></li>4998 <li><em>Section 4.2.3</em> <a href="#rfc.xref.Part1.4 2">6.4</a>, <a href="#rfc.xref.Part1.54">11.4</a></li>4991 <li><em>Section 4.2.1</em> <a href="#rfc.xref.Part1.38">5.4</a>, <a href="#rfc.xref.Part1.52">10.4</a></li> 4992 <li><em>Section 4.2</em> <a href="#rfc.xref.Part1.42">5.4.1</a></li> 4993 <li><em>Section 4.2.2</em> <a href="#rfc.xref.Part1.39">5.4</a>, <a href="#rfc.xref.Part1.53">10.4</a></li> 4994 <li><em>Section 4.2.3</em> <a href="#rfc.xref.Part1.40">5.4</a>, <a href="#rfc.xref.Part1.54">10.4</a></li> 4999 4995 <li><em>Section 4.3.1</em> <a href="#rfc.xref.Part1.15">1.3.2</a></li> 5000 4996 <li><em>Section 4.3</em> <a href="#rfc.xref.Part1.30">3.2</a></li> 5001 4997 <li><em>Section 5.3</em> <a href="#rfc.xref.Part1.19">2.3.1</a>, <a href="#rfc.xref.Part1.22">2.3.8</a></li> 5002 4998 <li><em>Section 5.4</em> <a href="#rfc.xref.Part1.29">3.2</a></li> 5003 <li><em>Section 5.5</em> <a href="#rfc.xref.Part1.17">2</a>, <a href="#rfc.xref.Part1.31">3.3</a>, <a href="#rfc.xref.Part1. 39">5.1</a>, <a href="#rfc.xref.Part1.51">10.17</a></li>4999 <li><em>Section 5.5</em> <a href="#rfc.xref.Part1.17">2</a>, <a href="#rfc.xref.Part1.31">3.3</a>, <a href="#rfc.xref.Part1.46">7.1</a>, <a href="#rfc.xref.Part1.51">9.17</a></li> 5004 5000 <li><em>Section 6.1</em> <a href="#rfc.xref.Part1.27">3.1</a></li> 5005 <li><em>Section 6.2</em> <a href="#rfc.xref.Part1.20">2.3.7</a>, <a href="#rfc.xref.Part1.49"> 10.9</a>, <a href="#rfc.xref.Part1.57">C</a></li>5006 <li><em>Section 6.4.3</em> <a href="#rfc.xref.Part1.32">4.3.1</a>, <a href="#rfc.xref.Part1.47"> 10.3</a></li>5001 <li><em>Section 6.2</em> <a href="#rfc.xref.Part1.20">2.3.7</a>, <a href="#rfc.xref.Part1.49">9.9</a>, <a href="#rfc.xref.Part1.57">C</a></li> 5002 <li><em>Section 6.4.3</em> <a href="#rfc.xref.Part1.32">4.3.1</a>, <a href="#rfc.xref.Part1.47">9.3</a></li> 5007 5003 <li><em>Section 6.5</em> <a href="#rfc.xref.Part1.33">4.3.2</a>, <a href="#rfc.xref.Part1.36">4.6.15</a></li> 5008 5004 <li><em>Section 7.3.1</em> <a href="#rfc.xref.Part1.21">2.3.7</a></li> 5009 <li><em>Section 9</em> <a href="#rfc.xref.Part1.55">1 3</a></li>5005 <li><em>Section 9</em> <a href="#rfc.xref.Part1.55">12</a></li> 5010 5006 </ul> 5011 5007 </li> 5012 <li><em>Part4</em> <a href="#rfc.xref.Part4.1">3.2</a>, <a href="#rfc.xref.Part4.2">3.2</a>, <a href="#rfc.xref.Part4.3">3.2</a>, <a href="#rfc.xref.Part4.4">3.2</a>, <a href="#rfc.xref.Part4.5">3.3</a>, <a href="#rfc.xref.Part4.6">4.1</a>, <a href="#rfc.xref.Part4.7">4.1</a>, <a href="#rfc.xref.Part4.8">4.1</a>, <a href="#rfc.xref.Part4.9">4.4.2</a>, <a href="#rfc.xref.Part4.10">4.5</a>, <a href="#rfc.xref.Part4.11"> 8.1</a>, <a href="#rfc.xref.Part4.12">8.1</a>, <a href="#Part4"><b>14.1</b></a>, <a href="#rfc.xref.Part4.13">E.2</a><ul>5013 <li><em>Section 2.2</em> <a href="#rfc.xref.Part4.12"> 8.1</a></li>5014 <li><em>Section 2.3</em> <a href="#rfc.xref.Part4.5">3.3</a>, <a href="#rfc.xref.Part4.9">4.4.2</a>, <a href="#rfc.xref.Part4.11"> 8.1</a></li>5008 <li><em>Part4</em> <a href="#rfc.xref.Part4.1">3.2</a>, <a href="#rfc.xref.Part4.2">3.2</a>, <a href="#rfc.xref.Part4.3">3.2</a>, <a href="#rfc.xref.Part4.4">3.2</a>, <a href="#rfc.xref.Part4.5">3.3</a>, <a href="#rfc.xref.Part4.6">4.1</a>, <a href="#rfc.xref.Part4.7">4.1</a>, <a href="#rfc.xref.Part4.8">4.1</a>, <a href="#rfc.xref.Part4.9">4.4.2</a>, <a href="#rfc.xref.Part4.10">4.5</a>, <a href="#rfc.xref.Part4.11">7.2</a>, <a href="#rfc.xref.Part4.12">7.2</a>, <a href="#Part4"><b>13.1</b></a>, <a href="#rfc.xref.Part4.13">E.2</a><ul> 5009 <li><em>Section 2.2</em> <a href="#rfc.xref.Part4.12">7.2</a></li> 5010 <li><em>Section 2.3</em> <a href="#rfc.xref.Part4.5">3.3</a>, <a href="#rfc.xref.Part4.9">4.4.2</a>, <a href="#rfc.xref.Part4.11">7.2</a></li> 5015 5011 <li><em>Section 3.1</em> <a href="#rfc.xref.Part4.1">3.2</a></li> 5016 5012 <li><em>Section 3.2</em> <a href="#rfc.xref.Part4.3">3.2</a></li> … … 5022 5018 </ul> 5023 5019 </li> 5024 <li><em>Part5</em> <a href="#rfc.xref.Part5.1">2.3.2</a>, <a href="#rfc.xref.Part5.2">3.2</a>, <a href="#rfc.xref.Part5.3">3.2</a>, <a href="#rfc.xref.Part5.4">3.3</a>, <a href="#rfc.xref.Part5.5">4.1</a>, <a href="#rfc.xref.Part5.6">4.1</a>, <a href="#rfc.xref.Part5.7">4.1</a>, <a href="#rfc.xref.Part5.8"> 7.1</a>, <a href="#Part5"><b>14.1</b></a><ul>5020 <li><em>Part5</em> <a href="#rfc.xref.Part5.1">2.3.2</a>, <a href="#rfc.xref.Part5.2">3.2</a>, <a href="#rfc.xref.Part5.3">3.2</a>, <a href="#rfc.xref.Part5.4">3.3</a>, <a href="#rfc.xref.Part5.5">4.1</a>, <a href="#rfc.xref.Part5.6">4.1</a>, <a href="#rfc.xref.Part5.7">4.1</a>, <a href="#rfc.xref.Part5.8">6.1</a>, <a href="#Part5"><b>13.1</b></a><ul> 5025 5021 <li><em>Section 3</em> <a href="#rfc.xref.Part5.5">4.1</a></li> 5026 5022 <li><em>Section 3.1</em> <a href="#rfc.xref.Part5.6">4.1</a></li> 5027 5023 <li><em>Section 3.2</em> <a href="#rfc.xref.Part5.7">4.1</a></li> 5028 5024 <li><em>Section 5.1</em> <a href="#rfc.xref.Part5.4">3.3</a></li> 5029 <li><em>Section 5.2</em> <a href="#rfc.xref.Part5.8"> 7.1</a></li>5025 <li><em>Section 5.2</em> <a href="#rfc.xref.Part5.8">6.1</a></li> 5030 5026 <li><em>Section 5.3</em> <a href="#rfc.xref.Part5.2">3.2</a></li> 5031 5027 <li><em>Section 5.4</em> <a href="#rfc.xref.Part5.1">2.3.2</a>, <a href="#rfc.xref.Part5.3">3.2</a></li> 5032 5028 </ul> 5033 5029 </li> 5034 <li><em>Part6</em> <a href="#rfc.xref.Part6.1">2.2.1</a>, <a href="#rfc.xref.Part6.2">2.3.2</a>, <a href="#rfc.xref.Part6.3">2.3.3</a>, <a href="#rfc.xref.Part6.4">2.3.4</a>, <a href="#rfc.xref.Part6.5">2.3.5</a>, <a href="#rfc.xref.Part6.6">2.3.6</a>, <a href="#rfc.xref.Part6.7">3.1</a>, <a href="#rfc.xref.Part6.8">3.3</a>, <a href="#rfc.xref.Part6.9">3.3</a>, <a href="#rfc.xref.Part6.10">4.2.1</a>, <a href="#rfc.xref.Part6.11">4.4.1</a>, <a href="#rfc.xref.Part6.12">4.4.4</a>, <a href="#rfc.xref.Part6.13">4.4.4</a>, <a href="#rfc.xref.Part6.14">4.4.4</a>, <a href="#rfc.xref.Part6.15">4.5.1</a>, <a href="#rfc.xref.Part6.16">4.5.2</a>, <a href="#rfc.xref.Part6.17">4.6.9</a>, <a href="#rfc.xref.Part6.18"> 8.1</a>, <a href="#rfc.xref.Part6.19">9.1</a>, <a href="#Part6"><b>14.1</b></a><ul>5030 <li><em>Part6</em> <a href="#rfc.xref.Part6.1">2.2.1</a>, <a href="#rfc.xref.Part6.2">2.3.2</a>, <a href="#rfc.xref.Part6.3">2.3.3</a>, <a href="#rfc.xref.Part6.4">2.3.4</a>, <a href="#rfc.xref.Part6.5">2.3.5</a>, <a href="#rfc.xref.Part6.6">2.3.6</a>, <a href="#rfc.xref.Part6.7">3.1</a>, <a href="#rfc.xref.Part6.8">3.3</a>, <a href="#rfc.xref.Part6.9">3.3</a>, <a href="#rfc.xref.Part6.10">4.2.1</a>, <a href="#rfc.xref.Part6.11">4.4.1</a>, <a href="#rfc.xref.Part6.12">4.4.4</a>, <a href="#rfc.xref.Part6.13">4.4.4</a>, <a href="#rfc.xref.Part6.14">4.4.4</a>, <a href="#rfc.xref.Part6.15">4.5.1</a>, <a href="#rfc.xref.Part6.16">4.5.2</a>, <a href="#rfc.xref.Part6.17">4.6.9</a>, <a href="#rfc.xref.Part6.18">7.2</a>, <a href="#rfc.xref.Part6.19">8.1</a>, <a href="#Part6"><b>13.1</b></a><ul> 5035 5031 <li><em>Section 2.3.1</em> <a href="#rfc.xref.Part6.4">2.3.4</a></li> 5036 5032 <li><em>Section 2.3.1.1</em> <a href="#rfc.xref.Part6.11">4.4.1</a>, <a href="#rfc.xref.Part6.14">4.4.4</a>, <a href="#rfc.xref.Part6.15">4.5.1</a>, <a href="#rfc.xref.Part6.16">4.5.2</a>, <a href="#rfc.xref.Part6.17">4.6.9</a></li> … … 5039 5035 <li><em>Section 3.1</em> <a href="#rfc.xref.Part6.8">3.3</a></li> 5040 5036 <li><em>Section 3.2</em> <a href="#rfc.xref.Part6.12">4.4.4</a></li> 5041 <li><em>Section 3.3</em> <a href="#rfc.xref.Part6.18"> 8.1</a></li>5042 <li><em>Section 3.5</em> <a href="#rfc.xref.Part6.9">3.3</a>, <a href="#rfc.xref.Part6.19"> 9.1</a></li>5037 <li><em>Section 3.3</em> <a href="#rfc.xref.Part6.18">7.2</a></li> 5038 <li><em>Section 3.5</em> <a href="#rfc.xref.Part6.9">3.3</a>, <a href="#rfc.xref.Part6.19">8.1</a></li> 5043 5039 <li><em>Section 3.6</em> <a href="#rfc.xref.Part6.13">4.4.4</a></li> 5044 5040 </ul> 5045 5041 </li> 5046 <li><em>Part7</em> <a href="#rfc.xref.Part7.1">3.2</a>, <a href="#rfc.xref.Part7.2">3.2</a>, <a href="#rfc.xref.Part7.3">3.3</a>, <a href="#rfc.xref.Part7.4">3.3</a>, <a href="#rfc.xref.Part7.5">4.1</a>, <a href="#rfc.xref.Part7.6">4.1</a>, <a href="#rfc.xref.Part7.7">4.1</a>, <a href="#Part7"><b>1 4.1</b></a><ul>5042 <li><em>Part7</em> <a href="#rfc.xref.Part7.1">3.2</a>, <a href="#rfc.xref.Part7.2">3.2</a>, <a href="#rfc.xref.Part7.3">3.3</a>, <a href="#rfc.xref.Part7.4">3.3</a>, <a href="#rfc.xref.Part7.5">4.1</a>, <a href="#rfc.xref.Part7.6">4.1</a>, <a href="#rfc.xref.Part7.7">4.1</a>, <a href="#Part7"><b>13.1</b></a><ul> 5047 5043 <li><em>Section 3</em> <a href="#rfc.xref.Part7.5">4.1</a></li> 5048 5044 <li><em>Section 3.1</em> <a href="#rfc.xref.Part7.6">4.1</a></li> … … 5054 5050 </ul> 5055 5051 </li> 5056 <li>payload <a href="#rfc.iref.p.3"> 7</a></li>5057 <li>POST method <a href="#rfc.iref.p.1"><b>2.3.4</b></a>, <a href="#rfc.xref.POST.1">1 1.1</a>, <a href="#rfc.xref.POST.2">C</a></li>5058 <li>PUT method <a href="#rfc.iref.p.2"><b>2.3.5</b></a>, <a href="#rfc.xref.PUT.1">1 1.1</a>, <a href="#rfc.xref.PUT.2">C</a></li>5052 <li>payload <a href="#rfc.iref.p.3">6</a></li> 5053 <li>POST method <a href="#rfc.iref.p.1"><b>2.3.4</b></a>, <a href="#rfc.xref.POST.1">10.1</a>, <a href="#rfc.xref.POST.2">C</a></li> 5054 <li>PUT method <a href="#rfc.iref.p.2"><b>2.3.5</b></a>, <a href="#rfc.xref.PUT.1">10.1</a>, <a href="#rfc.xref.PUT.2">C</a></li> 5059 5055 </ul> 5060 5056 </li> 5061 5057 <li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul> 5062 <li>Referer header field <a href="#rfc.xref.header.referer.1">3.2</a>, <a href="#rfc.iref.r.2"><b> 10.7</b></a>, <a href="#rfc.xref.header.referer.2">11.3</a>, <a href="#rfc.xref.header.referer.3">C</a></li>5063 <li>representation <a href="#rfc.iref.r.1"> 8</a></li>5064 <li>Retry-After header field <a href="#rfc.xref.header.retry-after.1">3.3</a>, <a href="#rfc.xref.header.retry-after.2">4.7.4</a>, <a href="#rfc.iref.r.3"><b> 10.8</b></a>, <a href="#rfc.xref.header.retry-after.3">11.3</a></li>5065 <li><em>RFC1123</em> <a href="#rfc.xref.RFC1123.1"> 6.1</a>, <a href="#rfc.xref.RFC1123.2">6.1</a>, <a href="#RFC1123"><b>14.2</b></a><ul>5066 <li><em>Section 5.2.14</em> <a href="#rfc.xref.RFC1123.2"> 6.1</a></li>5058 <li>Referer header field <a href="#rfc.xref.header.referer.1">3.2</a>, <a href="#rfc.iref.r.2"><b>9.7</b></a>, <a href="#rfc.xref.header.referer.2">10.3</a>, <a href="#rfc.xref.header.referer.3">C</a></li> 5059 <li>representation <a href="#rfc.iref.r.1">7</a></li> 5060 <li>Retry-After header field <a href="#rfc.xref.header.retry-after.1">3.3</a>, <a href="#rfc.xref.header.retry-after.2">4.7.4</a>, <a href="#rfc.iref.r.3"><b>9.8</b></a>, <a href="#rfc.xref.header.retry-after.3">10.3</a></li> 5061 <li><em>RFC1123</em> <a href="#rfc.xref.RFC1123.1">5.1</a>, <a href="#rfc.xref.RFC1123.2">5.1</a>, <a href="#RFC1123"><b>13.2</b></a><ul> 5062 <li><em>Section 5.2.14</em> <a href="#rfc.xref.RFC1123.2">5.1</a></li> 5067 5063 </ul> 5068 5064 </li> 5069 <li><em>RFC1945</em> <a href="#rfc.xref.RFC1945.1">4.5</a>, <a href="#RFC1945"><b>1 4.2</b></a>, <a href="#rfc.xref.RFC1945.2">B</a><ul>5065 <li><em>RFC1945</em> <a href="#rfc.xref.RFC1945.1">4.5</a>, <a href="#RFC1945"><b>13.2</b></a>, <a href="#rfc.xref.RFC1945.2">B</a><ul> 5070 5066 <li><em>Section 9.3</em> <a href="#rfc.xref.RFC1945.1">4.5</a></li> 5071 5067 </ul> 5072 5068 </li> 5073 <li><em>RFC1950</em> <a href="#rfc.xref.RFC1950.1">1 1.4</a>, <a href="#RFC1950"><b>14.1</b></a></li>5074 <li><em>RFC1951</em> <a href="#rfc.xref.RFC1951.1">1 1.4</a>, <a href="#RFC1951"><b>14.1</b></a></li>5075 <li><em>RFC1952</em> <a href="#rfc.xref.RFC1952.1">1 1.4</a>, <a href="#RFC1952"><b>14.1</b></a></li>5076 <li><em>RFC2045</em> <a href="#RFC2045"><b>1 4.1</b></a>, <a href="#rfc.xref.RFC2045.1">A</a>, <a href="#rfc.xref.RFC2045.2">A.1</a></li>5077 <li><em>RFC2046</em> <a href="#rfc.xref.RFC2046.1"> 6.5</a>, <a href="#rfc.xref.RFC2046.2">6.5.2</a>, <a href="#rfc.xref.RFC2046.3">8.2</a>, <a href="#RFC2046"><b>14.1</b></a>, <a href="#rfc.xref.RFC2046.4">A.2</a><ul>5078 <li><em>Section 4.5.1</em> <a href="#rfc.xref.RFC2046.3"> 8.2</a></li>5079 <li><em>Section 5.1.1</em> <a href="#rfc.xref.RFC2046.2"> 6.5.2</a></li>5069 <li><em>RFC1950</em> <a href="#rfc.xref.RFC1950.1">10.4</a>, <a href="#RFC1950"><b>13.1</b></a></li> 5070 <li><em>RFC1951</em> <a href="#rfc.xref.RFC1951.1">10.4</a>, <a href="#RFC1951"><b>13.1</b></a></li> 5071 <li><em>RFC1952</em> <a href="#rfc.xref.RFC1952.1">10.4</a>, <a href="#RFC1952"><b>13.1</b></a></li> 5072 <li><em>RFC2045</em> <a href="#RFC2045"><b>13.1</b></a>, <a href="#rfc.xref.RFC2045.1">A</a>, <a href="#rfc.xref.RFC2045.2">A.1</a></li> 5073 <li><em>RFC2046</em> <a href="#rfc.xref.RFC2046.1">5.5</a>, <a href="#rfc.xref.RFC2046.2">5.5.2</a>, <a href="#rfc.xref.RFC2046.3">7.3</a>, <a href="#RFC2046"><b>13.1</b></a>, <a href="#rfc.xref.RFC2046.4">A.2</a><ul> 5074 <li><em>Section 4.5.1</em> <a href="#rfc.xref.RFC2046.3">7.3</a></li> 5075 <li><em>Section 5.1.1</em> <a href="#rfc.xref.RFC2046.2">5.5.2</a></li> 5080 5076 </ul> 5081 5077 </li> 5082 <li><em>RFC2049</em> <a href="#RFC2049"><b>1 4.2</b></a>, <a href="#rfc.xref.RFC2049.1">A.2</a><ul>5078 <li><em>RFC2049</em> <a href="#RFC2049"><b>13.2</b></a>, <a href="#rfc.xref.RFC2049.1">A.2</a><ul> 5083 5079 <li><em>Section 4</em> <a href="#rfc.xref.RFC2049.1">A.2</a></li> 5084 5080 </ul> 5085 5081 </li> 5086 <li><em>RFC2068</em> <a href="#rfc.xref.RFC2068.1">4.5</a>, <a href="#rfc.xref.RFC2068.2">4.5</a>, <a href="#RFC2068"><b>1 4.2</b></a>, <a href="#rfc.xref.RFC2068.3">B</a><ul>5082 <li><em>RFC2068</em> <a href="#rfc.xref.RFC2068.1">4.5</a>, <a href="#rfc.xref.RFC2068.2">4.5</a>, <a href="#RFC2068"><b>13.2</b></a>, <a href="#rfc.xref.RFC2068.3">B</a><ul> 5087 5083 <li><em>Section 10.3</em> <a href="#rfc.xref.RFC2068.2">4.5</a></li> 5088 5084 <li><em>Section 10.3.4</em> <a href="#rfc.xref.RFC2068.1">4.5</a></li> 5089 5085 </ul> 5090 5086 </li> 5091 <li><em>RFC2076</em> <a href="#RFC2076"><b>1 4.2</b></a>, <a href="#rfc.xref.RFC2076.1">B</a></li>5092 <li><em>RFC2119</em> <a href="#rfc.xref.RFC2119.1">1.2</a>, <a href="#RFC2119"><b>1 4.1</b></a></li>5093 <li><em>RFC2277</em> <a href="#rfc.xref.RFC2277.1"> 6.3</a>, <a href="#RFC2277"><b>14.2</b></a></li>5094 <li><em>RFC2295</em> <a href="#rfc.xref.RFC2295.1"> 9</a>, <a href="#RFC2295"><b>14.1</b></a></li>5095 <li><em>RFC2388</em> <a href="#rfc.xref.RFC2388.1"> 6.5.2</a>, <a href="#RFC2388"><b>14.2</b></a></li>5096 <li><em>RFC2557</em> <a href="#rfc.xref.RFC2557.1"> 10.17</a>, <a href="#RFC2557"><b>14.2</b></a>, <a href="#rfc.xref.RFC2557.2">A.7</a><ul>5097 <li><em>Section 4</em> <a href="#rfc.xref.RFC2557.1"> 10.17</a></li>5087 <li><em>RFC2076</em> <a href="#RFC2076"><b>13.2</b></a>, <a href="#rfc.xref.RFC2076.1">B</a></li> 5088 <li><em>RFC2119</em> <a href="#rfc.xref.RFC2119.1">1.2</a>, <a href="#RFC2119"><b>13.1</b></a></li> 5089 <li><em>RFC2277</em> <a href="#rfc.xref.RFC2277.1">5.3</a>, <a href="#RFC2277"><b>13.2</b></a></li> 5090 <li><em>RFC2295</em> <a href="#rfc.xref.RFC2295.1">8</a>, <a href="#RFC2295"><b>13.1</b></a></li> 5091 <li><em>RFC2388</em> <a href="#rfc.xref.RFC2388.1">5.5.2</a>, <a href="#RFC2388"><b>13.2</b></a></li> 5092 <li><em>RFC2557</em> <a href="#rfc.xref.RFC2557.1">9.17</a>, <a href="#RFC2557"><b>13.2</b></a>, <a href="#rfc.xref.RFC2557.2">A.7</a><ul> 5093 <li><em>Section 4</em> <a href="#rfc.xref.RFC2557.1">9.17</a></li> 5098 5094 </ul> 5099 5095 </li> 5100 <li><em>RFC2616</em> <a href="#rfc.xref.RFC2616.1">1</a>, <a href="#rfc.xref.RFC2616.2">4.5</a>, <a href="#rfc.xref.RFC2616.3"> 10.14</a>, <a href="#RFC2616"><b>14.2</b></a>, <a href="#rfc.xref.RFC2616.4">E.1</a><ul>5096 <li><em>RFC2616</em> <a href="#rfc.xref.RFC2616.1">1</a>, <a href="#rfc.xref.RFC2616.2">4.5</a>, <a href="#rfc.xref.RFC2616.3">9.14</a>, <a href="#RFC2616"><b>13.2</b></a>, <a href="#rfc.xref.RFC2616.4">E.1</a><ul> 5101 5097 <li><em>Section 10.3.8</em> <a href="#rfc.xref.RFC2616.2">4.5</a></li> 5102 <li><em>Section 14.4</em> <a href="#rfc.xref.RFC2616.3"> 10.14</a></li>5098 <li><em>Section 14.4</em> <a href="#rfc.xref.RFC2616.3">9.14</a></li> 5103 5099 </ul> 5104 5100 </li> 5105 <li><em>RFC2817</em> <a href="#rfc.xref.RFC2817.1">1 1.2</a>, <a href="#RFC2817"><b>14.2</b></a>, <a href="#rfc.xref.RFC2817.2">C</a>, <a href="#rfc.xref.RFC2817.3">C</a>, <a href="#rfc.xref.RFC2817.4">C</a><ul>5106 <li><em>Section 7.1</em> <a href="#rfc.xref.RFC2817.1">1 1.2</a>, <a href="#rfc.xref.RFC2817.3">C</a></li>5101 <li><em>RFC2817</em> <a href="#rfc.xref.RFC2817.1">10.2</a>, <a href="#RFC2817"><b>13.2</b></a>, <a href="#rfc.xref.RFC2817.2">C</a>, <a href="#rfc.xref.RFC2817.3">C</a>, <a href="#rfc.xref.RFC2817.4">C</a><ul> 5102 <li><em>Section 7.1</em> <a href="#rfc.xref.RFC2817.1">10.2</a>, <a href="#rfc.xref.RFC2817.3">C</a></li> 5107 5103 </ul> 5108 5104 </li> 5109 <li><em>RFC3629</em> <a href="#rfc.xref.RFC3629.1"> 6.3</a>, <a href="#RFC3629"><b>14.2</b></a></li>5110 <li><em>RFC3864</em> <a href="#rfc.xref.RFC3864.1">3.1</a>, <a href="#rfc.xref.RFC3864.2">3.1</a>, <a href="#rfc.xref.RFC3864.3">1 1.3</a>, <a href="#RFC3864"><b>14.2</b></a><ul>5105 <li><em>RFC3629</em> <a href="#rfc.xref.RFC3629.1">5.3</a>, <a href="#RFC3629"><b>13.2</b></a></li> 5106 <li><em>RFC3864</em> <a href="#rfc.xref.RFC3864.1">3.1</a>, <a href="#rfc.xref.RFC3864.2">3.1</a>, <a href="#rfc.xref.RFC3864.3">10.3</a>, <a href="#RFC3864"><b>13.2</b></a><ul> 5111 5107 <li><em>Section 4.1</em> <a href="#rfc.xref.RFC3864.2">3.1</a></li> 5112 5108 </ul> 5113 5109 </li> 5114 <li><em>RFC3986</em> <a href="#rfc.xref.RFC3986.1"> 10.5</a>, <a href="#rfc.xref.RFC3986.2">10.5</a>, <a href="#RFC3986"><b>14.1</b></a><ul>5115 <li><em>Section 4.2</em> <a href="#rfc.xref.RFC3986.1"> 10.5</a></li>5116 <li><em>Section 5</em> <a href="#rfc.xref.RFC3986.2"> 10.5</a></li>5110 <li><em>RFC3986</em> <a href="#rfc.xref.RFC3986.1">9.5</a>, <a href="#rfc.xref.RFC3986.2">9.5</a>, <a href="#RFC3986"><b>13.1</b></a><ul> 5111 <li><em>Section 4.2</em> <a href="#rfc.xref.RFC3986.1">9.5</a></li> 5112 <li><em>Section 5</em> <a href="#rfc.xref.RFC3986.2">9.5</a></li> 5117 5113 </ul> 5118 5114 </li> 5119 <li><em>RFC4288</em> <a href="#rfc.xref.RFC4288.1"> 6.5</a>, <a href="#RFC4288"><b>14.1</b></a></li>5120 <li><em>RFC4647</em> <a href="#rfc.xref.RFC4647.1"> 10.14</a>, <a href="#rfc.xref.RFC4647.2">10.14</a>, <a href="#rfc.xref.RFC4647.3">10.14</a>, <a href="#rfc.xref.RFC4647.4">10.14</a>, <a href="#RFC4647"><b>14.1</b></a><ul>5121 <li><em>Section 2.1</em> <a href="#rfc.xref.RFC4647.1"> 10.14</a></li>5122 <li><em>Section 2.3</em> <a href="#rfc.xref.RFC4647.2"> 10.14</a></li>5123 <li><em>Section 3</em> <a href="#rfc.xref.RFC4647.3"> 10.14</a></li>5124 <li><em>Section 3.3.1</em> <a href="#rfc.xref.RFC4647.4"> 10.14</a></li>5115 <li><em>RFC4288</em> <a href="#rfc.xref.RFC4288.1">5.5</a>, <a href="#RFC4288"><b>13.1</b></a></li> 5116 <li><em>RFC4647</em> <a href="#rfc.xref.RFC4647.1">9.14</a>, <a href="#rfc.xref.RFC4647.2">9.14</a>, <a href="#rfc.xref.RFC4647.3">9.14</a>, <a href="#rfc.xref.RFC4647.4">9.14</a>, <a href="#RFC4647"><b>13.1</b></a><ul> 5117 <li><em>Section 2.1</em> <a href="#rfc.xref.RFC4647.1">9.14</a></li> 5118 <li><em>Section 2.3</em> <a href="#rfc.xref.RFC4647.2">9.14</a></li> 5119 <li><em>Section 3</em> <a href="#rfc.xref.RFC4647.3">9.14</a></li> 5120 <li><em>Section 3.3.1</em> <a href="#rfc.xref.RFC4647.4">9.14</a></li> 5125 5121 </ul> 5126 5122 </li> 5127 <li><em>RFC5226</em> <a href="#rfc.xref.RFC5226.1">2.2</a>, <a href="#rfc.xref.RFC5226.2">4.2</a>, <a href="#rfc.xref.RFC5226.3"> 6.4.1</a>, <a href="#RFC5226"><b>14.2</b></a><ul>5128 <li><em>Section 4.1</em> <a href="#rfc.xref.RFC5226.1">2.2</a>, <a href="#rfc.xref.RFC5226.2">4.2</a>, <a href="#rfc.xref.RFC5226.3"> 6.4.1</a></li>5123 <li><em>RFC5226</em> <a href="#rfc.xref.RFC5226.1">2.2</a>, <a href="#rfc.xref.RFC5226.2">4.2</a>, <a href="#rfc.xref.RFC5226.3">5.4.1</a>, <a href="#RFC5226"><b>13.2</b></a><ul> 5124 <li><em>Section 4.1</em> <a href="#rfc.xref.RFC5226.1">2.2</a>, <a href="#rfc.xref.RFC5226.2">4.2</a>, <a href="#rfc.xref.RFC5226.3">5.4.1</a></li> 5129 5125 </ul> 5130 5126 </li> 5131 <li><em>RFC5234</em> <a href="#rfc.xref.RFC5234.1">1.3</a>, <a href="#rfc.xref.RFC5234.2">1.3</a>, <a href="#rfc.xref.RFC5234.3">3.1</a>, <a href="#RFC5234"><b>1 4.1</b></a><ul>5127 <li><em>RFC5234</em> <a href="#rfc.xref.RFC5234.1">1.3</a>, <a href="#rfc.xref.RFC5234.2">1.3</a>, <a href="#rfc.xref.RFC5234.3">3.1</a>, <a href="#RFC5234"><b>13.1</b></a><ul> 5132 5128 <li><em>Appendix B.1</em> <a href="#rfc.xref.RFC5234.2">1.3</a></li> 5133 5129 </ul> 5134 5130 </li> 5135 <li><em>RFC5322</em> <a href="#rfc.xref.RFC5322.1"> 6.1</a>, <a href="#rfc.xref.RFC5322.2">10.2</a>, <a href="#rfc.xref.RFC5322.3">10.4</a>, <a href="#rfc.xref.RFC5322.4">10.4</a>, <a href="#RFC5322"><b>14.2</b></a>, <a href="#rfc.xref.RFC5322.5">A</a><ul>5136 <li><em>Section 3.3</em> <a href="#rfc.xref.RFC5322.1"> 6.1</a></li>5137 <li><em>Section 3.4</em> <a href="#rfc.xref.RFC5322.3"> 10.4</a>, <a href="#rfc.xref.RFC5322.4">10.4</a></li>5138 <li><em>Section 3.6.1</em> <a href="#rfc.xref.RFC5322.2"> 10.2</a></li>5131 <li><em>RFC5322</em> <a href="#rfc.xref.RFC5322.1">5.1</a>, <a href="#rfc.xref.RFC5322.2">9.2</a>, <a href="#rfc.xref.RFC5322.3">9.4</a>, <a href="#rfc.xref.RFC5322.4">9.4</a>, <a href="#RFC5322"><b>13.2</b></a>, <a href="#rfc.xref.RFC5322.5">A</a><ul> 5132 <li><em>Section 3.3</em> <a href="#rfc.xref.RFC5322.1">5.1</a></li> 5133 <li><em>Section 3.4</em> <a href="#rfc.xref.RFC5322.3">9.4</a>, <a href="#rfc.xref.RFC5322.4">9.4</a></li> 5134 <li><em>Section 3.6.1</em> <a href="#rfc.xref.RFC5322.2">9.2</a></li> 5139 5135 </ul> 5140 5136 </li> 5141 <li><em>RFC5646</em> <a href="#rfc.xref.RFC5646.1"> 6.6</a>, <a href="#rfc.xref.RFC5646.2">6.6</a>, <a href="#rfc.xref.RFC5646.3">6.6</a>, <a href="#RFC5646"><b>14.1</b></a><ul>5142 <li><em>Section 2.1</em> <a href="#rfc.xref.RFC5646.2"> 6.6</a></li>5137 <li><em>RFC5646</em> <a href="#rfc.xref.RFC5646.1">5.6</a>, <a href="#rfc.xref.RFC5646.2">5.6</a>, <a href="#rfc.xref.RFC5646.3">5.6</a>, <a href="#RFC5646"><b>13.1</b></a><ul> 5138 <li><em>Section 2.1</em> <a href="#rfc.xref.RFC5646.2">5.6</a></li> 5143 5139 </ul> 5144 5140 </li> 5145 <li><em>RFC5789</em> <a href="#rfc.xref.RFC5789.1">2.3.5</a>, <a href="#RFC5789"><b>1 4.2</b></a></li>5146 <li><em>RFC5987</em> <a href="#rfc.xref.RFC5987.1">3.1</a>, <a href="#RFC5987"><b>1 4.2</b></a></li>5147 <li><em>RFC6151</em> <a href="#RFC6151"><b>1 4.2</b></a>, <a href="#rfc.xref.RFC6151.1">C</a></li>5148 <li><em>RFC6266</em> <a href="#RFC6266"><b>1 4.2</b></a>, <a href="#rfc.xref.RFC6266.1">B</a>, <a href="#rfc.xref.RFC6266.2">C</a></li>5141 <li><em>RFC5789</em> <a href="#rfc.xref.RFC5789.1">2.3.5</a>, <a href="#RFC5789"><b>13.2</b></a></li> 5142 <li><em>RFC5987</em> <a href="#rfc.xref.RFC5987.1">3.1</a>, <a href="#RFC5987"><b>13.2</b></a></li> 5143 <li><em>RFC6151</em> <a href="#RFC6151"><b>13.2</b></a>, <a href="#rfc.xref.RFC6151.1">C</a></li> 5144 <li><em>RFC6266</em> <a href="#RFC6266"><b>13.2</b></a>, <a href="#rfc.xref.RFC6266.1">B</a>, <a href="#rfc.xref.RFC6266.2">C</a></li> 5149 5145 </ul> 5150 5146 </li> … … 5152 5148 <li>Safe Methods <a href="#rfc.iref.s.2"><b>2.1.1</b></a></li> 5153 5149 <li>selected representation <a href="#rfc.iref.s.1"><b>1.1</b></a></li> 5154 <li>Server header field <a href="#rfc.xref.header.server.1">3.3</a>, <a href="#rfc.iref.s.39"><b> 10.9</b></a>, <a href="#rfc.xref.header.server.2">11.3</a>, <a href="#rfc.xref.header.server.3">12.1</a>, <a href="#rfc.xref.header.server.4">C</a></li>5150 <li>Server header field <a href="#rfc.xref.header.server.1">3.3</a>, <a href="#rfc.iref.s.39"><b>9.9</b></a>, <a href="#rfc.xref.header.server.2">10.3</a>, <a href="#rfc.xref.header.server.3">11.1</a>, <a href="#rfc.xref.header.server.4">C</a></li> 5155 5151 <li>Status Codes 5156 5152 <ul> 5157 <li>100 Continue <a href="#rfc.xref.status.100.1">4.1</a>, <a href="#rfc.iref.s.3"><b>4.3.1</b></a>, <a href="#rfc.xref.status.100.2">1 1.2</a></li>5158 <li>101 Switching Protocols <a href="#rfc.xref.status.101.1">4.1</a>, <a href="#rfc.iref.s.4"><b>4.3.2</b></a>, <a href="#rfc.xref.status.101.2">1 1.2</a></li>5159 <li>200 OK <a href="#rfc.xref.status.200.1">4.1</a>, <a href="#rfc.iref.s.5"><b>4.4.1</b></a>, <a href="#rfc.xref.status.200.2">1 1.2</a></li>5160 <li>201 Created <a href="#rfc.xref.status.201.1">4.1</a>, <a href="#rfc.iref.s.6"><b>4.4.2</b></a>, <a href="#rfc.xref.status.201.2">1 1.2</a></li>5161 <li>202 Accepted <a href="#rfc.xref.status.202.1">4.1</a>, <a href="#rfc.iref.s.7"><b>4.4.3</b></a>, <a href="#rfc.xref.status.202.2">1 1.2</a></li>5162 <li>203 Non-Authoritative Information <a href="#rfc.xref.status.203.1">4.1</a>, <a href="#rfc.iref.s.8"><b>4.4.4</b></a>, <a href="#rfc.xref.status.203.2">1 1.2</a>, <a href="#rfc.xref.status.203.3">C</a></li>5163 <li>204 No Content <a href="#rfc.xref.status.204.1">4.1</a>, <a href="#rfc.iref.s.9"><b>4.4.5</b></a>, <a href="#rfc.xref.status.204.2">1 1.2</a></li>5164 <li>205 Reset Content <a href="#rfc.xref.status.205.1">4.1</a>, <a href="#rfc.iref.s.10"><b>4.4.6</b></a>, <a href="#rfc.xref.status.205.2">1 1.2</a></li>5165 <li>300 Multiple Choices <a href="#rfc.xref.status.300.1">4.1</a>, <a href="#rfc.iref.s.11"><b>4.5.1</b></a>, <a href="#rfc.xref.status.300.2">1 1.2</a></li>5166 <li>301 Moved Permanently <a href="#rfc.xref.status.301.1">4.1</a>, <a href="#rfc.iref.s.12"><b>4.5.2</b></a>, <a href="#rfc.xref.status.301.2">1 1.2</a>, <a href="#rfc.xref.status.301.3">C</a></li>5167 <li>302 Found <a href="#rfc.xref.status.302.1">4.1</a>, <a href="#rfc.iref.s.13"><b>4.5.3</b></a>, <a href="#rfc.xref.status.302.2">1 1.2</a>, <a href="#rfc.xref.status.302.3">C</a></li>5168 <li>303 See Other <a href="#rfc.xref.status.303.1">4.1</a>, <a href="#rfc.iref.s.14"><b>4.5.4</b></a>, <a href="#rfc.xref.status.303.2">1 1.2</a></li>5169 <li>305 Use Proxy <a href="#rfc.xref.status.305.1">4.1</a>, <a href="#rfc.iref.s.15"><b>4.5.5</b></a>, <a href="#rfc.xref.status.305.2">1 1.2</a>, <a href="#rfc.xref.status.305.3">C</a></li>5170 <li>306 (Unused) <a href="#rfc.iref.s.16"><b>4.5.6</b></a>, <a href="#rfc.xref.status.306.1">1 1.2</a></li>5171 <li>307 Temporary Redirect <a href="#rfc.xref.status.307.1">4.1</a>, <a href="#rfc.iref.s.17"><b>4.5.7</b></a>, <a href="#rfc.xref.status.307.2">1 1.2</a>, <a href="#rfc.xref.status.307.3">C</a></li>5172 <li>400 Bad Request <a href="#rfc.xref.status.400.1">4.1</a>, <a href="#rfc.iref.s.18"><b>4.6.1</b></a>, <a href="#rfc.xref.status.400.2">1 1.2</a></li>5173 <li>402 Payment Required <a href="#rfc.xref.status.402.1">4.1</a>, <a href="#rfc.iref.s.19"><b>4.6.2</b></a>, <a href="#rfc.xref.status.402.2">1 1.2</a></li>5174 <li>403 Forbidden <a href="#rfc.xref.status.403.1">4.1</a>, <a href="#rfc.iref.s.20"><b>4.6.3</b></a>, <a href="#rfc.xref.status.403.2">1 1.2</a></li>5175 <li>404 Not Found <a href="#rfc.xref.status.404.1">4.1</a>, <a href="#rfc.iref.s.21"><b>4.6.4</b></a>, <a href="#rfc.xref.status.404.2">1 1.2</a></li>5176 <li>405 Method Not Allowed <a href="#rfc.xref.status.405.1">4.1</a>, <a href="#rfc.iref.s.22"><b>4.6.5</b></a>, <a href="#rfc.xref.status.405.2">1 1.2</a></li>5177 <li>406 Not Acceptable <a href="#rfc.xref.status.406.1">4.1</a>, <a href="#rfc.iref.s.23"><b>4.6.6</b></a>, <a href="#rfc.xref.status.406.2">1 1.2</a></li>5178 <li>408 Request Timeout <a href="#rfc.xref.status.408.1">4.1</a>, <a href="#rfc.iref.s.24"><b>4.6.7</b></a>, <a href="#rfc.xref.status.408.2">1 1.2</a></li>5179 <li>409 Conflict <a href="#rfc.xref.status.409.1">4.1</a>, <a href="#rfc.iref.s.25"><b>4.6.8</b></a>, <a href="#rfc.xref.status.409.2">1 1.2</a></li>5180 <li>410 Gone <a href="#rfc.xref.status.410.1">4.1</a>, <a href="#rfc.iref.s.26"><b>4.6.9</b></a>, <a href="#rfc.xref.status.410.2">1 1.2</a></li>5181 <li>411 Length Required <a href="#rfc.xref.status.411.1">4.1</a>, <a href="#rfc.iref.s.27"><b>4.6.10</b></a>, <a href="#rfc.xref.status.411.2">1 1.2</a></li>5182 <li>413 Request Representation Too Large <a href="#rfc.xref.status.413.1">4.1</a>, <a href="#rfc.iref.s.28"><b>4.6.11</b></a>, <a href="#rfc.xref.status.413.2">1 1.2</a></li>5183 <li>414 URI Too Long <a href="#rfc.xref.status.414.1">4.1</a>, <a href="#rfc.iref.s.29"><b>4.6.12</b></a>, <a href="#rfc.xref.status.414.2">1 1.2</a></li>5184 <li>415 Unsupported Media Type <a href="#rfc.xref.status.415.1">4.1</a>, <a href="#rfc.iref.s.30"><b>4.6.13</b></a>, <a href="#rfc.xref.status.415.2">1 1.2</a></li>5185 <li>417 Expectation Failed <a href="#rfc.xref.status.417.1">4.1</a>, <a href="#rfc.iref.s.31"><b>4.6.14</b></a>, <a href="#rfc.xref.status.417.2">1 1.2</a></li>5186 <li>426 Upgrade Required <a href="#rfc.xref.status.426.1">4.1</a>, <a href="#rfc.iref.s.32"><b>4.6.15</b></a>, <a href="#rfc.xref.status.426.2">1 1.2</a>, <a href="#rfc.xref.status.426.3">C</a></li>5187 <li>500 Internal Server Error <a href="#rfc.xref.status.500.1">4.1</a>, <a href="#rfc.iref.s.33"><b>4.7.1</b></a>, <a href="#rfc.xref.status.500.2">1 1.2</a></li>5188 <li>501 Not Implemented <a href="#rfc.xref.status.501.1">4.1</a>, <a href="#rfc.iref.s.34"><b>4.7.2</b></a>, <a href="#rfc.xref.status.501.2">1 1.2</a></li>5189 <li>502 Bad Gateway <a href="#rfc.xref.status.502.1">4.1</a>, <a href="#rfc.iref.s.35"><b>4.7.3</b></a>, <a href="#rfc.xref.status.502.2">1 1.2</a></li>5190 <li>503 Service Unavailable <a href="#rfc.xref.status.503.1">4.1</a>, <a href="#rfc.iref.s.36"><b>4.7.4</b></a>, <a href="#rfc.xref.status.503.2">1 1.2</a></li>5191 <li>504 Gateway Timeout <a href="#rfc.xref.status.504.1">4.1</a>, <a href="#rfc.iref.s.37"><b>4.7.5</b></a>, <a href="#rfc.xref.status.504.2">1 1.2</a></li>5192 <li>505 HTTP Version Not Supported <a href="#rfc.xref.status.505.1">4.1</a>, <a href="#rfc.iref.s.38"><b>4.7.6</b></a>, <a href="#rfc.xref.status.505.2">1 1.2</a></li>5153 <li>100 Continue <a href="#rfc.xref.status.100.1">4.1</a>, <a href="#rfc.iref.s.3"><b>4.3.1</b></a>, <a href="#rfc.xref.status.100.2">10.2</a></li> 5154 <li>101 Switching Protocols <a href="#rfc.xref.status.101.1">4.1</a>, <a href="#rfc.iref.s.4"><b>4.3.2</b></a>, <a href="#rfc.xref.status.101.2">10.2</a></li> 5155 <li>200 OK <a href="#rfc.xref.status.200.1">4.1</a>, <a href="#rfc.iref.s.5"><b>4.4.1</b></a>, <a href="#rfc.xref.status.200.2">10.2</a></li> 5156 <li>201 Created <a href="#rfc.xref.status.201.1">4.1</a>, <a href="#rfc.iref.s.6"><b>4.4.2</b></a>, <a href="#rfc.xref.status.201.2">10.2</a></li> 5157 <li>202 Accepted <a href="#rfc.xref.status.202.1">4.1</a>, <a href="#rfc.iref.s.7"><b>4.4.3</b></a>, <a href="#rfc.xref.status.202.2">10.2</a></li> 5158 <li>203 Non-Authoritative Information <a href="#rfc.xref.status.203.1">4.1</a>, <a href="#rfc.iref.s.8"><b>4.4.4</b></a>, <a href="#rfc.xref.status.203.2">10.2</a>, <a href="#rfc.xref.status.203.3">C</a></li> 5159 <li>204 No Content <a href="#rfc.xref.status.204.1">4.1</a>, <a href="#rfc.iref.s.9"><b>4.4.5</b></a>, <a href="#rfc.xref.status.204.2">10.2</a></li> 5160 <li>205 Reset Content <a href="#rfc.xref.status.205.1">4.1</a>, <a href="#rfc.iref.s.10"><b>4.4.6</b></a>, <a href="#rfc.xref.status.205.2">10.2</a></li> 5161 <li>300 Multiple Choices <a href="#rfc.xref.status.300.1">4.1</a>, <a href="#rfc.iref.s.11"><b>4.5.1</b></a>, <a href="#rfc.xref.status.300.2">10.2</a></li> 5162 <li>301 Moved Permanently <a href="#rfc.xref.status.301.1">4.1</a>, <a href="#rfc.iref.s.12"><b>4.5.2</b></a>, <a href="#rfc.xref.status.301.2">10.2</a>, <a href="#rfc.xref.status.301.3">C</a></li> 5163 <li>302 Found <a href="#rfc.xref.status.302.1">4.1</a>, <a href="#rfc.iref.s.13"><b>4.5.3</b></a>, <a href="#rfc.xref.status.302.2">10.2</a>, <a href="#rfc.xref.status.302.3">C</a></li> 5164 <li>303 See Other <a href="#rfc.xref.status.303.1">4.1</a>, <a href="#rfc.iref.s.14"><b>4.5.4</b></a>, <a href="#rfc.xref.status.303.2">10.2</a></li> 5165 <li>305 Use Proxy <a href="#rfc.xref.status.305.1">4.1</a>, <a href="#rfc.iref.s.15"><b>4.5.5</b></a>, <a href="#rfc.xref.status.305.2">10.2</a>, <a href="#rfc.xref.status.305.3">C</a></li> 5166 <li>306 (Unused) <a href="#rfc.iref.s.16"><b>4.5.6</b></a>, <a href="#rfc.xref.status.306.1">10.2</a></li> 5167 <li>307 Temporary Redirect <a href="#rfc.xref.status.307.1">4.1</a>, <a href="#rfc.iref.s.17"><b>4.5.7</b></a>, <a href="#rfc.xref.status.307.2">10.2</a>, <a href="#rfc.xref.status.307.3">C</a></li> 5168 <li>400 Bad Request <a href="#rfc.xref.status.400.1">4.1</a>, <a href="#rfc.iref.s.18"><b>4.6.1</b></a>, <a href="#rfc.xref.status.400.2">10.2</a></li> 5169 <li>402 Payment Required <a href="#rfc.xref.status.402.1">4.1</a>, <a href="#rfc.iref.s.19"><b>4.6.2</b></a>, <a href="#rfc.xref.status.402.2">10.2</a></li> 5170 <li>403 Forbidden <a href="#rfc.xref.status.403.1">4.1</a>, <a href="#rfc.iref.s.20"><b>4.6.3</b></a>, <a href="#rfc.xref.status.403.2">10.2</a></li> 5171 <li>404 Not Found <a href="#rfc.xref.status.404.1">4.1</a>, <a href="#rfc.iref.s.21"><b>4.6.4</b></a>, <a href="#rfc.xref.status.404.2">10.2</a></li> 5172 <li>405 Method Not Allowed <a href="#rfc.xref.status.405.1">4.1</a>, <a href="#rfc.iref.s.22"><b>4.6.5</b></a>, <a href="#rfc.xref.status.405.2">10.2</a></li> 5173 <li>406 Not Acceptable <a href="#rfc.xref.status.406.1">4.1</a>, <a href="#rfc.iref.s.23"><b>4.6.6</b></a>, <a href="#rfc.xref.status.406.2">10.2</a></li> 5174 <li>408 Request Timeout <a href="#rfc.xref.status.408.1">4.1</a>, <a href="#rfc.iref.s.24"><b>4.6.7</b></a>, <a href="#rfc.xref.status.408.2">10.2</a></li> 5175 <li>409 Conflict <a href="#rfc.xref.status.409.1">4.1</a>, <a href="#rfc.iref.s.25"><b>4.6.8</b></a>, <a href="#rfc.xref.status.409.2">10.2</a></li> 5176 <li>410 Gone <a href="#rfc.xref.status.410.1">4.1</a>, <a href="#rfc.iref.s.26"><b>4.6.9</b></a>, <a href="#rfc.xref.status.410.2">10.2</a></li> 5177 <li>411 Length Required <a href="#rfc.xref.status.411.1">4.1</a>, <a href="#rfc.iref.s.27"><b>4.6.10</b></a>, <a href="#rfc.xref.status.411.2">10.2</a></li> 5178 <li>413 Request Representation Too Large <a href="#rfc.xref.status.413.1">4.1</a>, <a href="#rfc.iref.s.28"><b>4.6.11</b></a>, <a href="#rfc.xref.status.413.2">10.2</a></li> 5179 <li>414 URI Too Long <a href="#rfc.xref.status.414.1">4.1</a>, <a href="#rfc.iref.s.29"><b>4.6.12</b></a>, <a href="#rfc.xref.status.414.2">10.2</a></li> 5180 <li>415 Unsupported Media Type <a href="#rfc.xref.status.415.1">4.1</a>, <a href="#rfc.iref.s.30"><b>4.6.13</b></a>, <a href="#rfc.xref.status.415.2">10.2</a></li> 5181 <li>417 Expectation Failed <a href="#rfc.xref.status.417.1">4.1</a>, <a href="#rfc.iref.s.31"><b>4.6.14</b></a>, <a href="#rfc.xref.status.417.2">10.2</a></li> 5182 <li>426 Upgrade Required <a href="#rfc.xref.status.426.1">4.1</a>, <a href="#rfc.iref.s.32"><b>4.6.15</b></a>, <a href="#rfc.xref.status.426.2">10.2</a>, <a href="#rfc.xref.status.426.3">C</a></li> 5183 <li>500 Internal Server Error <a href="#rfc.xref.status.500.1">4.1</a>, <a href="#rfc.iref.s.33"><b>4.7.1</b></a>, <a href="#rfc.xref.status.500.2">10.2</a></li> 5184 <li>501 Not Implemented <a href="#rfc.xref.status.501.1">4.1</a>, <a href="#rfc.iref.s.34"><b>4.7.2</b></a>, <a href="#rfc.xref.status.501.2">10.2</a></li> 5185 <li>502 Bad Gateway <a href="#rfc.xref.status.502.1">4.1</a>, <a href="#rfc.iref.s.35"><b>4.7.3</b></a>, <a href="#rfc.xref.status.502.2">10.2</a></li> 5186 <li>503 Service Unavailable <a href="#rfc.xref.status.503.1">4.1</a>, <a href="#rfc.iref.s.36"><b>4.7.4</b></a>, <a href="#rfc.xref.status.503.2">10.2</a></li> 5187 <li>504 Gateway Timeout <a href="#rfc.xref.status.504.1">4.1</a>, <a href="#rfc.iref.s.37"><b>4.7.5</b></a>, <a href="#rfc.xref.status.504.2">10.2</a></li> 5188 <li>505 HTTP Version Not Supported <a href="#rfc.xref.status.505.1">4.1</a>, <a href="#rfc.iref.s.38"><b>4.7.6</b></a>, <a href="#rfc.xref.status.505.2">10.2</a></li> 5193 5189 </ul> 5194 5190 </li> … … 5196 5192 </li> 5197 5193 <li><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul> 5198 <li>TRACE method <a href="#rfc.iref.t.1"><b>2.3.7</b></a>, <a href="#rfc.xref.TRACE.1"> 10.6</a>, <a href="#rfc.xref.TRACE.2">11.1</a>, <a href="#rfc.xref.TRACE.3">12.1</a></li>5194 <li>TRACE method <a href="#rfc.iref.t.1"><b>2.3.7</b></a>, <a href="#rfc.xref.TRACE.1">9.6</a>, <a href="#rfc.xref.TRACE.2">10.1</a>, <a href="#rfc.xref.TRACE.3">11.1</a></li> 5199 5195 </ul> 5200 5196 </li> 5201 5197 <li><a id="rfc.index.U" href="#rfc.index.U"><b>U</b></a><ul> 5202 <li>User-Agent header field <a href="#rfc.xref.header.user-agent.1">3.2</a>, <a href="#rfc.xref.header.user-agent.2"> 9.1</a>, <a href="#rfc.iref.u.1"><b>10.10</b></a>, <a href="#rfc.xref.header.user-agent.3">11.3</a>, <a href="#rfc.xref.header.user-agent.4">12.1</a></li>5198 <li>User-Agent header field <a href="#rfc.xref.header.user-agent.1">3.2</a>, <a href="#rfc.xref.header.user-agent.2">8.1</a>, <a href="#rfc.iref.u.1"><b>9.10</b></a>, <a href="#rfc.xref.header.user-agent.3">10.3</a>, <a href="#rfc.xref.header.user-agent.4">11.1</a></li> 5203 5199 </ul> 5204 5200 </li> -
draft-ietf-httpbis/experiment/p2-semantics.xml
r1630 r1631 2093 2093 </section> 2094 2094 2095 <section title="Representation" anchor="representation">2096 <t>2097 Request and Response messages &MAY; transfer a representation if not otherwise2098 restricted by the request method or response status code. A representation2099 consists of metadata (representation header fields) and data (representation2100 body). When a complete or partial representation is enclosed in an HTTP message,2101 it is referred to as the payload of the message. HTTP representations2102 are defined in <xref target="payload"/>.2103 </t>2104 <t>2105 A representation body is only present in a message when a message body is2106 present, as described in &message-body;. The representation body is obtained2107 from the message body by decoding any Transfer-Encoding that might2108 have been applied to ensure safe and proper transfer of the message.2109 </t>2110 2111 <section title="Identifying the Resource Associated with a Representation" anchor="identifying.response.associated.with.representation">2112 <t>2113 It is sometimes necessary to determine an identifier for the resource2114 associated with a representation.2115 </t>2116 <t>2117 An HTTP request representation, when present, is always associated with an2118 anonymous (i.e., unidentified) resource.2119 </t>2120 <t>2121 In the common case, an HTTP response is a representation of the target2122 resource (see &effective-request-uri;). However, this is not always the2123 case. To determine the URI of the resource a response is associated with,2124 the following rules are used (with the first applicable one being selected):2125 </t>2126 <t><list style="numbers">2127 <t>If the response status code is 200 or 203 and the request method was GET,2128 the response payload is a representation of the target resource.</t>2129 <t>If the response status code is 204, 206, or 304 and the request method was GET2130 or HEAD, the response payload is a partial representation of the target2131 resource.</t>2132 <t>If the response has a Content-Location header field, and that URI is the same2133 as the effective request URI, the response payload is a representation of the2134 target resource.</t>2135 <t>If the response has a Content-Location header field, and that URI is not the2136 same as the effective request URI, then the response asserts that its2137 payload is a representation of the resource identified by the2138 Content-Location URI. However, such an assertion cannot be trusted unless2139 it can be verified by other means (not defined by HTTP).</t>2140 <t>Otherwise, the response is a representation of an anonymous (i.e.,2141 unidentified) resource.</t>2142 </list></t>2143 <t>2144 <cref anchor="TODO-req-uri">2145 The comparison function is going to have to be defined somewhere,2146 because we already need to compare URIs for things like cache invalidation.</cref>2147 </t>2148 </section>2149 2150 </section>2151 2152 2095 2153 2096 <section title="Common Protocol Parameters" anchor="common.protocol.parameters"> … … 2632 2575 </section> 2633 2576 2634 <section title="Representation" anchor="representation-TODO">2577 <section title="Representation"> 2635 2578 <iref item="representation"/> 2636 2579 <t> … … 2656 2599 describes the error and what next steps are suggested for resolving it. 2657 2600 </t> 2601 <t> 2602 Request and Response messages &MAY; transfer a representation if not otherwise 2603 restricted by the request method or response status code. A representation 2604 consists of metadata (representation header fields) and data (representation 2605 body). When a complete or partial representation is enclosed in an HTTP message, 2606 it is referred to as the payload of the message.<cref>MOVEDFIXME</cref> 2607 </t> 2608 <t> 2609 A representation body is only present in a message when a message body is 2610 present, as described in &message-body;. The representation body is obtained 2611 from the message body by decoding any Transfer-Encoding that might 2612 have been applied to ensure safe and proper transfer of the message.<cref>MOVEDFIXME</cref> 2613 </t> 2614 2615 <section title="Identifying the Resource Associated with a Representation" anchor="identifying.response.associated.with.representation"> 2616 <t> 2617 It is sometimes necessary to determine an identifier for the resource 2618 associated with a representation. 2619 </t> 2620 <t> 2621 An HTTP request representation, when present, is always associated with an 2622 anonymous (i.e., unidentified) resource. 2623 </t> 2624 <t> 2625 In the common case, an HTTP response is a representation of the target 2626 resource (see &effective-request-uri;). However, this is not always the 2627 case. To determine the URI of the resource a response is associated with, 2628 the following rules are used (with the first applicable one being selected): 2629 </t> 2630 <t><list style="numbers"> 2631 <t>If the response status code is 200 or 203 and the request method was GET, 2632 the response payload is a representation of the target resource.</t> 2633 <t>If the response status code is 204, 206, or 304 and the request method was GET 2634 or HEAD, the response payload is a partial representation of the target 2635 resource.</t> 2636 <t>If the response has a Content-Location header field, and that URI is the same 2637 as the effective request URI, the response payload is a representation of the 2638 target resource.</t> 2639 <t>If the response has a Content-Location header field, and that URI is not the 2640 same as the effective request URI, then the response asserts that its 2641 payload is a representation of the resource identified by the 2642 Content-Location URI. However, such an assertion cannot be trusted unless 2643 it can be verified by other means (not defined by HTTP).</t> 2644 <t>Otherwise, the response is a representation of an anonymous (i.e., 2645 unidentified) resource.</t> 2646 </list></t> 2647 <t> 2648 <cref anchor="TODO-req-uri"> 2649 The comparison function is going to have to be defined somewhere, 2650 because we already need to compare URIs for things like cache invalidation.</cref> 2651 </t> 2652 </section> 2658 2653 2659 2654 <section title="Representation Header Fields" anchor="representation.header.fields"> -
draft-ietf-httpbis/experiment/p4-conditional.html
r1630 r1631 686 686 <div id="rfc.figure.u.1"></div><pre class="inline"> <a href="#notation" class="smpl">OWS</a> = <OWS, defined in <a href="#Part1" id="rfc.xref.Part1.4"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#whitespace" title="Whitespace">Section 3.2.1</a>> 687 687 <a href="#notation" class="smpl">obs-text</a> = <obs-text, defined in <a href="#Part1" id="rfc.xref.Part1.5"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#field.components" title="Field value components">Section 3.2.4</a>> 688 <a href="#notation" class="smpl">HTTP-date</a> = <HTTP-date, defined in <a href="#Part2" id="rfc.xref.Part2.2"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>, <a href="p2-semantics.html#http.date" title="Date/Time Formats">Section 6.1</a>>688 <a href="#notation" class="smpl">HTTP-date</a> = <HTTP-date, defined in <a href="#Part2" id="rfc.xref.Part2.2"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>, <a href="p2-semantics.html#http.date" title="Date/Time Formats">Section 5.1</a>> 689 689 </pre><div id="rfc.iref.m.1"></div> 690 690 <div id="rfc.iref.v.1"></div> … … 896 896 </div> 897 897 <h3 id="rfc.section.2.3.3"><a href="#rfc.section.2.3.3">2.3.3</a> <a id="example.entity.tag.vs.conneg" href="#example.entity.tag.vs.conneg">Example: Entity-tags varying on Content-Negotiated Resources</a></h3> 898 <p id="rfc.section.2.3.3.p.1">Consider a resource that is subject to content negotiation (<a href="p2-semantics.html#content.negotiation" title="Content Negotiation">Section 9</a> of <a href="#Part2" id="rfc.xref.Part2.3"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>), and where the representations returned upon a GET request vary based on the Accept-Encoding request header field (<a href="p2-semantics.html#header.accept-encoding" title="Accept-Encoding">Section 10.13</a> of <a href="#Part2" id="rfc.xref.Part2.4"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>):898 <p id="rfc.section.2.3.3.p.1">Consider a resource that is subject to content negotiation (<a href="p2-semantics.html#content.negotiation" title="Content Negotiation">Section 8</a> of <a href="#Part2" id="rfc.xref.Part2.3"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>), and where the representations returned upon a GET request vary based on the Accept-Encoding request header field (<a href="p2-semantics.html#header.accept-encoding" title="Accept-Encoding">Section 9.13</a> of <a href="#Part2" id="rfc.xref.Part2.4"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>): 899 899 </p> 900 900 <div id="rfc.figure.u.6"></div> … … 1123 1123 as if it were the payload of a 200 response. The 304 response <em class="bcp14">MUST NOT</em> contain a message-body, and thus is always terminated by the first empty line after the header fields. 1124 1124 </p> 1125 <p id="rfc.section.4.1.p.2">A 304 response <em class="bcp14">MUST</em> include a Date header field (<a href="p2-semantics.html#header.date" title="Date">Section 10.2</a> of <a href="#Part2" id="rfc.xref.Part2.5"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>) unless the origin server does not have a clock that can provide a reasonable approximation of the current time. If a 2001125 <p id="rfc.section.4.1.p.2">A 304 response <em class="bcp14">MUST</em> include a Date header field (<a href="p2-semantics.html#header.date" title="Date">Section 9.2</a> of <a href="#Part2" id="rfc.xref.Part2.5"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>) unless the origin server does not have a clock that can provide a reasonable approximation of the current time. If a 200 1126 1126 response to the same request would have included any of the header fields Cache-Control, Content-Location, ETag, Expires, 1127 1127 or Vary, then those same header fields <em class="bcp14">MUST</em> be sent in a 304 response. … … 1424 1424 </li> 1425 1425 <li><em>Part2</em> <a href="#rfc.xref.Part2.1">1.2</a>, <a href="#rfc.xref.Part2.2">1.2</a>, <a href="#rfc.xref.Part2.3">2.3.3</a>, <a href="#rfc.xref.Part2.4">2.3.3</a>, <a href="#rfc.xref.Part2.5">4.1</a>, <a href="#Part2"><b>8.1</b></a><ul> 1426 <li><em>Section 6.1</em> <a href="#rfc.xref.Part2.2">1.2</a></li>1427 <li><em>Section 9</em> <a href="#rfc.xref.Part2.3">2.3.3</a></li>1428 <li><em>Section 10.2</em> <a href="#rfc.xref.Part2.5">4.1</a></li>1429 <li><em>Section 10.13</em> <a href="#rfc.xref.Part2.4">2.3.3</a></li>1426 <li><em>Section 5.1</em> <a href="#rfc.xref.Part2.2">1.2</a></li> 1427 <li><em>Section 8</em> <a href="#rfc.xref.Part2.3">2.3.3</a></li> 1428 <li><em>Section 9.2</em> <a href="#rfc.xref.Part2.5">4.1</a></li> 1429 <li><em>Section 9.13</em> <a href="#rfc.xref.Part2.4">2.3.3</a></li> 1430 1430 </ul> 1431 1431 </li>
Note: See TracChangeset
for help on using the changeset viewer.