[29] | 1 | <?xml version="1.0" encoding="utf-8"?> |
---|
[101] | 2 | <?xml-stylesheet type='text/xsl' href='../myxml2rfc.xslt'?> |
---|
[8] | 3 | <!DOCTYPE rfc [ |
---|
| 4 | <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>"> |
---|
| 5 | <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST</bcp14>"> |
---|
| 6 | <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MUST NOT</bcp14>"> |
---|
| 7 | <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>OPTIONAL</bcp14>"> |
---|
| 8 | <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>RECOMMENDED</bcp14>"> |
---|
| 9 | <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>REQUIRED</bcp14>"> |
---|
| 10 | <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL</bcp14>"> |
---|
| 11 | <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHALL NOT</bcp14>"> |
---|
| 12 | <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD</bcp14>"> |
---|
| 13 | <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>SHOULD NOT</bcp14>"> |
---|
[314] | 14 | <!ENTITY ID-VERSION "04"> |
---|
[301] | 15 | <!ENTITY ID-MONTH "August"> |
---|
[124] | 16 | <!ENTITY ID-YEAR "2008"> |
---|
[205] | 17 | <!ENTITY notation-abnf "<xref target='Part1' x:rel='#notation.abnf' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
| 18 | <!ENTITY basic-rules "<xref target='Part1' x:rel='#basic.rules' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
[115] | 19 | <!ENTITY caching-neg-resp "<xref target='Part6' x:rel='#caching.negotiated.responses' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
[31] | 20 | <!ENTITY header-transfer-encoding "<xref target='Part1' x:rel='#header.transfer-encoding' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
| 21 | <!ENTITY header-content-length "<xref target='Part1' x:rel='#header.content-length' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
| 22 | <!ENTITY header-content-range "<xref target='Part5' x:rel='#header.content-range' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
| 23 | <!ENTITY header-expires "<xref target='Part6' x:rel='#header.expires' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
| 24 | <!ENTITY header-last-modified "<xref target='Part4' x:rel='#header.last-modified' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
| 25 | <!ENTITY header-user-agent "<xref target='Part2' x:rel='#header.user-agent' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
[115] | 26 | <!ENTITY header-vary "<xref target='Part6' x:rel='#header.vary' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
[31] | 27 | <!ENTITY message-body "<xref target='Part1' x:rel='#message.body' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
| 28 | <!ENTITY message-length "<xref target='Part1' x:rel='#message.length' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
[206] | 29 | <!ENTITY message-headers "<xref target='Part1' x:rel='#message.headers' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
| 30 | <!ENTITY general-syntax "<xref target='Part1' x:rel='#general.syntax' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
[31] | 31 | <!ENTITY multipart-byteranges "<xref target='Part5' x:rel='#internet.media.type.multipart.byteranges' xmlns:x='http://purl.org/net/xml2rfc/ext'/>"> |
---|
[8] | 32 | ]> |
---|
| 33 | <?rfc toc="yes" ?> |
---|
[29] | 34 | <?rfc symrefs="yes" ?> |
---|
| 35 | <?rfc sortrefs="yes" ?> |
---|
[8] | 36 | <?rfc compact="yes"?> |
---|
| 37 | <?rfc subcompact="no" ?> |
---|
| 38 | <?rfc linkmailto="no" ?> |
---|
| 39 | <?rfc editing="no" ?> |
---|
[203] | 40 | <?rfc comments="yes"?> |
---|
| 41 | <?rfc inline="yes"?> |
---|
[8] | 42 | <?rfc-ext allow-markup-in-artwork="yes" ?> |
---|
| 43 | <?rfc-ext include-references-in-index="yes" ?> |
---|
[308] | 44 | <rfc obsoletes="2616" category="std" x:maturity-level="draft" |
---|
[29] | 45 | ipr="full3978" docName="draft-ietf-httpbis-p3-payload-&ID-VERSION;" |
---|
[153] | 46 | xmlns:x='http://purl.org/net/xml2rfc/ext'> |
---|
[8] | 47 | <front> |
---|
| 48 | |
---|
[120] | 49 | <title abbrev="HTTP/1.1, Part 3">HTTP/1.1, part 3: Message Payload and Content Negotiation</title> |
---|
[8] | 50 | |
---|
[29] | 51 | <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor"> |
---|
| 52 | <organization abbrev="Day Software">Day Software</organization> |
---|
[8] | 53 | <address> |
---|
| 54 | <postal> |
---|
[29] | 55 | <street>23 Corporate Plaza DR, Suite 280</street> |
---|
| 56 | <city>Newport Beach</city> |
---|
[8] | 57 | <region>CA</region> |
---|
[29] | 58 | <code>92660</code> |
---|
| 59 | <country>USA</country> |
---|
[8] | 60 | </postal> |
---|
[29] | 61 | <phone>+1-949-706-5300</phone> |
---|
| 62 | <facsimile>+1-949-706-5305</facsimile> |
---|
| 63 | <email>fielding@gbiv.com</email> |
---|
| 64 | <uri>http://roy.gbiv.com/</uri> |
---|
[8] | 65 | </address> |
---|
| 66 | </author> |
---|
| 67 | |
---|
[29] | 68 | <author initials="J." surname="Gettys" fullname="Jim Gettys"> |
---|
| 69 | <organization>One Laptop per Child</organization> |
---|
[8] | 70 | <address> |
---|
| 71 | <postal> |
---|
[29] | 72 | <street>21 Oak Knoll Road</street> |
---|
| 73 | <city>Carlisle</city> |
---|
[8] | 74 | <region>MA</region> |
---|
[29] | 75 | <code>01741</code> |
---|
| 76 | <country>USA</country> |
---|
[8] | 77 | </postal> |
---|
[29] | 78 | <email>jg@laptop.org</email> |
---|
| 79 | <uri>http://www.laptop.org/</uri> |
---|
[8] | 80 | </address> |
---|
| 81 | </author> |
---|
| 82 | |
---|
| 83 | <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul"> |
---|
[29] | 84 | <organization abbrev="HP">Hewlett-Packard Company</organization> |
---|
[8] | 85 | <address> |
---|
| 86 | <postal> |
---|
[29] | 87 | <street>HP Labs, Large Scale Systems Group</street> |
---|
| 88 | <street>1501 Page Mill Road, MS 1177</street> |
---|
[8] | 89 | <city>Palo Alto</city> |
---|
| 90 | <region>CA</region> |
---|
[29] | 91 | <code>94304</code> |
---|
| 92 | <country>USA</country> |
---|
[8] | 93 | </postal> |
---|
[29] | 94 | <email>JeffMogul@acm.org</email> |
---|
[8] | 95 | </address> |
---|
| 96 | </author> |
---|
| 97 | |
---|
| 98 | <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen"> |
---|
[29] | 99 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
[8] | 100 | <address> |
---|
| 101 | <postal> |
---|
[29] | 102 | <street>1 Microsoft Way</street> |
---|
| 103 | <city>Redmond</city> |
---|
| 104 | <region>WA</region> |
---|
| 105 | <code>98052</code> |
---|
| 106 | <country>USA</country> |
---|
[8] | 107 | </postal> |
---|
[29] | 108 | <email>henrikn@microsoft.com</email> |
---|
[8] | 109 | </address> |
---|
| 110 | </author> |
---|
| 111 | |
---|
| 112 | <author initials="L." surname="Masinter" fullname="Larry Masinter"> |
---|
[29] | 113 | <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization> |
---|
[8] | 114 | <address> |
---|
| 115 | <postal> |
---|
[29] | 116 | <street>345 Park Ave</street> |
---|
| 117 | <city>San Jose</city> |
---|
[8] | 118 | <region>CA</region> |
---|
[29] | 119 | <code>95110</code> |
---|
| 120 | <country>USA</country> |
---|
[8] | 121 | </postal> |
---|
[29] | 122 | <email>LMM@acm.org</email> |
---|
| 123 | <uri>http://larry.masinter.net/</uri> |
---|
[8] | 124 | </address> |
---|
| 125 | </author> |
---|
| 126 | |
---|
| 127 | <author initials="P." surname="Leach" fullname="Paul J. Leach"> |
---|
| 128 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 129 | <address> |
---|
| 130 | <postal> |
---|
| 131 | <street>1 Microsoft Way</street> |
---|
| 132 | <city>Redmond</city> |
---|
| 133 | <region>WA</region> |
---|
| 134 | <code>98052</code> |
---|
| 135 | </postal> |
---|
| 136 | <email>paulle@microsoft.com</email> |
---|
| 137 | </address> |
---|
| 138 | </author> |
---|
| 139 | |
---|
| 140 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
| 141 | <organization abbrev="W3C/MIT">World Wide Web Consortium</organization> |
---|
| 142 | <address> |
---|
| 143 | <postal> |
---|
[34] | 144 | <street>MIT Computer Science and Artificial Intelligence Laboratory</street> |
---|
| 145 | <street>The Stata Center, Building 32</street> |
---|
| 146 | <street>32 Vassar Street</street> |
---|
[8] | 147 | <city>Cambridge</city> |
---|
| 148 | <region>MA</region> |
---|
| 149 | <code>02139</code> |
---|
[29] | 150 | <country>USA</country> |
---|
[8] | 151 | </postal> |
---|
| 152 | <email>timbl@w3.org</email> |
---|
[34] | 153 | <uri>http://www.w3.org/People/Berners-Lee/</uri> |
---|
[8] | 154 | </address> |
---|
| 155 | </author> |
---|
| 156 | |
---|
[95] | 157 | <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor"> |
---|
[94] | 158 | <organization abbrev="W3C">World Wide Web Consortium</organization> |
---|
| 159 | <address> |
---|
| 160 | <postal> |
---|
| 161 | <street>W3C / ERCIM</street> |
---|
| 162 | <street>2004, rte des Lucioles</street> |
---|
| 163 | <city>Sophia-Antipolis</city> |
---|
| 164 | <region>AM</region> |
---|
| 165 | <code>06902</code> |
---|
| 166 | <country>France</country> |
---|
| 167 | </postal> |
---|
| 168 | <email>ylafon@w3.org</email> |
---|
| 169 | <uri>http://www.raubacapeu.net/people/yves/</uri> |
---|
| 170 | </address> |
---|
| 171 | </author> |
---|
| 172 | |
---|
[95] | 173 | <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor"> |
---|
| 174 | <organization abbrev="greenbytes">greenbytes GmbH</organization> |
---|
| 175 | <address> |
---|
| 176 | <postal> |
---|
| 177 | <street>Hafenweg 16</street> |
---|
| 178 | <city>Muenster</city><region>NW</region><code>48155</code> |
---|
| 179 | <country>Germany</country> |
---|
| 180 | </postal> |
---|
| 181 | <phone>+49 251 2807760</phone> |
---|
| 182 | <facsimile>+49 251 2807761</facsimile> |
---|
| 183 | <email>julian.reschke@greenbytes.de</email> |
---|
| 184 | <uri>http://greenbytes.de/tech/webdav/</uri> |
---|
| 185 | </address> |
---|
| 186 | </author> |
---|
| 187 | |
---|
[314] | 188 | <date month="&ID-MONTH;" year="&ID-YEAR;" day="29"/> |
---|
[8] | 189 | |
---|
| 190 | <abstract> |
---|
| 191 | <t> |
---|
| 192 | The Hypertext Transfer Protocol (HTTP) is an application-level |
---|
| 193 | protocol for distributed, collaborative, hypermedia information |
---|
[29] | 194 | systems. HTTP has been in use by the World Wide Web global information |
---|
[35] | 195 | initiative since 1990. This document is Part 3 of the seven-part specification |
---|
[29] | 196 | that defines the protocol referred to as "HTTP/1.1" and, taken together, |
---|
[42] | 197 | obsoletes RFC 2616. Part 3 defines HTTP message content, |
---|
[29] | 198 | metadata, and content negotiation. |
---|
[8] | 199 | </t> |
---|
| 200 | </abstract> |
---|
[36] | 201 | |
---|
| 202 | <note title="Editorial Note (To be removed by RFC Editor)"> |
---|
| 203 | <t> |
---|
| 204 | Discussion of this draft should take place on the HTTPBIS working group |
---|
| 205 | mailing list (ietf-http-wg@w3.org). The current issues list is |
---|
[113] | 206 | at <eref target="http://www.tools.ietf.org/wg/httpbis/trac/report/11"/> |
---|
[36] | 207 | and related documents (including fancy diffs) can be found at |
---|
[113] | 208 | <eref target="http://www.tools.ietf.org/wg/httpbis/"/>. |
---|
[36] | 209 | </t> |
---|
[153] | 210 | <t> |
---|
[252] | 211 | The changes in this draft are summarized in <xref target="changes.since.02"/>. |
---|
[153] | 212 | </t> |
---|
[36] | 213 | </note> |
---|
[8] | 214 | </front> |
---|
| 215 | <middle> |
---|
| 216 | <section title="Introduction" anchor="introduction"> |
---|
| 217 | <t> |
---|
[163] | 218 | This document defines HTTP/1.1 message payloads (a.k.a., content), the |
---|
[161] | 219 | associated metadata header fields that define how the payload is intended |
---|
| 220 | to be interpreted by a recipient, the request header fields that |
---|
| 221 | may influence content selection, and the various selection algorithms |
---|
| 222 | that are collectively referred to as HTTP content negotiation. |
---|
[8] | 223 | </t> |
---|
[161] | 224 | <t> |
---|
| 225 | This document is currently disorganized in order to minimize the changes |
---|
| 226 | between drafts and enable reviewers to see the smaller errata changes. |
---|
| 227 | The next draft will reorganize the sections to better reflect the content. |
---|
| 228 | In particular, the sections on entities will be renamed payload and moved |
---|
| 229 | to the first half of the document, while the sections on content negotiation |
---|
| 230 | and associated request header fields will be moved to the second half. The |
---|
| 231 | current mess reflects how widely dispersed these topics and associated |
---|
| 232 | requirements had become in <xref target="RFC2616"/>. |
---|
| 233 | </t> |
---|
[96] | 234 | |
---|
| 235 | <section title="Requirements" anchor="intro.requirements"> |
---|
| 236 | <t> |
---|
| 237 | The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", |
---|
| 238 | "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this |
---|
| 239 | document are to be interpreted as described in <xref target="RFC2119"/>. |
---|
| 240 | </t> |
---|
| 241 | <t> |
---|
| 242 | An implementation is not compliant if it fails to satisfy one or more |
---|
| 243 | of the &MUST; or &REQUIRED; level requirements for the protocols it |
---|
| 244 | implements. An implementation that satisfies all the &MUST; or &REQUIRED; |
---|
| 245 | level and all the &SHOULD; level requirements for its protocols is said |
---|
| 246 | to be "unconditionally compliant"; one that satisfies all the &MUST; |
---|
| 247 | level requirements but not all the &SHOULD; level requirements for its |
---|
| 248 | protocols is said to be "conditionally compliant." |
---|
| 249 | </t> |
---|
[8] | 250 | </section> |
---|
[96] | 251 | </section> |
---|
[8] | 252 | |
---|
[205] | 253 | <section title="Notational Conventions and Generic Grammar" anchor="notation"> |
---|
[229] | 254 | <x:anchor-alias value="ALPHA"/> |
---|
| 255 | <x:anchor-alias value="DIGIT"/> |
---|
| 256 | <x:anchor-alias value="OCTET"/> |
---|
| 257 | <x:anchor-alias value="quoted-string"/> |
---|
| 258 | <x:anchor-alias value="token"/> |
---|
[205] | 259 | <t> |
---|
| 260 | This specification uses the ABNF syntax defined in ¬ation-abnf; and |
---|
| 261 | the core rules defined in &basic-rules;: |
---|
| 262 | <cref anchor="abnf.dep">ABNF syntax and basic rules will be adopted from RFC 5234, see |
---|
| 263 | <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/36"/>.</cref> |
---|
| 264 | </t> |
---|
| 265 | <figure><artwork type="abnf2616"> |
---|
[229] | 266 | <x:ref>ALPHA</x:ref> = <ALPHA, defined in &basic-rules;> |
---|
| 267 | <x:ref>DIGIT</x:ref> = <DIGIT, defined in &basic-rules;> |
---|
| 268 | <x:ref>OCTET</x:ref> = <OCTET, defined in &basic-rules;> |
---|
[205] | 269 | </artwork></figure> |
---|
| 270 | <figure><artwork type="abnf2616"> |
---|
[229] | 271 | <x:ref>quoted-string</x:ref> = <quoted-string, defined in &basic-rules;> |
---|
| 272 | <x:ref>token</x:ref> = <token, defined in &basic-rules;> |
---|
[205] | 273 | </artwork></figure> |
---|
[207] | 274 | <t anchor="abnf.dependencies"> |
---|
[229] | 275 | <x:anchor-alias value="absoluteURI"/> |
---|
| 276 | <x:anchor-alias value="Allow"/> |
---|
| 277 | <x:anchor-alias value="Content-Length"/> |
---|
| 278 | <x:anchor-alias value="Content-Range"/> |
---|
| 279 | <x:anchor-alias value="Expires"/> |
---|
| 280 | <x:anchor-alias value="Last-Modified"/> |
---|
| 281 | <x:anchor-alias value="message-header"/> |
---|
| 282 | <x:anchor-alias value="relativeURI"/> |
---|
[206] | 283 | The ABNF rules below are defined in other parts: |
---|
| 284 | </t> |
---|
[207] | 285 | <figure><!--Part1--><artwork type="abnf2616"> |
---|
[229] | 286 | <x:ref>absoluteURI</x:ref> = <absoluteURI, defined in &general-syntax;> |
---|
| 287 | <x:ref>Content-Length</x:ref> = <Content-Length, defined in &header-content-length;> |
---|
| 288 | <x:ref>relativeURI</x:ref> = <relativeURI, defined in &general-syntax;> |
---|
| 289 | <x:ref>message-header</x:ref> = <message-header, defined in &message-headers;> |
---|
[207] | 290 | </artwork></figure> |
---|
| 291 | <figure><!--Part4--><artwork type="abnf2616"> |
---|
[229] | 292 | <x:ref>Last-Modified</x:ref> = <Last-Modified, defined in &header-last-modified;> |
---|
[207] | 293 | </artwork></figure> |
---|
| 294 | <figure><!--Part5--><artwork type="abnf2616"> |
---|
[229] | 295 | <x:ref>Content-Range</x:ref> = <Content-Range, defined in &header-content-range;> |
---|
[207] | 296 | </artwork></figure> |
---|
| 297 | <figure><!--Part6--><artwork type="abnf2616"> |
---|
[229] | 298 | <x:ref>Expires</x:ref> = <Expires, defined in &header-expires;> |
---|
[206] | 299 | </artwork></figure> |
---|
[205] | 300 | </section> |
---|
| 301 | |
---|
[8] | 302 | <section title="Protocol Parameters" anchor="protocol.parameters"> |
---|
| 303 | |
---|
| 304 | <section title="Character Sets" anchor="character.sets"> |
---|
| 305 | <t> |
---|
| 306 | HTTP uses the same definition of the term "character set" as that |
---|
| 307 | described for MIME: |
---|
| 308 | </t> |
---|
| 309 | <t> |
---|
| 310 | The term "character set" is used in this document to refer to a |
---|
| 311 | method used with one or more tables to convert a sequence of octets |
---|
| 312 | into a sequence of characters. Note that unconditional conversion in |
---|
| 313 | the other direction is not required, in that not all characters may |
---|
| 314 | be available in a given character set and a character set may provide |
---|
| 315 | more than one sequence of octets to represent a particular character. |
---|
| 316 | This definition is intended to allow various kinds of character |
---|
| 317 | encoding, from simple single-table mappings such as US-ASCII to |
---|
| 318 | complex table switching methods such as those that use ISO-2022's |
---|
| 319 | techniques. However, the definition associated with a MIME character |
---|
| 320 | set name &MUST; fully specify the mapping to be performed from octets |
---|
| 321 | to characters. In particular, use of external profiling information |
---|
| 322 | to determine the exact mapping is not permitted. |
---|
| 323 | </t> |
---|
| 324 | <t><list><t> |
---|
| 325 | <x:h>Note:</x:h> This use of the term "character set" is more commonly |
---|
| 326 | referred to as a "character encoding." However, since HTTP and |
---|
| 327 | MIME share the same registry, it is important that the terminology |
---|
| 328 | also be shared. |
---|
| 329 | </t></list></t> |
---|
[229] | 330 | <t anchor="rule.charset"> |
---|
| 331 | <x:anchor-alias value="charset"/> |
---|
[8] | 332 | HTTP character sets are identified by case-insensitive tokens. The |
---|
| 333 | complete set of tokens is defined by the IANA Character Set registry |
---|
[91] | 334 | (<eref target="http://www.iana.org/assignments/character-sets"/>). |
---|
[8] | 335 | </t> |
---|
| 336 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="charset"/> |
---|
[229] | 337 | <x:ref>charset</x:ref> = <x:ref>token</x:ref> |
---|
[8] | 338 | </artwork></figure> |
---|
| 339 | <t> |
---|
| 340 | Although HTTP allows an arbitrary token to be used as a charset |
---|
| 341 | value, any token that has a predefined value within the IANA |
---|
[91] | 342 | Character Set registry &MUST; represent the character set defined |
---|
[8] | 343 | by that registry. Applications &SHOULD; limit their use of character |
---|
| 344 | sets to those defined by the IANA registry. |
---|
| 345 | </t> |
---|
| 346 | <t> |
---|
[81] | 347 | HTTP uses charset in two contexts: within an Accept-Charset request |
---|
| 348 | header (in which the charset value is an unquoted token) and as the |
---|
[115] | 349 | value of a parameter in a Content-Type header (within a request or |
---|
[81] | 350 | response), in which case the parameter value of the charset parameter |
---|
| 351 | may be quoted. |
---|
| 352 | </t> |
---|
| 353 | <t> |
---|
[129] | 354 | Implementors should be aware of IETF character set requirements <xref target="RFC3629"/> |
---|
[8] | 355 | <xref target="RFC2277"/>. |
---|
| 356 | </t> |
---|
[211] | 357 | |
---|
| 358 | <section title="Missing Charset" anchor="missing.charset"> |
---|
| 359 | <t> |
---|
| 360 | Some HTTP/1.0 software has interpreted a Content-Type header without |
---|
| 361 | charset parameter incorrectly to mean "recipient should guess." |
---|
| 362 | Senders wishing to defeat this behavior &MAY; include a charset |
---|
| 363 | parameter even when the charset is ISO-8859-1 (<xref target="ISO-8859-1"/>) and &SHOULD; do so when |
---|
| 364 | it is known that it will not confuse the recipient. |
---|
| 365 | </t> |
---|
| 366 | <t> |
---|
| 367 | Unfortunately, some older HTTP/1.0 clients did not deal properly with |
---|
| 368 | an explicit charset parameter. HTTP/1.1 recipients &MUST; respect the |
---|
| 369 | charset label provided by the sender; and those user agents that have |
---|
| 370 | a provision to "guess" a charset &MUST; use the charset from the |
---|
| 371 | content-type field if they support that charset, rather than the |
---|
| 372 | recipient's preference, when initially displaying a document. See |
---|
| 373 | <xref target="canonicalization.and.text.defaults"/>. |
---|
| 374 | </t> |
---|
[8] | 375 | </section> |
---|
[211] | 376 | </section> |
---|
[8] | 377 | |
---|
| 378 | <section title="Content Codings" anchor="content.codings"> |
---|
[229] | 379 | <x:anchor-alias value="content-coding"/> |
---|
[8] | 380 | <t> |
---|
| 381 | Content coding values indicate an encoding transformation that has |
---|
| 382 | been or can be applied to an entity. Content codings are primarily |
---|
| 383 | used to allow a document to be compressed or otherwise usefully |
---|
| 384 | transformed without losing the identity of its underlying media type |
---|
| 385 | and without loss of information. Frequently, the entity is stored in |
---|
| 386 | coded form, transmitted directly, and only decoded by the recipient. |
---|
| 387 | </t> |
---|
| 388 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="content-coding"/> |
---|
[229] | 389 | <x:ref>content-coding</x:ref> = <x:ref>token</x:ref> |
---|
[8] | 390 | </artwork></figure> |
---|
| 391 | <t> |
---|
| 392 | All content-coding values are case-insensitive. HTTP/1.1 uses |
---|
| 393 | content-coding values in the Accept-Encoding (<xref target="header.accept-encoding"/>) and |
---|
| 394 | Content-Encoding (<xref target="header.content-encoding"/>) header fields. Although the value |
---|
| 395 | describes the content-coding, what is more important is that it |
---|
| 396 | indicates what decoding mechanism will be required to remove the |
---|
| 397 | encoding. |
---|
| 398 | </t> |
---|
| 399 | <t> |
---|
| 400 | The Internet Assigned Numbers Authority (IANA) acts as a registry for |
---|
| 401 | content-coding value tokens. Initially, the registry contains the |
---|
| 402 | following tokens: |
---|
| 403 | </t> |
---|
| 404 | <t> |
---|
| 405 | gzip<iref item="gzip"/> |
---|
| 406 | <list> |
---|
| 407 | <t> |
---|
| 408 | An encoding format produced by the file compression program |
---|
[97] | 409 | "gzip" (GNU zip) as described in <xref target="RFC1952"/>. This format is a |
---|
[8] | 410 | Lempel-Ziv coding (LZ77) with a 32 bit CRC. |
---|
| 411 | </t> |
---|
| 412 | </list> |
---|
| 413 | </t> |
---|
| 414 | <t> |
---|
| 415 | compress<iref item="compress"/> |
---|
| 416 | <list><t> |
---|
| 417 | The encoding format produced by the common UNIX file compression |
---|
| 418 | program "compress". This format is an adaptive Lempel-Ziv-Welch |
---|
| 419 | coding (LZW). |
---|
| 420 | </t><t> |
---|
| 421 | Use of program names for the identification of encoding formats |
---|
| 422 | is not desirable and is discouraged for future encodings. Their |
---|
| 423 | use here is representative of historical practice, not good |
---|
| 424 | design. For compatibility with previous implementations of HTTP, |
---|
| 425 | applications &SHOULD; consider "x-gzip" and "x-compress" to be |
---|
| 426 | equivalent to "gzip" and "compress" respectively. |
---|
| 427 | </t></list> |
---|
| 428 | </t> |
---|
| 429 | <t> |
---|
| 430 | deflate<iref item="deflate"/> |
---|
| 431 | <list><t> |
---|
[97] | 432 | The "zlib" format defined in <xref target="RFC1950"/> in combination with |
---|
| 433 | the "deflate" compression mechanism described in <xref target="RFC1951"/>. |
---|
[8] | 434 | </t></list> |
---|
| 435 | </t> |
---|
| 436 | <t> |
---|
| 437 | identity<iref item="identity"/> |
---|
| 438 | <list><t> |
---|
| 439 | The default (identity) encoding; the use of no transformation |
---|
| 440 | whatsoever. This content-coding is used only in the Accept-Encoding |
---|
| 441 | header, and &SHOULD-NOT; be used in the Content-Encoding |
---|
| 442 | header. |
---|
| 443 | </t></list> |
---|
| 444 | </t> |
---|
| 445 | <t> |
---|
| 446 | New content-coding value tokens &SHOULD; be registered; to allow |
---|
| 447 | interoperability between clients and servers, specifications of the |
---|
| 448 | content coding algorithms needed to implement a new value &SHOULD; be |
---|
| 449 | publicly available and adequate for independent implementation, and |
---|
| 450 | conform to the purpose of content coding defined in this section. |
---|
| 451 | </t> |
---|
| 452 | </section> |
---|
| 453 | |
---|
| 454 | <section title="Media Types" anchor="media.types"> |
---|
[229] | 455 | <x:anchor-alias value="media-type"/> |
---|
| 456 | <x:anchor-alias value="type"/> |
---|
| 457 | <x:anchor-alias value="subtype"/> |
---|
[8] | 458 | <t> |
---|
[152] | 459 | HTTP uses Internet Media Types <xref target="RFC2046"/> in the Content-Type (<xref target="header.content-type"/>) |
---|
[8] | 460 | and Accept (<xref target="header.accept"/>) header fields in order to provide |
---|
| 461 | open and extensible data typing and type negotiation. |
---|
| 462 | </t> |
---|
| 463 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="media-type"/><iref primary="true" item="Grammar" subitem="type"/><iref primary="true" item="Grammar" subitem="subtype"/> |
---|
[229] | 464 | <x:ref>media-type</x:ref> = <x:ref>type</x:ref> "/" <x:ref>subtype</x:ref> *( ";" <x:ref>parameter</x:ref> ) |
---|
| 465 | <x:ref>type</x:ref> = <x:ref>token</x:ref> |
---|
| 466 | <x:ref>subtype</x:ref> = <x:ref>token</x:ref> |
---|
[8] | 467 | </artwork></figure> |
---|
[229] | 468 | <t anchor="rule.parameter"> |
---|
| 469 | <x:anchor-alias value="attribute"/> |
---|
| 470 | <x:anchor-alias value="parameter"/> |
---|
| 471 | <x:anchor-alias value="value"/> |
---|
[8] | 472 | Parameters &MAY; follow the type/subtype in the form of attribute/value |
---|
[29] | 473 | pairs. |
---|
[8] | 474 | </t> |
---|
[29] | 475 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="parameter"/><iref primary="true" item="Grammar" subitem="attribute"/><iref primary="true" item="Grammar" subitem="value"/> |
---|
[250] | 476 | <x:ref>parameter</x:ref> = <x:ref>attribute</x:ref> "=" <x:ref>value</x:ref> |
---|
| 477 | <x:ref>attribute</x:ref> = <x:ref>token</x:ref> |
---|
| 478 | <x:ref>value</x:ref> = <x:ref>token</x:ref> | <x:ref>quoted-string</x:ref> |
---|
[29] | 479 | </artwork></figure> |
---|
[8] | 480 | <t> |
---|
| 481 | The type, subtype, and parameter attribute names are case-insensitive. |
---|
| 482 | Parameter values might or might not be case-sensitive, |
---|
| 483 | depending on the semantics of the parameter name. Linear white space |
---|
| 484 | (LWS) &MUST-NOT; be used between the type and subtype, nor between an |
---|
| 485 | attribute and its value. The presence or absence of a parameter might |
---|
| 486 | be significant to the processing of a media-type, depending on its |
---|
| 487 | definition within the media type registry. |
---|
| 488 | </t> |
---|
| 489 | <t> |
---|
[297] | 490 | A parameter value that matches the <x:ref>token</x:ref> production may be |
---|
| 491 | transmitted as either a token or within a quoted-string. The quoted and |
---|
| 492 | unquoted values are equivalent. |
---|
[251] | 493 | </t> |
---|
| 494 | <t> |
---|
[8] | 495 | Note that some older HTTP applications do not recognize media type |
---|
| 496 | parameters. When sending data to older HTTP applications, |
---|
| 497 | implementations &SHOULD; only use media type parameters when they are |
---|
| 498 | required by that type/subtype definition. |
---|
| 499 | </t> |
---|
| 500 | <t> |
---|
| 501 | Media-type values are registered with the Internet Assigned Number |
---|
[91] | 502 | Authority (IANA). The media type registration process is |
---|
[115] | 503 | outlined in <xref target="RFC4288"/>. Use of non-registered media types is |
---|
[8] | 504 | discouraged. |
---|
| 505 | </t> |
---|
| 506 | |
---|
| 507 | <section title="Canonicalization and Text Defaults" anchor="canonicalization.and.text.defaults"> |
---|
| 508 | <t> |
---|
| 509 | Internet media types are registered with a canonical form. An |
---|
| 510 | entity-body transferred via HTTP messages &MUST; be represented in the |
---|
| 511 | appropriate canonical form prior to its transmission except for |
---|
| 512 | "text" types, as defined in the next paragraph. |
---|
| 513 | </t> |
---|
| 514 | <t> |
---|
| 515 | When in canonical form, media subtypes of the "text" type use CRLF as |
---|
| 516 | the text line break. HTTP relaxes this requirement and allows the |
---|
| 517 | transport of text media with plain CR or LF alone representing a line |
---|
| 518 | break when it is done consistently for an entire entity-body. HTTP |
---|
| 519 | applications &MUST; accept CRLF, bare CR, and bare LF as being |
---|
| 520 | representative of a line break in text media received via HTTP. In |
---|
| 521 | addition, if the text is represented in a character set that does not |
---|
| 522 | use octets 13 and 10 for CR and LF respectively, as is the case for |
---|
| 523 | some multi-byte character sets, HTTP allows the use of whatever octet |
---|
| 524 | sequences are defined by that character set to represent the |
---|
| 525 | equivalent of CR and LF for line breaks. This flexibility regarding |
---|
| 526 | line breaks applies only to text media in the entity-body; a bare CR |
---|
| 527 | or LF &MUST-NOT; be substituted for CRLF within any of the HTTP control |
---|
| 528 | structures (such as header fields and multipart boundaries). |
---|
| 529 | </t> |
---|
| 530 | <t> |
---|
| 531 | If an entity-body is encoded with a content-coding, the underlying |
---|
| 532 | data &MUST; be in a form defined above prior to being encoded. |
---|
| 533 | </t> |
---|
| 534 | <t> |
---|
[211] | 535 | The "charset" parameter is used with some media types to define the |
---|
| 536 | character set (<xref target="character.sets"/>) of the data. When no explicit charset |
---|
| 537 | parameter is provided by the sender, media subtypes of the "text" |
---|
| 538 | type are defined to have a default charset value of "ISO-8859-1" when |
---|
| 539 | received via HTTP. Data in character sets other than "ISO-8859-1" or |
---|
| 540 | its subsets &MUST; be labeled with an appropriate charset value. See |
---|
| 541 | <xref target="missing.charset"/> for compatibility problems. |
---|
[8] | 542 | </t> |
---|
| 543 | </section> |
---|
| 544 | |
---|
| 545 | <section title="Multipart Types" anchor="multipart.types"> |
---|
| 546 | <t> |
---|
| 547 | MIME provides for a number of "multipart" types -- encapsulations of |
---|
| 548 | one or more entities within a single message-body. All multipart |
---|
[97] | 549 | types share a common syntax, as defined in <xref target="RFC2046" x:sec="5.1.1" x:fmt="of"/>, |
---|
| 550 | and &MUST; include a boundary parameter as part of the media type |
---|
[8] | 551 | value. The message body is itself a protocol element and &MUST; |
---|
| 552 | therefore use only CRLF to represent line breaks between body-parts. |
---|
| 553 | Unlike in RFC 2046, the epilogue of any multipart message &MUST; be |
---|
| 554 | empty; HTTP applications &MUST-NOT; transmit the epilogue (even if the |
---|
| 555 | original multipart contains an epilogue). These restrictions exist in |
---|
| 556 | order to preserve the self-delimiting nature of a multipart message-body, |
---|
| 557 | wherein the "end" of the message-body is indicated by the |
---|
| 558 | ending multipart boundary. |
---|
| 559 | </t> |
---|
| 560 | <t> |
---|
| 561 | In general, HTTP treats a multipart message-body no differently than |
---|
| 562 | any other media type: strictly as payload. The one exception is the |
---|
[29] | 563 | "multipart/byteranges" type (&multipart-byteranges;) when it appears in a 206 |
---|
[97] | 564 | (Partial Content) response. |
---|
| 565 | <!-- jre: re-insert removed text pointing to caching? --> |
---|
| 566 | In all |
---|
[8] | 567 | other cases, an HTTP user agent &SHOULD; follow the same or similar |
---|
| 568 | behavior as a MIME user agent would upon receipt of a multipart type. |
---|
| 569 | The MIME header fields within each body-part of a multipart message-body |
---|
| 570 | do not have any significance to HTTP beyond that defined by |
---|
| 571 | their MIME semantics. |
---|
| 572 | </t> |
---|
| 573 | <t> |
---|
| 574 | In general, an HTTP user agent &SHOULD; follow the same or similar |
---|
| 575 | behavior as a MIME user agent would upon receipt of a multipart type. |
---|
| 576 | If an application receives an unrecognized multipart subtype, the |
---|
| 577 | application &MUST; treat it as being equivalent to "multipart/mixed". |
---|
| 578 | </t> |
---|
| 579 | <t><list><t> |
---|
| 580 | <x:h>Note:</x:h> The "multipart/form-data" type has been specifically defined |
---|
| 581 | for carrying form data suitable for processing via the POST |
---|
[129] | 582 | request method, as described in <xref target="RFC2388"/>. |
---|
[8] | 583 | </t></list></t> |
---|
| 584 | </section> |
---|
| 585 | </section> |
---|
| 586 | |
---|
| 587 | <section title="Quality Values" anchor="quality.values"> |
---|
[229] | 588 | <x:anchor-alias value="qvalue"/> |
---|
[8] | 589 | <t> |
---|
| 590 | HTTP content negotiation (<xref target="content.negotiation"/>) uses short "floating point" |
---|
| 591 | numbers to indicate the relative importance ("weight") of various |
---|
| 592 | negotiable parameters. A weight is normalized to a real number in |
---|
| 593 | the range 0 through 1, where 0 is the minimum and 1 the maximum |
---|
| 594 | value. If a parameter has a quality value of 0, then content with |
---|
| 595 | this parameter is `not acceptable' for the client. HTTP/1.1 |
---|
| 596 | applications &MUST-NOT; generate more than three digits after the |
---|
| 597 | decimal point. User configuration of these values &SHOULD; also be |
---|
| 598 | limited in this fashion. |
---|
| 599 | </t> |
---|
| 600 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="qvalue"/> |
---|
[229] | 601 | <x:ref>qvalue</x:ref> = ( "0" [ "." 0*3<x:ref>DIGIT</x:ref> ] ) |
---|
[135] | 602 | | ( "1" [ "." 0*3("0") ] ) |
---|
[8] | 603 | </artwork></figure> |
---|
| 604 | <t> |
---|
| 605 | "Quality values" is a misnomer, since these values merely represent |
---|
| 606 | relative degradation in desired quality. |
---|
| 607 | </t> |
---|
| 608 | </section> |
---|
| 609 | |
---|
| 610 | <section title="Language Tags" anchor="language.tags"> |
---|
[229] | 611 | <x:anchor-alias value="language-tag"/> |
---|
| 612 | <x:anchor-alias value="primary-tag"/> |
---|
| 613 | <x:anchor-alias value="subtag"/> |
---|
[8] | 614 | <t> |
---|
| 615 | A language tag identifies a natural language spoken, written, or |
---|
| 616 | otherwise conveyed by human beings for communication of information |
---|
| 617 | to other human beings. Computer languages are explicitly excluded. |
---|
| 618 | HTTP uses language tags within the Accept-Language and Content-Language |
---|
| 619 | fields. |
---|
| 620 | </t> |
---|
| 621 | <t> |
---|
| 622 | The syntax and registry of HTTP language tags is the same as that |
---|
[97] | 623 | defined by <xref target="RFC1766"/>. In summary, a language tag is composed of 1 |
---|
[8] | 624 | or more parts: A primary language tag and a possibly empty series of |
---|
| 625 | subtags: |
---|
| 626 | </t> |
---|
| 627 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="language-tag"/><iref primary="true" item="Grammar" subitem="primary-tag"/><iref primary="true" item="Grammar" subitem="subtag"/> |
---|
[229] | 628 | <x:ref>language-tag</x:ref> = <x:ref>primary-tag</x:ref> *( "-" <x:ref>subtag</x:ref> ) |
---|
| 629 | <x:ref>primary-tag</x:ref> = 1*8<x:ref>ALPHA</x:ref> |
---|
| 630 | <x:ref>subtag</x:ref> = 1*8<x:ref>ALPHA</x:ref> |
---|
[8] | 631 | </artwork></figure> |
---|
| 632 | <t> |
---|
| 633 | White space is not allowed within the tag and all tags are case-insensitive. |
---|
| 634 | The name space of language tags is administered by the |
---|
| 635 | IANA. Example tags include: |
---|
| 636 | </t> |
---|
| 637 | <figure><artwork type="example"> |
---|
| 638 | en, en-US, en-cockney, i-cherokee, x-pig-latin |
---|
| 639 | </artwork></figure> |
---|
| 640 | <t> |
---|
| 641 | where any two-letter primary-tag is an ISO-639 language abbreviation |
---|
| 642 | and any two-letter initial subtag is an ISO-3166 country code. (The |
---|
| 643 | last three tags above are not registered tags; all but the last are |
---|
| 644 | examples of tags which could be registered in future.) |
---|
| 645 | </t> |
---|
| 646 | </section> |
---|
| 647 | </section> |
---|
| 648 | |
---|
| 649 | <section title="Entity" anchor="entity"> |
---|
| 650 | <t> |
---|
| 651 | Request and Response messages &MAY; transfer an entity if not otherwise |
---|
| 652 | restricted by the request method or response status code. An entity |
---|
| 653 | consists of entity-header fields and an entity-body, although some |
---|
| 654 | responses will only include the entity-headers. |
---|
| 655 | </t> |
---|
| 656 | <t> |
---|
| 657 | In this section, both sender and recipient refer to either the client |
---|
| 658 | or the server, depending on who sends and who receives the entity. |
---|
| 659 | </t> |
---|
| 660 | |
---|
| 661 | <section title="Entity Header Fields" anchor="entity.header.fields"> |
---|
[229] | 662 | <x:anchor-alias value="entity-header"/> |
---|
| 663 | <x:anchor-alias value="extension-header"/> |
---|
[8] | 664 | <t> |
---|
| 665 | Entity-header fields define metainformation about the entity-body or, |
---|
| 666 | if no body is present, about the resource identified by the request. |
---|
| 667 | </t> |
---|
| 668 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="entity-header"/><iref primary="true" item="Grammar" subitem="extension-header"/> |
---|
[232] | 669 | <x:ref>entity-header</x:ref> = <x:ref>Content-Encoding</x:ref> ; <xref target="header.content-encoding"/> |
---|
[229] | 670 | | <x:ref>Content-Language</x:ref> ; <xref target="header.content-language"/> |
---|
| 671 | | <x:ref>Content-Length</x:ref> ; &header-content-length; |
---|
| 672 | | <x:ref>Content-Location</x:ref> ; <xref target="header.content-location"/> |
---|
| 673 | | <x:ref>Content-MD5</x:ref> ; <xref target="header.content-md5"/> |
---|
| 674 | | <x:ref>Content-Range</x:ref> ; &header-content-range; |
---|
| 675 | | <x:ref>Content-Type</x:ref> ; <xref target="header.content-type"/> |
---|
| 676 | | <x:ref>Expires</x:ref> ; &header-expires; |
---|
| 677 | | <x:ref>Last-Modified</x:ref> ; &header-last-modified; |
---|
| 678 | | <x:ref>extension-header</x:ref> |
---|
[135] | 679 | |
---|
[229] | 680 | <x:ref>extension-header</x:ref> = <x:ref>message-header</x:ref> |
---|
[8] | 681 | </artwork></figure> |
---|
| 682 | <t> |
---|
| 683 | The extension-header mechanism allows additional entity-header fields |
---|
| 684 | to be defined without changing the protocol, but these fields cannot |
---|
| 685 | be assumed to be recognizable by the recipient. Unrecognized header |
---|
| 686 | fields &SHOULD; be ignored by the recipient and &MUST; be forwarded by |
---|
| 687 | transparent proxies. |
---|
| 688 | </t> |
---|
| 689 | </section> |
---|
| 690 | |
---|
| 691 | <section title="Entity Body" anchor="entity.body"> |
---|
[229] | 692 | <x:anchor-alias value="entity-body"/> |
---|
[8] | 693 | <t> |
---|
| 694 | The entity-body (if any) sent with an HTTP request or response is in |
---|
| 695 | a format and encoding defined by the entity-header fields. |
---|
| 696 | </t> |
---|
| 697 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="entity-body"/> |
---|
[229] | 698 | <x:ref>entity-body</x:ref> = *<x:ref>OCTET</x:ref> |
---|
[8] | 699 | </artwork></figure> |
---|
| 700 | <t> |
---|
| 701 | An entity-body is only present in a message when a message-body is |
---|
[29] | 702 | present, as described in &message-body;. The entity-body is obtained |
---|
[8] | 703 | from the message-body by decoding any Transfer-Encoding that might |
---|
| 704 | have been applied to ensure safe and proper transfer of the message. |
---|
| 705 | </t> |
---|
| 706 | |
---|
| 707 | <section title="Type" anchor="type"> |
---|
| 708 | <t> |
---|
| 709 | When an entity-body is included with a message, the data type of that |
---|
| 710 | body is determined via the header fields Content-Type and Content-Encoding. |
---|
| 711 | These define a two-layer, ordered encoding model: |
---|
| 712 | </t> |
---|
| 713 | <figure><artwork type="example"> |
---|
| 714 | entity-body := Content-Encoding( Content-Type( data ) ) |
---|
| 715 | </artwork></figure> |
---|
| 716 | <t> |
---|
| 717 | Content-Type specifies the media type of the underlying data. |
---|
| 718 | Content-Encoding may be used to indicate any additional content |
---|
| 719 | codings applied to the data, usually for the purpose of data |
---|
| 720 | compression, that are a property of the requested resource. There is |
---|
| 721 | no default encoding. |
---|
| 722 | </t> |
---|
| 723 | <t> |
---|
| 724 | Any HTTP/1.1 message containing an entity-body &SHOULD; include a |
---|
| 725 | Content-Type header field defining the media type of that body. If |
---|
| 726 | and only if the media type is not given by a Content-Type field, the |
---|
| 727 | recipient &MAY; attempt to guess the media type via inspection of its |
---|
| 728 | content and/or the name extension(s) of the URI used to identify the |
---|
| 729 | resource. If the media type remains unknown, the recipient &SHOULD; |
---|
| 730 | treat it as type "application/octet-stream". |
---|
| 731 | </t> |
---|
| 732 | </section> |
---|
| 733 | |
---|
| 734 | <section title="Entity Length" anchor="entity.length"> |
---|
| 735 | <t> |
---|
| 736 | The entity-length of a message is the length of the message-body |
---|
[29] | 737 | before any transfer-codings have been applied. &message-length; defines |
---|
[8] | 738 | how the transfer-length of a message-body is determined. |
---|
| 739 | </t> |
---|
| 740 | </section> |
---|
| 741 | </section> |
---|
| 742 | </section> |
---|
| 743 | |
---|
| 744 | <section title="Content Negotiation" anchor="content.negotiation"> |
---|
| 745 | <t> |
---|
| 746 | Most HTTP responses include an entity which contains information for |
---|
| 747 | interpretation by a human user. Naturally, it is desirable to supply |
---|
| 748 | the user with the "best available" entity corresponding to the |
---|
| 749 | request. Unfortunately for servers and caches, not all users have the |
---|
| 750 | same preferences for what is "best," and not all user agents are |
---|
| 751 | equally capable of rendering all entity types. For that reason, HTTP |
---|
| 752 | has provisions for several mechanisms for "content negotiation" -- |
---|
| 753 | the process of selecting the best representation for a given response |
---|
| 754 | when there are multiple representations available. |
---|
| 755 | <list><t> |
---|
| 756 | <x:h>Note:</x:h> This is not called "format negotiation" because the |
---|
| 757 | alternate representations may be of the same media type, but use |
---|
| 758 | different capabilities of that type, be in different languages, |
---|
| 759 | etc. |
---|
| 760 | </t></list> |
---|
| 761 | </t> |
---|
| 762 | <t> |
---|
| 763 | Any response containing an entity-body &MAY; be subject to negotiation, |
---|
| 764 | including error responses. |
---|
| 765 | </t> |
---|
| 766 | <t> |
---|
| 767 | There are two kinds of content negotiation which are possible in |
---|
| 768 | HTTP: server-driven and agent-driven negotiation. These two kinds of |
---|
| 769 | negotiation are orthogonal and thus may be used separately or in |
---|
| 770 | combination. One method of combination, referred to as transparent |
---|
| 771 | negotiation, occurs when a cache uses the agent-driven negotiation |
---|
| 772 | information provided by the origin server in order to provide |
---|
| 773 | server-driven negotiation for subsequent requests. |
---|
| 774 | </t> |
---|
| 775 | |
---|
| 776 | <section title="Server-driven Negotiation" anchor="server-driven.negotiation"> |
---|
| 777 | <t> |
---|
| 778 | If the selection of the best representation for a response is made by |
---|
| 779 | an algorithm located at the server, it is called server-driven |
---|
| 780 | negotiation. Selection is based on the available representations of |
---|
| 781 | the response (the dimensions over which it can vary; e.g. language, |
---|
| 782 | content-coding, etc.) and the contents of particular header fields in |
---|
| 783 | the request message or on other information pertaining to the request |
---|
| 784 | (such as the network address of the client). |
---|
| 785 | </t> |
---|
| 786 | <t> |
---|
| 787 | Server-driven negotiation is advantageous when the algorithm for |
---|
| 788 | selecting from among the available representations is difficult to |
---|
| 789 | describe to the user agent, or when the server desires to send its |
---|
| 790 | "best guess" to the client along with the first response (hoping to |
---|
| 791 | avoid the round-trip delay of a subsequent request if the "best |
---|
| 792 | guess" is good enough for the user). In order to improve the server's |
---|
| 793 | guess, the user agent &MAY; include request header fields (Accept, |
---|
| 794 | Accept-Language, Accept-Encoding, etc.) which describe its |
---|
| 795 | preferences for such a response. |
---|
| 796 | </t> |
---|
| 797 | <t> |
---|
| 798 | Server-driven negotiation has disadvantages: |
---|
| 799 | <list style="numbers"> |
---|
| 800 | <t> |
---|
| 801 | It is impossible for the server to accurately determine what |
---|
| 802 | might be "best" for any given user, since that would require |
---|
| 803 | complete knowledge of both the capabilities of the user agent |
---|
| 804 | and the intended use for the response (e.g., does the user want |
---|
| 805 | to view it on screen or print it on paper?). |
---|
| 806 | </t> |
---|
| 807 | <t> |
---|
| 808 | Having the user agent describe its capabilities in every |
---|
| 809 | request can be both very inefficient (given that only a small |
---|
| 810 | percentage of responses have multiple representations) and a |
---|
| 811 | potential violation of the user's privacy. |
---|
| 812 | </t> |
---|
| 813 | <t> |
---|
| 814 | It complicates the implementation of an origin server and the |
---|
| 815 | algorithms for generating responses to a request. |
---|
| 816 | </t> |
---|
| 817 | <t> |
---|
| 818 | It may limit a public cache's ability to use the same response |
---|
| 819 | for multiple user's requests. |
---|
| 820 | </t> |
---|
| 821 | </list> |
---|
| 822 | </t> |
---|
| 823 | <t> |
---|
| 824 | HTTP/1.1 includes the following request-header fields for enabling |
---|
| 825 | server-driven negotiation through description of user agent |
---|
| 826 | capabilities and user preferences: Accept (<xref target="header.accept"/>), Accept-Charset |
---|
| 827 | (<xref target="header.accept-charset"/>), Accept-Encoding (<xref target="header.accept-encoding"/>), Accept-Language |
---|
[29] | 828 | (<xref target="header.accept-language"/>), and User-Agent (&header-user-agent;). However, an |
---|
[8] | 829 | origin server is not limited to these dimensions and &MAY; vary the |
---|
| 830 | response based on any aspect of the request, including information |
---|
| 831 | outside the request-header fields or within extension header fields |
---|
| 832 | not defined by this specification. |
---|
| 833 | </t> |
---|
| 834 | <t> |
---|
[115] | 835 | The Vary header field (&header-vary;) can be used to express the parameters the |
---|
[8] | 836 | server uses to select a representation that is subject to server-driven |
---|
[29] | 837 | negotiation. |
---|
[8] | 838 | </t> |
---|
| 839 | </section> |
---|
| 840 | |
---|
| 841 | <section title="Agent-driven Negotiation" anchor="agent-driven.negotiation"> |
---|
| 842 | <t> |
---|
| 843 | With agent-driven negotiation, selection of the best representation |
---|
| 844 | for a response is performed by the user agent after receiving an |
---|
| 845 | initial response from the origin server. Selection is based on a list |
---|
| 846 | of the available representations of the response included within the |
---|
| 847 | header fields or entity-body of the initial response, with each |
---|
| 848 | representation identified by its own URI. Selection from among the |
---|
| 849 | representations may be performed automatically (if the user agent is |
---|
| 850 | capable of doing so) or manually by the user selecting from a |
---|
| 851 | generated (possibly hypertext) menu. |
---|
| 852 | </t> |
---|
| 853 | <t> |
---|
| 854 | Agent-driven negotiation is advantageous when the response would vary |
---|
| 855 | over commonly-used dimensions (such as type, language, or encoding), |
---|
| 856 | when the origin server is unable to determine a user agent's |
---|
| 857 | capabilities from examining the request, and generally when public |
---|
| 858 | caches are used to distribute server load and reduce network usage. |
---|
| 859 | </t> |
---|
| 860 | <t> |
---|
| 861 | Agent-driven negotiation suffers from the disadvantage of needing a |
---|
| 862 | second request to obtain the best alternate representation. This |
---|
| 863 | second request is only efficient when caching is used. In addition, |
---|
| 864 | this specification does not define any mechanism for supporting |
---|
| 865 | automatic selection, though it also does not prevent any such |
---|
| 866 | mechanism from being developed as an extension and used within |
---|
| 867 | HTTP/1.1. |
---|
| 868 | </t> |
---|
| 869 | <t> |
---|
| 870 | HTTP/1.1 defines the 300 (Multiple Choices) and 406 (Not Acceptable) |
---|
| 871 | status codes for enabling agent-driven negotiation when the server is |
---|
| 872 | unwilling or unable to provide a varying response using server-driven |
---|
| 873 | negotiation. |
---|
| 874 | </t> |
---|
| 875 | </section> |
---|
| 876 | |
---|
| 877 | <section title="Transparent Negotiation" anchor="transparent.negotiation"> |
---|
| 878 | <t> |
---|
| 879 | Transparent negotiation is a combination of both server-driven and |
---|
| 880 | agent-driven negotiation. When a cache is supplied with a form of the |
---|
| 881 | list of available representations of the response (as in agent-driven |
---|
| 882 | negotiation) and the dimensions of variance are completely understood |
---|
| 883 | by the cache, then the cache becomes capable of performing server-driven |
---|
| 884 | negotiation on behalf of the origin server for subsequent |
---|
| 885 | requests on that resource. |
---|
| 886 | </t> |
---|
| 887 | <t> |
---|
| 888 | Transparent negotiation has the advantage of distributing the |
---|
| 889 | negotiation work that would otherwise be required of the origin |
---|
| 890 | server and also removing the second request delay of agent-driven |
---|
| 891 | negotiation when the cache is able to correctly guess the right |
---|
| 892 | response. |
---|
| 893 | </t> |
---|
| 894 | <t> |
---|
| 895 | This specification does not define any mechanism for transparent |
---|
| 896 | negotiation, though it also does not prevent any such mechanism from |
---|
| 897 | being developed as an extension that could be used within HTTP/1.1. |
---|
| 898 | </t> |
---|
| 899 | </section> |
---|
| 900 | </section> |
---|
[117] | 901 | |
---|
[8] | 902 | <section title="Header Field Definitions" anchor="header.fields"> |
---|
| 903 | <t> |
---|
[117] | 904 | This section defines the syntax and semantics of HTTP/1.1 header fields |
---|
| 905 | related to the payload of messages. |
---|
[8] | 906 | </t> |
---|
[117] | 907 | <t> |
---|
| 908 | For entity-header fields, both sender and recipient refer to either the |
---|
| 909 | client or the server, depending on who sends and who receives the entity. |
---|
| 910 | </t> |
---|
| 911 | |
---|
[8] | 912 | <section title="Accept" anchor="header.accept"> |
---|
| 913 | <iref primary="true" item="Accept header" x:for-anchor=""/> |
---|
| 914 | <iref primary="true" item="Headers" subitem="Accept" x:for-anchor=""/> |
---|
[229] | 915 | <x:anchor-alias value="Accept"/> |
---|
| 916 | <x:anchor-alias value="accept-extension"/> |
---|
| 917 | <x:anchor-alias value="accept-params"/> |
---|
| 918 | <x:anchor-alias value="media-range"/> |
---|
[8] | 919 | <t> |
---|
| 920 | The Accept request-header field can be used to specify certain media |
---|
| 921 | types which are acceptable for the response. Accept headers can be |
---|
| 922 | used to indicate that the request is specifically limited to a small |
---|
| 923 | set of desired types, as in the case of a request for an in-line |
---|
| 924 | image. |
---|
| 925 | </t> |
---|
| 926 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept"/><iref primary="true" item="Grammar" subitem="media-range"/><iref primary="true" item="Grammar" subitem="accept-params"/><iref primary="true" item="Grammar" subitem="accept-extension"/> |
---|
[229] | 927 | <x:ref>Accept</x:ref> = "Accept" ":" |
---|
| 928 | #( <x:ref>media-range</x:ref> [ <x:ref>accept-params</x:ref> ] ) |
---|
[135] | 929 | |
---|
[229] | 930 | <x:ref>media-range</x:ref> = ( "*/*" |
---|
| 931 | | ( <x:ref>type</x:ref> "/" "*" ) |
---|
| 932 | | ( <x:ref>type</x:ref> "/" <x:ref>subtype</x:ref> ) |
---|
| 933 | ) *( ";" <x:ref>parameter</x:ref> ) |
---|
| 934 | <x:ref>accept-params</x:ref> = ";" "q" "=" <x:ref>qvalue</x:ref> *( <x:ref>accept-extension</x:ref> ) |
---|
| 935 | <x:ref>accept-extension</x:ref> = ";" <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> | <x:ref>quoted-string</x:ref> ) ] |
---|
[8] | 936 | </artwork></figure> |
---|
| 937 | <t> |
---|
| 938 | The asterisk "*" character is used to group media types into ranges, |
---|
| 939 | with "*/*" indicating all media types and "type/*" indicating all |
---|
| 940 | subtypes of that type. The media-range &MAY; include media type |
---|
| 941 | parameters that are applicable to that range. |
---|
| 942 | </t> |
---|
| 943 | <t> |
---|
| 944 | Each media-range &MAY; be followed by one or more accept-params, |
---|
| 945 | beginning with the "q" parameter for indicating a relative quality |
---|
| 946 | factor. The first "q" parameter (if any) separates the media-range |
---|
| 947 | parameter(s) from the accept-params. Quality factors allow the user |
---|
| 948 | or user agent to indicate the relative degree of preference for that |
---|
| 949 | media-range, using the qvalue scale from 0 to 1 (<xref target="quality.values"/>). The |
---|
| 950 | default value is q=1. |
---|
| 951 | <list><t> |
---|
| 952 | <x:h>Note:</x:h> Use of the "q" parameter name to separate media type |
---|
| 953 | parameters from Accept extension parameters is due to historical |
---|
| 954 | practice. Although this prevents any media type parameter named |
---|
| 955 | "q" from being used with a media range, such an event is believed |
---|
| 956 | to be unlikely given the lack of any "q" parameters in the IANA |
---|
| 957 | media type registry and the rare usage of any media type |
---|
| 958 | parameters in Accept. Future media types are discouraged from |
---|
| 959 | registering any parameter named "q". |
---|
| 960 | </t></list> |
---|
| 961 | </t> |
---|
| 962 | <t> |
---|
| 963 | The example |
---|
| 964 | </t> |
---|
| 965 | <figure><artwork type="example"> |
---|
| 966 | Accept: audio/*; q=0.2, audio/basic |
---|
| 967 | </artwork></figure> |
---|
| 968 | <t> |
---|
| 969 | &SHOULD; be interpreted as "I prefer audio/basic, but send me any audio |
---|
| 970 | type if it is the best available after an 80% mark-down in quality." |
---|
| 971 | </t> |
---|
| 972 | <t> |
---|
| 973 | If no Accept header field is present, then it is assumed that the |
---|
| 974 | client accepts all media types. If an Accept header field is present, |
---|
| 975 | and if the server cannot send a response which is acceptable |
---|
| 976 | according to the combined Accept field value, then the server &SHOULD; |
---|
[137] | 977 | send a 406 (Not Acceptable) response. |
---|
[8] | 978 | </t> |
---|
| 979 | <t> |
---|
| 980 | A more elaborate example is |
---|
| 981 | </t> |
---|
| 982 | <figure><artwork type="example"> |
---|
| 983 | Accept: text/plain; q=0.5, text/html, |
---|
| 984 | text/x-dvi; q=0.8, text/x-c |
---|
| 985 | </artwork></figure> |
---|
| 986 | <t> |
---|
| 987 | Verbally, this would be interpreted as "text/html and text/x-c are |
---|
| 988 | the preferred media types, but if they do not exist, then send the |
---|
| 989 | text/x-dvi entity, and if that does not exist, send the text/plain |
---|
| 990 | entity." |
---|
| 991 | </t> |
---|
| 992 | <t> |
---|
| 993 | Media ranges can be overridden by more specific media ranges or |
---|
| 994 | specific media types. If more than one media range applies to a given |
---|
| 995 | type, the most specific reference has precedence. For example, |
---|
| 996 | </t> |
---|
| 997 | <figure><artwork type="example"> |
---|
| 998 | Accept: text/*, text/html, text/html;level=1, */* |
---|
| 999 | </artwork></figure> |
---|
| 1000 | <t> |
---|
| 1001 | have the following precedence: |
---|
| 1002 | </t> |
---|
| 1003 | <figure><artwork type="example"> |
---|
| 1004 | 1) text/html;level=1 |
---|
| 1005 | 2) text/html |
---|
| 1006 | 3) text/* |
---|
| 1007 | 4) */* |
---|
| 1008 | </artwork></figure> |
---|
| 1009 | <t> |
---|
| 1010 | The media type quality factor associated with a given type is |
---|
| 1011 | determined by finding the media range with the highest precedence |
---|
| 1012 | which matches that type. For example, |
---|
| 1013 | </t> |
---|
| 1014 | <figure><artwork type="example"> |
---|
| 1015 | Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1, |
---|
| 1016 | text/html;level=2;q=0.4, */*;q=0.5 |
---|
| 1017 | </artwork></figure> |
---|
| 1018 | <t> |
---|
| 1019 | would cause the following values to be associated: |
---|
| 1020 | </t> |
---|
| 1021 | <figure><artwork type="example"> |
---|
| 1022 | text/html;level=1 = 1 |
---|
| 1023 | text/html = 0.7 |
---|
| 1024 | text/plain = 0.3 |
---|
| 1025 | image/jpeg = 0.5 |
---|
| 1026 | text/html;level=2 = 0.4 |
---|
| 1027 | text/html;level=3 = 0.7 |
---|
| 1028 | </artwork></figure> |
---|
| 1029 | <t> |
---|
| 1030 | <x:h>Note:</x:h> A user agent might be provided with a default set of quality |
---|
| 1031 | values for certain media ranges. However, unless the user agent is |
---|
| 1032 | a closed system which cannot interact with other rendering agents, |
---|
| 1033 | this default set ought to be configurable by the user. |
---|
| 1034 | </t> |
---|
| 1035 | </section> |
---|
| 1036 | |
---|
| 1037 | <section title="Accept-Charset" anchor="header.accept-charset"> |
---|
| 1038 | <iref primary="true" item="Accept-Charset header" x:for-anchor=""/> |
---|
| 1039 | <iref primary="true" item="Headers" subitem="Accept-Charset" x:for-anchor=""/> |
---|
[229] | 1040 | <x:anchor-alias value="Accept-Charset"/> |
---|
[8] | 1041 | <t> |
---|
| 1042 | The Accept-Charset request-header field can be used to indicate what |
---|
| 1043 | character sets are acceptable for the response. This field allows |
---|
| 1044 | clients capable of understanding more comprehensive or special-purpose |
---|
| 1045 | character sets to signal that capability to a server which is |
---|
| 1046 | capable of representing documents in those character sets. |
---|
| 1047 | </t> |
---|
| 1048 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Charset"/> |
---|
[229] | 1049 | <x:ref>Accept-Charset</x:ref> = "Accept-Charset" ":" |
---|
| 1050 | 1#( ( <x:ref>charset</x:ref> | "*" ) [ ";" "q" "=" <x:ref>qvalue</x:ref> ] ) |
---|
[8] | 1051 | </artwork></figure> |
---|
| 1052 | <t> |
---|
| 1053 | Character set values are described in <xref target="character.sets"/>. Each charset &MAY; |
---|
| 1054 | be given an associated quality value which represents the user's |
---|
| 1055 | preference for that charset. The default value is q=1. An example is |
---|
| 1056 | </t> |
---|
| 1057 | <figure><artwork type="example"> |
---|
| 1058 | Accept-Charset: iso-8859-5, unicode-1-1;q=0.8 |
---|
| 1059 | </artwork></figure> |
---|
| 1060 | <t> |
---|
| 1061 | The special value "*", if present in the Accept-Charset field, |
---|
| 1062 | matches every character set (including ISO-8859-1) which is not |
---|
| 1063 | mentioned elsewhere in the Accept-Charset field. If no "*" is present |
---|
| 1064 | in an Accept-Charset field, then all character sets not explicitly |
---|
| 1065 | mentioned get a quality value of 0, except for ISO-8859-1, which gets |
---|
| 1066 | a quality value of 1 if not explicitly mentioned. |
---|
| 1067 | </t> |
---|
| 1068 | <t> |
---|
| 1069 | If no Accept-Charset header is present, the default is that any |
---|
| 1070 | character set is acceptable. If an Accept-Charset header is present, |
---|
| 1071 | and if the server cannot send a response which is acceptable |
---|
| 1072 | according to the Accept-Charset header, then the server &SHOULD; send |
---|
[137] | 1073 | an error response with the 406 (Not Acceptable) status code, though |
---|
[8] | 1074 | the sending of an unacceptable response is also allowed. |
---|
| 1075 | </t> |
---|
| 1076 | </section> |
---|
| 1077 | |
---|
| 1078 | <section title="Accept-Encoding" anchor="header.accept-encoding"> |
---|
| 1079 | <iref primary="true" item="Accept-Encoding header" x:for-anchor=""/> |
---|
| 1080 | <iref primary="true" item="Headers" subitem="Accept-Encoding" x:for-anchor=""/> |
---|
[229] | 1081 | <x:anchor-alias value="Accept-Encoding"/> |
---|
| 1082 | <x:anchor-alias value="codings"/> |
---|
[8] | 1083 | <t> |
---|
| 1084 | The Accept-Encoding request-header field is similar to Accept, but |
---|
| 1085 | restricts the content-codings (<xref target="content.codings"/>) that are acceptable in |
---|
| 1086 | the response. |
---|
| 1087 | </t> |
---|
| 1088 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Encoding"/><iref primary="true" item="Grammar" subitem="codings"/> |
---|
[229] | 1089 | <x:ref>Accept-Encoding</x:ref> = "Accept-Encoding" ":" |
---|
| 1090 | #( <x:ref>codings</x:ref> [ ";" "q" "=" <x:ref>qvalue</x:ref> ] ) |
---|
| 1091 | <x:ref>codings</x:ref> = ( <x:ref>content-coding</x:ref> | "*" ) |
---|
[8] | 1092 | </artwork></figure> |
---|
| 1093 | <t> |
---|
[248] | 1094 | Each codings value &MAY; be given an associated quality value which |
---|
| 1095 | represents the preference for that encoding. The default value is q=1. |
---|
| 1096 | </t> |
---|
| 1097 | <t> |
---|
[8] | 1098 | Examples of its use are: |
---|
| 1099 | </t> |
---|
| 1100 | <figure><artwork type="example"> |
---|
| 1101 | Accept-Encoding: compress, gzip |
---|
| 1102 | Accept-Encoding: |
---|
| 1103 | Accept-Encoding: * |
---|
| 1104 | Accept-Encoding: compress;q=0.5, gzip;q=1.0 |
---|
| 1105 | Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0 |
---|
| 1106 | </artwork></figure> |
---|
| 1107 | <t> |
---|
| 1108 | A server tests whether a content-coding is acceptable, according to |
---|
| 1109 | an Accept-Encoding field, using these rules: |
---|
| 1110 | <list style="numbers"> |
---|
| 1111 | <t>If the content-coding is one of the content-codings listed in |
---|
| 1112 | the Accept-Encoding field, then it is acceptable, unless it is |
---|
| 1113 | accompanied by a qvalue of 0. (As defined in <xref target="quality.values"/>, a |
---|
| 1114 | qvalue of 0 means "not acceptable.")</t> |
---|
| 1115 | |
---|
| 1116 | <t>The special "*" symbol in an Accept-Encoding field matches any |
---|
| 1117 | available content-coding not explicitly listed in the header |
---|
| 1118 | field.</t> |
---|
| 1119 | |
---|
| 1120 | <t>If multiple content-codings are acceptable, then the acceptable |
---|
| 1121 | content-coding with the highest non-zero qvalue is preferred.</t> |
---|
| 1122 | |
---|
| 1123 | <t>The "identity" content-coding is always acceptable, unless |
---|
| 1124 | specifically refused because the Accept-Encoding field includes |
---|
| 1125 | "identity;q=0", or because the field includes "*;q=0" and does |
---|
| 1126 | not explicitly include the "identity" content-coding. If the |
---|
| 1127 | Accept-Encoding field-value is empty, then only the "identity" |
---|
| 1128 | encoding is acceptable.</t> |
---|
| 1129 | </list> |
---|
| 1130 | </t> |
---|
| 1131 | <t> |
---|
| 1132 | If an Accept-Encoding field is present in a request, and if the |
---|
| 1133 | server cannot send a response which is acceptable according to the |
---|
| 1134 | Accept-Encoding header, then the server &SHOULD; send an error response |
---|
| 1135 | with the 406 (Not Acceptable) status code. |
---|
| 1136 | </t> |
---|
| 1137 | <t> |
---|
| 1138 | If no Accept-Encoding field is present in a request, the server &MAY; |
---|
| 1139 | assume that the client will accept any content coding. In this case, |
---|
| 1140 | if "identity" is one of the available content-codings, then the |
---|
| 1141 | server &SHOULD; use the "identity" content-coding, unless it has |
---|
| 1142 | additional information that a different content-coding is meaningful |
---|
| 1143 | to the client. |
---|
| 1144 | <list><t> |
---|
| 1145 | <x:h>Note:</x:h> If the request does not include an Accept-Encoding field, |
---|
| 1146 | and if the "identity" content-coding is unavailable, then |
---|
| 1147 | content-codings commonly understood by HTTP/1.0 clients (i.e., |
---|
| 1148 | "gzip" and "compress") are preferred; some older clients |
---|
| 1149 | improperly display messages sent with other content-codings. The |
---|
| 1150 | server might also make this decision based on information about |
---|
| 1151 | the particular user-agent or client. |
---|
| 1152 | </t><t> |
---|
| 1153 | <x:h>Note:</x:h> Most HTTP/1.0 applications do not recognize or obey qvalues |
---|
| 1154 | associated with content-codings. This means that qvalues will not |
---|
| 1155 | work and are not permitted with x-gzip or x-compress. |
---|
| 1156 | </t></list> |
---|
| 1157 | </t> |
---|
| 1158 | </section> |
---|
| 1159 | |
---|
| 1160 | <section title="Accept-Language" anchor="header.accept-language"> |
---|
| 1161 | <iref primary="true" item="Accept-Language header" x:for-anchor=""/> |
---|
| 1162 | <iref primary="true" item="Headers" subitem="Accept-Language" x:for-anchor=""/> |
---|
[229] | 1163 | <x:anchor-alias value="Accept-Language"/> |
---|
| 1164 | <x:anchor-alias value="language-range"/> |
---|
[8] | 1165 | <t> |
---|
| 1166 | The Accept-Language request-header field is similar to Accept, but |
---|
| 1167 | restricts the set of natural languages that are preferred as a |
---|
| 1168 | response to the request. Language tags are defined in <xref target="language.tags"/>. |
---|
| 1169 | </t> |
---|
| 1170 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Language"/><iref primary="true" item="Grammar" subitem="language-range"/> |
---|
[229] | 1171 | <x:ref>Accept-Language</x:ref> = "Accept-Language" ":" |
---|
| 1172 | 1#( <x:ref>language-range</x:ref> [ ";" "q" "=" <x:ref>qvalue</x:ref> ] ) |
---|
[303] | 1173 | <x:ref>language-range</x:ref> = |
---|
| 1174 | <language-range, defined in <xref target="RFC4647" x:fmt="," x:sec="2.1"/>> |
---|
[8] | 1175 | </artwork></figure> |
---|
| 1176 | <t> |
---|
[303] | 1177 | Each language-range can be given an associated quality value which |
---|
[8] | 1178 | represents an estimate of the user's preference for the languages |
---|
| 1179 | specified by that range. The quality value defaults to "q=1". For |
---|
| 1180 | example, |
---|
| 1181 | </t> |
---|
| 1182 | <figure><artwork type="example"> |
---|
| 1183 | Accept-Language: da, en-gb;q=0.8, en;q=0.7 |
---|
| 1184 | </artwork></figure> |
---|
| 1185 | <t> |
---|
| 1186 | would mean: "I prefer Danish, but will accept British English and |
---|
[303] | 1187 | other types of English." |
---|
| 1188 | </t> |
---|
| 1189 | <t> |
---|
| 1190 | For matching, the "Basic Filtering" matching scheme, defined in |
---|
| 1191 | <xref target="RFC4647" x:sec="3.3.1" x:fmt="of"/>, is used: |
---|
| 1192 | </t> |
---|
| 1193 | <x:blockquote cite="http://tools.ietf.org/html/rfc4647#section-3.3.1"> |
---|
| 1194 | <t> |
---|
| 1195 | A language range matches a |
---|
| 1196 | particular language tag if, in a case-insensitive comparison, it |
---|
| 1197 | exactly equals the tag, or if it exactly equals a prefix of the tag |
---|
| 1198 | such that the first character following the prefix is "-". |
---|
| 1199 | </t> |
---|
| 1200 | </x:blockquote> |
---|
| 1201 | <t> |
---|
[8] | 1202 | The special range "*", if present in the Accept-Language field, |
---|
| 1203 | matches every tag not matched by any other range present in the |
---|
| 1204 | Accept-Language field. |
---|
| 1205 | <list><t> |
---|
| 1206 | <x:h>Note:</x:h> This use of a prefix matching rule does not imply that |
---|
| 1207 | language tags are assigned to languages in such a way that it is |
---|
| 1208 | always true that if a user understands a language with a certain |
---|
| 1209 | tag, then this user will also understand all languages with tags |
---|
| 1210 | for which this tag is a prefix. The prefix rule simply allows the |
---|
| 1211 | use of prefix tags if this is the case. |
---|
| 1212 | </t></list> |
---|
| 1213 | </t> |
---|
| 1214 | <t> |
---|
| 1215 | The language quality factor assigned to a language-tag by the |
---|
| 1216 | Accept-Language field is the quality value of the longest language-range |
---|
| 1217 | in the field that matches the language-tag. If no language-range |
---|
| 1218 | in the field matches the tag, the language quality factor |
---|
| 1219 | assigned is 0. If no Accept-Language header is present in the |
---|
| 1220 | request, the server |
---|
| 1221 | &SHOULD; assume that all languages are equally acceptable. If an |
---|
| 1222 | Accept-Language header is present, then all languages which are |
---|
| 1223 | assigned a quality factor greater than 0 are acceptable. |
---|
| 1224 | </t> |
---|
| 1225 | <t> |
---|
| 1226 | It might be contrary to the privacy expectations of the user to send |
---|
| 1227 | an Accept-Language header with the complete linguistic preferences of |
---|
| 1228 | the user in every request. For a discussion of this issue, see |
---|
| 1229 | <xref target="privacy.issues.connected.to.accept.headers"/>. |
---|
| 1230 | </t> |
---|
| 1231 | <t> |
---|
| 1232 | As intelligibility is highly dependent on the individual user, it is |
---|
| 1233 | recommended that client applications make the choice of linguistic |
---|
| 1234 | preference available to the user. If the choice is not made |
---|
| 1235 | available, then the Accept-Language header field &MUST-NOT; be given in |
---|
| 1236 | the request. |
---|
| 1237 | <list><t> |
---|
| 1238 | <x:h>Note:</x:h> When making the choice of linguistic preference available to |
---|
| 1239 | the user, we remind implementors of the fact that users are not |
---|
| 1240 | familiar with the details of language matching as described above, |
---|
| 1241 | and should provide appropriate guidance. As an example, users |
---|
| 1242 | might assume that on selecting "en-gb", they will be served any |
---|
| 1243 | kind of English document if British English is not available. A |
---|
| 1244 | user agent might suggest in such a case to add "en" to get the |
---|
| 1245 | best matching behavior. |
---|
| 1246 | </t></list> |
---|
| 1247 | </t> |
---|
| 1248 | </section> |
---|
| 1249 | |
---|
| 1250 | <section title="Content-Encoding" anchor="header.content-encoding"> |
---|
| 1251 | <iref primary="true" item="Content-Encoding header" x:for-anchor=""/> |
---|
| 1252 | <iref primary="true" item="Headers" subitem="Content-Encoding" x:for-anchor=""/> |
---|
[229] | 1253 | <x:anchor-alias value="Content-Encoding"/> |
---|
[8] | 1254 | <t> |
---|
| 1255 | The Content-Encoding entity-header field is used as a modifier to the |
---|
| 1256 | media-type. When present, its value indicates what additional content |
---|
| 1257 | codings have been applied to the entity-body, and thus what decoding |
---|
| 1258 | mechanisms must be applied in order to obtain the media-type |
---|
| 1259 | referenced by the Content-Type header field. Content-Encoding is |
---|
| 1260 | primarily used to allow a document to be compressed without losing |
---|
| 1261 | the identity of its underlying media type. |
---|
| 1262 | </t> |
---|
| 1263 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Encoding"/> |
---|
[229] | 1264 | <x:ref>Content-Encoding</x:ref> = "Content-Encoding" ":" 1#<x:ref>content-coding</x:ref> |
---|
[8] | 1265 | </artwork></figure> |
---|
| 1266 | <t> |
---|
| 1267 | Content codings are defined in <xref target="content.codings"/>. An example of its use is |
---|
| 1268 | </t> |
---|
| 1269 | <figure><artwork type="example"> |
---|
| 1270 | Content-Encoding: gzip |
---|
| 1271 | </artwork></figure> |
---|
| 1272 | <t> |
---|
| 1273 | The content-coding is a characteristic of the entity identified by |
---|
| 1274 | the Request-URI. Typically, the entity-body is stored with this |
---|
| 1275 | encoding and is only decoded before rendering or analogous usage. |
---|
| 1276 | However, a non-transparent proxy &MAY; modify the content-coding if the |
---|
| 1277 | new coding is known to be acceptable to the recipient, unless the |
---|
| 1278 | "no-transform" cache-control directive is present in the message. |
---|
| 1279 | </t> |
---|
| 1280 | <t> |
---|
| 1281 | If the content-coding of an entity is not "identity", then the |
---|
| 1282 | response &MUST; include a Content-Encoding entity-header (<xref target="header.content-encoding"/>) |
---|
| 1283 | that lists the non-identity content-coding(s) used. |
---|
| 1284 | </t> |
---|
| 1285 | <t> |
---|
| 1286 | If the content-coding of an entity in a request message is not |
---|
| 1287 | acceptable to the origin server, the server &SHOULD; respond with a |
---|
| 1288 | status code of 415 (Unsupported Media Type). |
---|
| 1289 | </t> |
---|
| 1290 | <t> |
---|
| 1291 | If multiple encodings have been applied to an entity, the content |
---|
| 1292 | codings &MUST; be listed in the order in which they were applied. |
---|
| 1293 | Additional information about the encoding parameters &MAY; be provided |
---|
| 1294 | by other entity-header fields not defined by this specification. |
---|
| 1295 | </t> |
---|
| 1296 | </section> |
---|
| 1297 | |
---|
| 1298 | <section title="Content-Language" anchor="header.content-language"> |
---|
| 1299 | <iref primary="true" item="Content-Language header" x:for-anchor=""/> |
---|
| 1300 | <iref primary="true" item="Headers" subitem="Content-Language" x:for-anchor=""/> |
---|
[229] | 1301 | <x:anchor-alias value="Content-Language"/> |
---|
[8] | 1302 | <t> |
---|
| 1303 | The Content-Language entity-header field describes the natural |
---|
| 1304 | language(s) of the intended audience for the enclosed entity. Note |
---|
| 1305 | that this might not be equivalent to all the languages used within |
---|
| 1306 | the entity-body. |
---|
| 1307 | </t> |
---|
| 1308 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Language"/> |
---|
[229] | 1309 | <x:ref>Content-Language</x:ref> = "Content-Language" ":" 1#<x:ref>language-tag</x:ref> |
---|
[8] | 1310 | </artwork></figure> |
---|
| 1311 | <t> |
---|
| 1312 | Language tags are defined in <xref target="language.tags"/>. The primary purpose of |
---|
| 1313 | Content-Language is to allow a user to identify and differentiate |
---|
| 1314 | entities according to the user's own preferred language. Thus, if the |
---|
| 1315 | body content is intended only for a Danish-literate audience, the |
---|
| 1316 | appropriate field is |
---|
| 1317 | </t> |
---|
| 1318 | <figure><artwork type="example"> |
---|
| 1319 | Content-Language: da |
---|
| 1320 | </artwork></figure> |
---|
| 1321 | <t> |
---|
| 1322 | If no Content-Language is specified, the default is that the content |
---|
| 1323 | is intended for all language audiences. This might mean that the |
---|
| 1324 | sender does not consider it to be specific to any natural language, |
---|
| 1325 | or that the sender does not know for which language it is intended. |
---|
| 1326 | </t> |
---|
| 1327 | <t> |
---|
| 1328 | Multiple languages &MAY; be listed for content that is intended for |
---|
| 1329 | multiple audiences. For example, a rendition of the "Treaty of |
---|
| 1330 | Waitangi," presented simultaneously in the original Maori and English |
---|
| 1331 | versions, would call for |
---|
| 1332 | </t> |
---|
| 1333 | <figure><artwork type="example"> |
---|
| 1334 | Content-Language: mi, en |
---|
| 1335 | </artwork></figure> |
---|
| 1336 | <t> |
---|
| 1337 | However, just because multiple languages are present within an entity |
---|
| 1338 | does not mean that it is intended for multiple linguistic audiences. |
---|
| 1339 | An example would be a beginner's language primer, such as "A First |
---|
| 1340 | Lesson in Latin," which is clearly intended to be used by an |
---|
| 1341 | English-literate audience. In this case, the Content-Language would |
---|
| 1342 | properly only include "en". |
---|
| 1343 | </t> |
---|
| 1344 | <t> |
---|
| 1345 | Content-Language &MAY; be applied to any media type -- it is not |
---|
| 1346 | limited to textual documents. |
---|
| 1347 | </t> |
---|
| 1348 | </section> |
---|
| 1349 | |
---|
| 1350 | <section title="Content-Location" anchor="header.content-location"> |
---|
| 1351 | <iref primary="true" item="Content-Location header" x:for-anchor=""/> |
---|
| 1352 | <iref primary="true" item="Headers" subitem="Content-Location" x:for-anchor=""/> |
---|
[229] | 1353 | <x:anchor-alias value="Content-Location"/> |
---|
[8] | 1354 | <t> |
---|
| 1355 | The Content-Location entity-header field &MAY; be used to supply the |
---|
| 1356 | resource location for the entity enclosed in the message when that |
---|
| 1357 | entity is accessible from a location separate from the requested |
---|
| 1358 | resource's URI. A server &SHOULD; provide a Content-Location for the |
---|
| 1359 | variant corresponding to the response entity; especially in the case |
---|
| 1360 | where a resource has multiple entities associated with it, and those |
---|
| 1361 | entities actually have separate locations by which they might be |
---|
| 1362 | individually accessed, the server &SHOULD; provide a Content-Location |
---|
| 1363 | for the particular variant which is returned. |
---|
| 1364 | </t> |
---|
| 1365 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Location"/> |
---|
[229] | 1366 | <x:ref>Content-Location</x:ref> = "Content-Location" ":" |
---|
| 1367 | ( <x:ref>absoluteURI</x:ref> | <x:ref>relativeURI</x:ref> ) |
---|
[8] | 1368 | </artwork></figure> |
---|
| 1369 | <t> |
---|
| 1370 | The value of Content-Location also defines the base URI for the |
---|
| 1371 | entity. |
---|
| 1372 | </t> |
---|
| 1373 | <t> |
---|
| 1374 | The Content-Location value is not a replacement for the original |
---|
| 1375 | requested URI; it is only a statement of the location of the resource |
---|
| 1376 | corresponding to this particular entity at the time of the request. |
---|
| 1377 | Future requests &MAY; specify the Content-Location URI as the request-URI |
---|
| 1378 | if the desire is to identify the source of that particular |
---|
| 1379 | entity. |
---|
| 1380 | </t> |
---|
| 1381 | <t> |
---|
| 1382 | A cache cannot assume that an entity with a Content-Location |
---|
| 1383 | different from the URI used to retrieve it can be used to respond to |
---|
| 1384 | later requests on that Content-Location URI. However, the Content-Location |
---|
| 1385 | can be used to differentiate between multiple entities |
---|
[115] | 1386 | retrieved from a single requested resource, as described in &caching-neg-resp;. |
---|
[8] | 1387 | </t> |
---|
| 1388 | <t> |
---|
| 1389 | If the Content-Location is a relative URI, the relative URI is |
---|
| 1390 | interpreted relative to the Request-URI. |
---|
| 1391 | </t> |
---|
| 1392 | <t> |
---|
| 1393 | The meaning of the Content-Location header in PUT or POST requests is |
---|
| 1394 | undefined; servers are free to ignore it in those cases. |
---|
| 1395 | </t> |
---|
| 1396 | </section> |
---|
| 1397 | |
---|
| 1398 | <section title="Content-MD5" anchor="header.content-md5"> |
---|
| 1399 | <iref primary="true" item="Content-MD5 header" x:for-anchor=""/> |
---|
| 1400 | <iref primary="true" item="Headers" subitem="Content-MD5" x:for-anchor=""/> |
---|
[229] | 1401 | <x:anchor-alias value="Content-MD5"/> |
---|
| 1402 | <x:anchor-alias value="md5-digest"/> |
---|
[8] | 1403 | <t> |
---|
[97] | 1404 | The Content-MD5 entity-header field, as defined in <xref target="RFC1864"/>, is |
---|
[8] | 1405 | an MD5 digest of the entity-body for the purpose of providing an |
---|
| 1406 | end-to-end message integrity check (MIC) of the entity-body. (Note: a |
---|
| 1407 | MIC is good for detecting accidental modification of the entity-body |
---|
| 1408 | in transit, but is not proof against malicious attacks.) |
---|
| 1409 | </t> |
---|
| 1410 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-MD5"/><iref primary="true" item="Grammar" subitem="md5-digest"/> |
---|
[229] | 1411 | <x:ref>Content-MD5</x:ref> = "Content-MD5" ":" <x:ref>md5-digest</x:ref> |
---|
| 1412 | <x:ref>md5-digest</x:ref> = <base64 of 128 bit MD5 digest as per <xref target="RFC1864"/>> |
---|
[8] | 1413 | </artwork></figure> |
---|
| 1414 | <t> |
---|
| 1415 | The Content-MD5 header field &MAY; be generated by an origin server or |
---|
| 1416 | client to function as an integrity check of the entity-body. Only |
---|
| 1417 | origin servers or clients &MAY; generate the Content-MD5 header field; |
---|
| 1418 | proxies and gateways &MUST-NOT; generate it, as this would defeat its |
---|
| 1419 | value as an end-to-end integrity check. Any recipient of the entity-body, |
---|
| 1420 | including gateways and proxies, &MAY; check that the digest value |
---|
| 1421 | in this header field matches that of the entity-body as received. |
---|
| 1422 | </t> |
---|
| 1423 | <t> |
---|
| 1424 | The MD5 digest is computed based on the content of the entity-body, |
---|
| 1425 | including any content-coding that has been applied, but not including |
---|
| 1426 | any transfer-encoding applied to the message-body. If the message is |
---|
| 1427 | received with a transfer-encoding, that encoding &MUST; be removed |
---|
| 1428 | prior to checking the Content-MD5 value against the received entity. |
---|
| 1429 | </t> |
---|
| 1430 | <t> |
---|
| 1431 | This has the result that the digest is computed on the octets of the |
---|
| 1432 | entity-body exactly as, and in the order that, they would be sent if |
---|
| 1433 | no transfer-encoding were being applied. |
---|
| 1434 | </t> |
---|
| 1435 | <t> |
---|
| 1436 | HTTP extends RFC 1864 to permit the digest to be computed for MIME |
---|
| 1437 | composite media-types (e.g., multipart/* and message/rfc822), but |
---|
| 1438 | this does not change how the digest is computed as defined in the |
---|
| 1439 | preceding paragraph. |
---|
| 1440 | </t> |
---|
| 1441 | <t> |
---|
| 1442 | There are several consequences of this. The entity-body for composite |
---|
| 1443 | types &MAY; contain many body-parts, each with its own MIME and HTTP |
---|
| 1444 | headers (including Content-MD5, Content-Transfer-Encoding, and |
---|
| 1445 | Content-Encoding headers). If a body-part has a Content-Transfer-Encoding |
---|
| 1446 | or Content-Encoding header, it is assumed that the content |
---|
| 1447 | of the body-part has had the encoding applied, and the body-part is |
---|
| 1448 | included in the Content-MD5 digest as is -- i.e., after the |
---|
| 1449 | application. The Transfer-Encoding header field is not allowed within |
---|
| 1450 | body-parts. |
---|
| 1451 | </t> |
---|
| 1452 | <t> |
---|
| 1453 | Conversion of all line breaks to CRLF &MUST-NOT; be done before |
---|
| 1454 | computing or checking the digest: the line break convention used in |
---|
| 1455 | the text actually transmitted &MUST; be left unaltered when computing |
---|
| 1456 | the digest. |
---|
| 1457 | <list><t> |
---|
| 1458 | <x:h>Note:</x:h> while the definition of Content-MD5 is exactly the same for |
---|
| 1459 | HTTP as in RFC 1864 for MIME entity-bodies, there are several ways |
---|
| 1460 | in which the application of Content-MD5 to HTTP entity-bodies |
---|
| 1461 | differs from its application to MIME entity-bodies. One is that |
---|
| 1462 | HTTP, unlike MIME, does not use Content-Transfer-Encoding, and |
---|
| 1463 | does use Transfer-Encoding and Content-Encoding. Another is that |
---|
| 1464 | HTTP more frequently uses binary content types than MIME, so it is |
---|
| 1465 | worth noting that, in such cases, the byte order used to compute |
---|
| 1466 | the digest is the transmission byte order defined for the type. |
---|
| 1467 | Lastly, HTTP allows transmission of text types with any of several |
---|
| 1468 | line break conventions and not just the canonical form using CRLF. |
---|
| 1469 | </t></list> |
---|
| 1470 | </t> |
---|
| 1471 | </section> |
---|
| 1472 | |
---|
| 1473 | <section title="Content-Type" anchor="header.content-type"> |
---|
| 1474 | <iref primary="true" item="Content-Type header" x:for-anchor=""/> |
---|
| 1475 | <iref primary="true" item="Headers" subitem="Content-Type" x:for-anchor=""/> |
---|
[229] | 1476 | <x:anchor-alias value="Content-Type"/> |
---|
[8] | 1477 | <t> |
---|
| 1478 | The Content-Type entity-header field indicates the media type of the |
---|
| 1479 | entity-body sent to the recipient or, in the case of the HEAD method, |
---|
| 1480 | the media type that would have been sent had the request been a GET. |
---|
| 1481 | </t> |
---|
| 1482 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Type"/> |
---|
[229] | 1483 | <x:ref>Content-Type</x:ref> = "Content-Type" ":" <x:ref>media-type</x:ref> |
---|
[8] | 1484 | </artwork></figure> |
---|
| 1485 | <t> |
---|
| 1486 | Media types are defined in <xref target="media.types"/>. An example of the field is |
---|
| 1487 | </t> |
---|
| 1488 | <figure><artwork type="example"> |
---|
| 1489 | Content-Type: text/html; charset=ISO-8859-4 |
---|
| 1490 | </artwork></figure> |
---|
| 1491 | <t> |
---|
| 1492 | Further discussion of methods for identifying the media type of an |
---|
| 1493 | entity is provided in <xref target="type"/>. |
---|
| 1494 | </t> |
---|
| 1495 | </section> |
---|
| 1496 | |
---|
| 1497 | </section> |
---|
| 1498 | |
---|
[29] | 1499 | <section title="IANA Considerations" anchor="IANA.considerations"> |
---|
[253] | 1500 | <section title="Message Header Registration" anchor="message.header.registration"> |
---|
[290] | 1501 | <t> |
---|
| 1502 | The Message Header Registry located at <eref target="http://www.iana.org/assignments/message-headers/message-header-index.html"/> should be updated |
---|
| 1503 | with the permanent registrations below (see <xref target="RFC3864"/>): |
---|
| 1504 | </t> |
---|
[253] | 1505 | <!--AUTOGENERATED FROM extract-header-defs.xslt, do not edit manually--> |
---|
[290] | 1506 | <texttable align="left" suppress-title="true" anchor="iana.header.registration.table"> |
---|
[253] | 1507 | <ttcol>Header Field Name</ttcol> |
---|
| 1508 | <ttcol>Protocol</ttcol> |
---|
| 1509 | <ttcol>Status</ttcol> |
---|
| 1510 | <ttcol>Reference</ttcol> |
---|
| 1511 | |
---|
| 1512 | <c>Accept</c> |
---|
| 1513 | <c>http</c> |
---|
| 1514 | <c>standard</c> |
---|
| 1515 | <c> |
---|
| 1516 | <xref target="header.accept"/> |
---|
| 1517 | </c> |
---|
| 1518 | <c>Accept-Charset</c> |
---|
| 1519 | <c>http</c> |
---|
| 1520 | <c>standard</c> |
---|
| 1521 | <c> |
---|
| 1522 | <xref target="header.accept-charset"/> |
---|
| 1523 | </c> |
---|
| 1524 | <c>Accept-Encoding</c> |
---|
| 1525 | <c>http</c> |
---|
| 1526 | <c>standard</c> |
---|
| 1527 | <c> |
---|
| 1528 | <xref target="header.accept-encoding"/> |
---|
| 1529 | </c> |
---|
| 1530 | <c>Accept-Language</c> |
---|
| 1531 | <c>http</c> |
---|
| 1532 | <c>standard</c> |
---|
| 1533 | <c> |
---|
| 1534 | <xref target="header.accept-language"/> |
---|
| 1535 | </c> |
---|
| 1536 | <c>Content-Disposition</c> |
---|
| 1537 | <c>http</c> |
---|
[291] | 1538 | <c/> |
---|
[253] | 1539 | <c> |
---|
| 1540 | <xref target="content-disposition"/> |
---|
| 1541 | </c> |
---|
| 1542 | <c>Content-Encoding</c> |
---|
| 1543 | <c>http</c> |
---|
| 1544 | <c>standard</c> |
---|
| 1545 | <c> |
---|
| 1546 | <xref target="header.content-encoding"/> |
---|
| 1547 | </c> |
---|
| 1548 | <c>Content-Language</c> |
---|
| 1549 | <c>http</c> |
---|
| 1550 | <c>standard</c> |
---|
| 1551 | <c> |
---|
| 1552 | <xref target="header.content-language"/> |
---|
| 1553 | </c> |
---|
| 1554 | <c>Content-Location</c> |
---|
| 1555 | <c>http</c> |
---|
| 1556 | <c>standard</c> |
---|
| 1557 | <c> |
---|
| 1558 | <xref target="header.content-location"/> |
---|
| 1559 | </c> |
---|
| 1560 | <c>Content-MD5</c> |
---|
| 1561 | <c>http</c> |
---|
| 1562 | <c>standard</c> |
---|
| 1563 | <c> |
---|
| 1564 | <xref target="header.content-md5"/> |
---|
| 1565 | </c> |
---|
| 1566 | <c>Content-Type</c> |
---|
| 1567 | <c>http</c> |
---|
| 1568 | <c>standard</c> |
---|
| 1569 | <c> |
---|
| 1570 | <xref target="header.content-type"/> |
---|
| 1571 | </c> |
---|
[291] | 1572 | <c>MIME-Version</c> |
---|
| 1573 | <c>http</c> |
---|
| 1574 | <c/> |
---|
| 1575 | <c> |
---|
| 1576 | <xref target="mime-version"/> |
---|
| 1577 | </c> |
---|
[253] | 1578 | </texttable> |
---|
[290] | 1579 | <!--(END)--> |
---|
[253] | 1580 | <t> |
---|
[290] | 1581 | The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force". |
---|
| 1582 | </t> |
---|
[8] | 1583 | </section> |
---|
[253] | 1584 | </section> |
---|
[8] | 1585 | |
---|
| 1586 | <section title="Security Considerations" anchor="security.considerations"> |
---|
| 1587 | <t> |
---|
| 1588 | This section is meant to inform application developers, information |
---|
| 1589 | providers, and users of the security limitations in HTTP/1.1 as |
---|
| 1590 | described by this document. The discussion does not include |
---|
| 1591 | definitive solutions to the problems revealed, though it does make |
---|
| 1592 | some suggestions for reducing security risks. |
---|
| 1593 | </t> |
---|
| 1594 | |
---|
| 1595 | <section title="Privacy Issues Connected to Accept Headers" anchor="privacy.issues.connected.to.accept.headers"> |
---|
| 1596 | <t> |
---|
| 1597 | Accept request-headers can reveal information about the user to all |
---|
| 1598 | servers which are accessed. The Accept-Language header in particular |
---|
| 1599 | can reveal information the user would consider to be of a private |
---|
| 1600 | nature, because the understanding of particular languages is often |
---|
| 1601 | strongly correlated to the membership of a particular ethnic group. |
---|
| 1602 | User agents which offer the option to configure the contents of an |
---|
| 1603 | Accept-Language header to be sent in every request are strongly |
---|
| 1604 | encouraged to let the configuration process include a message which |
---|
| 1605 | makes the user aware of the loss of privacy involved. |
---|
| 1606 | </t> |
---|
| 1607 | <t> |
---|
| 1608 | An approach that limits the loss of privacy would be for a user agent |
---|
| 1609 | to omit the sending of Accept-Language headers by default, and to ask |
---|
| 1610 | the user whether or not to start sending Accept-Language headers to a |
---|
| 1611 | server if it detects, by looking for any Vary response-header fields |
---|
| 1612 | generated by the server, that such sending could improve the quality |
---|
| 1613 | of service. |
---|
| 1614 | </t> |
---|
| 1615 | <t> |
---|
| 1616 | Elaborate user-customized accept header fields sent in every request, |
---|
| 1617 | in particular if these include quality values, can be used by servers |
---|
| 1618 | as relatively reliable and long-lived user identifiers. Such user |
---|
| 1619 | identifiers would allow content providers to do click-trail tracking, |
---|
| 1620 | and would allow collaborating content providers to match cross-server |
---|
| 1621 | click-trails or form submissions of individual users. Note that for |
---|
| 1622 | many users not behind a proxy, the network address of the host |
---|
| 1623 | running the user agent will also serve as a long-lived user |
---|
| 1624 | identifier. In environments where proxies are used to enhance |
---|
| 1625 | privacy, user agents ought to be conservative in offering accept |
---|
| 1626 | header configuration options to end users. As an extreme privacy |
---|
| 1627 | measure, proxies could filter the accept headers in relayed requests. |
---|
| 1628 | General purpose user agents which provide a high degree of header |
---|
| 1629 | configurability &SHOULD; warn users about the loss of privacy which can |
---|
| 1630 | be involved. |
---|
| 1631 | </t> |
---|
| 1632 | </section> |
---|
| 1633 | |
---|
| 1634 | <section title="Content-Disposition Issues" anchor="content-disposition.issues"> |
---|
| 1635 | <t> |
---|
[269] | 1636 | <xref target="RFC2183"/>, from which the often implemented Content-Disposition |
---|
[8] | 1637 | (see <xref target="content-disposition"/>) header in HTTP is derived, has a number of very |
---|
| 1638 | serious security considerations. Content-Disposition is not part of |
---|
| 1639 | the HTTP standard, but since it is widely implemented, we are |
---|
[269] | 1640 | documenting its use and risks for implementors. See <xref target="RFC2183" x:fmt="of" x:sec="5"/> |
---|
| 1641 | for details. |
---|
[8] | 1642 | </t> |
---|
| 1643 | </section> |
---|
| 1644 | |
---|
| 1645 | </section> |
---|
| 1646 | |
---|
| 1647 | <section title="Acknowledgments" anchor="ack"> |
---|
| 1648 | </section> |
---|
| 1649 | </middle> |
---|
| 1650 | <back> |
---|
| 1651 | |
---|
[119] | 1652 | <references title="Normative References"> |
---|
| 1653 | |
---|
[121] | 1654 | <reference anchor="ISO-8859-1"> |
---|
| 1655 | <front> |
---|
| 1656 | <title> |
---|
| 1657 | Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1 |
---|
| 1658 | </title> |
---|
| 1659 | <author> |
---|
| 1660 | <organization>International Organization for Standardization</organization> |
---|
| 1661 | </author> |
---|
| 1662 | <date year="1998"/> |
---|
| 1663 | </front> |
---|
| 1664 | <seriesInfo name="ISO/IEC" value="8859-1:1998"/> |
---|
| 1665 | </reference> |
---|
| 1666 | |
---|
[31] | 1667 | <reference anchor="Part1"> |
---|
[119] | 1668 | <front> |
---|
| 1669 | <title abbrev="HTTP/1.1">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</title> |
---|
| 1670 | <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor"> |
---|
| 1671 | <organization abbrev="Day Software">Day Software</organization> |
---|
| 1672 | <address><email>fielding@gbiv.com</email></address> |
---|
| 1673 | </author> |
---|
| 1674 | <author initials="J." surname="Gettys" fullname="Jim Gettys"> |
---|
| 1675 | <organization>One Laptop per Child</organization> |
---|
| 1676 | <address><email>jg@laptop.org</email></address> |
---|
| 1677 | </author> |
---|
| 1678 | <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul"> |
---|
| 1679 | <organization abbrev="HP">Hewlett-Packard Company</organization> |
---|
| 1680 | <address><email>JeffMogul@acm.org</email></address> |
---|
| 1681 | </author> |
---|
| 1682 | <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen"> |
---|
| 1683 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1684 | <address><email>henrikn@microsoft.com</email></address> |
---|
| 1685 | </author> |
---|
| 1686 | <author initials="L." surname="Masinter" fullname="Larry Masinter"> |
---|
| 1687 | <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization> |
---|
| 1688 | <address><email>LMM@acm.org</email></address> |
---|
| 1689 | </author> |
---|
| 1690 | <author initials="P." surname="Leach" fullname="Paul J. Leach"> |
---|
| 1691 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1692 | <address><email>paulle@microsoft.com</email></address> |
---|
| 1693 | </author> |
---|
| 1694 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
| 1695 | <organization abbrev="W3C/MIT">World Wide Web Consortium</organization> |
---|
| 1696 | <address><email>timbl@w3.org</email></address> |
---|
| 1697 | </author> |
---|
| 1698 | <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor"> |
---|
| 1699 | <organization abbrev="W3C">World Wide Web Consortium</organization> |
---|
| 1700 | <address><email>ylafon@w3.org</email></address> |
---|
| 1701 | </author> |
---|
| 1702 | <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor"> |
---|
| 1703 | <organization abbrev="greenbytes">greenbytes GmbH</organization> |
---|
| 1704 | <address><email>julian.reschke@greenbytes.de</email></address> |
---|
| 1705 | </author> |
---|
| 1706 | <date month="&ID-MONTH;" year="&ID-YEAR;"/> |
---|
| 1707 | </front> |
---|
| 1708 | <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p1-messaging-&ID-VERSION;"/> |
---|
| 1709 | <x:source href="p1-messaging.xml" basename="p1-messaging"/> |
---|
[31] | 1710 | </reference> |
---|
| 1711 | |
---|
| 1712 | <reference anchor="Part2"> |
---|
[119] | 1713 | <front> |
---|
| 1714 | <title abbrev="HTTP/1.1">HTTP/1.1, part 2: Message Semantics</title> |
---|
| 1715 | <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor"> |
---|
| 1716 | <organization abbrev="Day Software">Day Software</organization> |
---|
| 1717 | <address><email>fielding@gbiv.com</email></address> |
---|
| 1718 | </author> |
---|
| 1719 | <author initials="J." surname="Gettys" fullname="Jim Gettys"> |
---|
| 1720 | <organization>One Laptop per Child</organization> |
---|
| 1721 | <address><email>jg@laptop.org</email></address> |
---|
| 1722 | </author> |
---|
| 1723 | <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul"> |
---|
| 1724 | <organization abbrev="HP">Hewlett-Packard Company</organization> |
---|
| 1725 | <address><email>JeffMogul@acm.org</email></address> |
---|
| 1726 | </author> |
---|
| 1727 | <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen"> |
---|
| 1728 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1729 | <address><email>henrikn@microsoft.com</email></address> |
---|
| 1730 | </author> |
---|
| 1731 | <author initials="L." surname="Masinter" fullname="Larry Masinter"> |
---|
| 1732 | <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization> |
---|
| 1733 | <address><email>LMM@acm.org</email></address> |
---|
| 1734 | </author> |
---|
| 1735 | <author initials="P." surname="Leach" fullname="Paul J. Leach"> |
---|
| 1736 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1737 | <address><email>paulle@microsoft.com</email></address> |
---|
| 1738 | </author> |
---|
| 1739 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
| 1740 | <organization abbrev="W3C/MIT">World Wide Web Consortium</organization> |
---|
| 1741 | <address><email>timbl@w3.org</email></address> |
---|
| 1742 | </author> |
---|
| 1743 | <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor"> |
---|
| 1744 | <organization abbrev="W3C">World Wide Web Consortium</organization> |
---|
| 1745 | <address><email>ylafon@w3.org</email></address> |
---|
| 1746 | </author> |
---|
| 1747 | <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor"> |
---|
| 1748 | <organization abbrev="greenbytes">greenbytes GmbH</organization> |
---|
| 1749 | <address><email>julian.reschke@greenbytes.de</email></address> |
---|
| 1750 | </author> |
---|
| 1751 | <date month="&ID-MONTH;" year="&ID-YEAR;"/> |
---|
| 1752 | </front> |
---|
| 1753 | <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p2-semantics-&ID-VERSION;"/> |
---|
| 1754 | <x:source href="p2-semantics.xml" basename="p2-semantics"/> |
---|
[31] | 1755 | </reference> |
---|
| 1756 | |
---|
| 1757 | <reference anchor="Part4"> |
---|
[119] | 1758 | <front> |
---|
| 1759 | <title abbrev="HTTP/1.1">HTTP/1.1, part 4: Conditional Requests</title> |
---|
| 1760 | <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor"> |
---|
| 1761 | <organization abbrev="Day Software">Day Software</organization> |
---|
| 1762 | <address><email>fielding@gbiv.com</email></address> |
---|
| 1763 | </author> |
---|
| 1764 | <author initials="J." surname="Gettys" fullname="Jim Gettys"> |
---|
| 1765 | <organization>One Laptop per Child</organization> |
---|
| 1766 | <address><email>jg@laptop.org</email></address> |
---|
| 1767 | </author> |
---|
| 1768 | <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul"> |
---|
| 1769 | <organization abbrev="HP">Hewlett-Packard Company</organization> |
---|
| 1770 | <address><email>JeffMogul@acm.org</email></address> |
---|
| 1771 | </author> |
---|
| 1772 | <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen"> |
---|
| 1773 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1774 | <address><email>henrikn@microsoft.com</email></address> |
---|
| 1775 | </author> |
---|
| 1776 | <author initials="L." surname="Masinter" fullname="Larry Masinter"> |
---|
| 1777 | <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization> |
---|
| 1778 | <address><email>LMM@acm.org</email></address> |
---|
| 1779 | </author> |
---|
| 1780 | <author initials="P." surname="Leach" fullname="Paul J. Leach"> |
---|
| 1781 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1782 | <address><email>paulle@microsoft.com</email></address> |
---|
| 1783 | </author> |
---|
| 1784 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
| 1785 | <organization abbrev="W3C/MIT">World Wide Web Consortium</organization> |
---|
| 1786 | <address><email>timbl@w3.org</email></address> |
---|
| 1787 | </author> |
---|
| 1788 | <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor"> |
---|
| 1789 | <organization abbrev="W3C">World Wide Web Consortium</organization> |
---|
| 1790 | <address><email>ylafon@w3.org</email></address> |
---|
| 1791 | </author> |
---|
| 1792 | <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor"> |
---|
| 1793 | <organization abbrev="greenbytes">greenbytes GmbH</organization> |
---|
| 1794 | <address><email>julian.reschke@greenbytes.de</email></address> |
---|
| 1795 | </author> |
---|
| 1796 | <date month="&ID-MONTH;" year="&ID-YEAR;"/> |
---|
| 1797 | </front> |
---|
| 1798 | <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p4-conditional-&ID-VERSION;"/> |
---|
| 1799 | <x:source href="p4-conditional.xml" basename="p4-conditional"/> |
---|
[31] | 1800 | </reference> |
---|
| 1801 | |
---|
| 1802 | <reference anchor="Part5"> |
---|
[119] | 1803 | <front> |
---|
| 1804 | <title abbrev="HTTP/1.1">HTTP/1.1, part 5: Range Requests and Partial Responses</title> |
---|
| 1805 | <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor"> |
---|
| 1806 | <organization abbrev="Day Software">Day Software</organization> |
---|
| 1807 | <address><email>fielding@gbiv.com</email></address> |
---|
| 1808 | </author> |
---|
| 1809 | <author initials="J." surname="Gettys" fullname="Jim Gettys"> |
---|
| 1810 | <organization>One Laptop per Child</organization> |
---|
| 1811 | <address><email>jg@laptop.org</email></address> |
---|
| 1812 | </author> |
---|
| 1813 | <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul"> |
---|
| 1814 | <organization abbrev="HP">Hewlett-Packard Company</organization> |
---|
| 1815 | <address><email>JeffMogul@acm.org</email></address> |
---|
| 1816 | </author> |
---|
| 1817 | <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen"> |
---|
| 1818 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1819 | <address><email>henrikn@microsoft.com</email></address> |
---|
| 1820 | </author> |
---|
| 1821 | <author initials="L." surname="Masinter" fullname="Larry Masinter"> |
---|
| 1822 | <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization> |
---|
| 1823 | <address><email>LMM@acm.org</email></address> |
---|
| 1824 | </author> |
---|
| 1825 | <author initials="P." surname="Leach" fullname="Paul J. Leach"> |
---|
| 1826 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1827 | <address><email>paulle@microsoft.com</email></address> |
---|
| 1828 | </author> |
---|
| 1829 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
| 1830 | <organization abbrev="W3C/MIT">World Wide Web Consortium</organization> |
---|
| 1831 | <address><email>timbl@w3.org</email></address> |
---|
| 1832 | </author> |
---|
| 1833 | <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor"> |
---|
| 1834 | <organization abbrev="W3C">World Wide Web Consortium</organization> |
---|
| 1835 | <address><email>ylafon@w3.org</email></address> |
---|
| 1836 | </author> |
---|
| 1837 | <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor"> |
---|
| 1838 | <organization abbrev="greenbytes">greenbytes GmbH</organization> |
---|
| 1839 | <address><email>julian.reschke@greenbytes.de</email></address> |
---|
| 1840 | </author> |
---|
| 1841 | <date month="&ID-MONTH;" year="&ID-YEAR;"/> |
---|
| 1842 | </front> |
---|
| 1843 | <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p5-range-&ID-VERSION;"/> |
---|
| 1844 | <x:source href="p5-range.xml" basename="p5-range"/> |
---|
[31] | 1845 | </reference> |
---|
| 1846 | |
---|
| 1847 | <reference anchor="Part6"> |
---|
[119] | 1848 | <front> |
---|
| 1849 | <title abbrev="HTTP/1.1">HTTP/1.1, part 6: Caching</title> |
---|
| 1850 | <author initials="R." surname="Fielding" fullname="Roy T. Fielding" role="editor"> |
---|
| 1851 | <organization abbrev="Day Software">Day Software</organization> |
---|
| 1852 | <address><email>fielding@gbiv.com</email></address> |
---|
| 1853 | </author> |
---|
| 1854 | <author initials="J." surname="Gettys" fullname="Jim Gettys"> |
---|
| 1855 | <organization>One Laptop per Child</organization> |
---|
| 1856 | <address><email>jg@laptop.org</email></address> |
---|
| 1857 | </author> |
---|
| 1858 | <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul"> |
---|
| 1859 | <organization abbrev="HP">Hewlett-Packard Company</organization> |
---|
| 1860 | <address><email>JeffMogul@acm.org</email></address> |
---|
| 1861 | </author> |
---|
| 1862 | <author initials="H." surname="Frystyk" fullname="Henrik Frystyk Nielsen"> |
---|
| 1863 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1864 | <address><email>henrikn@microsoft.com</email></address> |
---|
| 1865 | </author> |
---|
| 1866 | <author initials="L." surname="Masinter" fullname="Larry Masinter"> |
---|
| 1867 | <organization abbrev="Adobe Systems">Adobe Systems, Incorporated</organization> |
---|
| 1868 | <address><email>LMM@acm.org</email></address> |
---|
| 1869 | </author> |
---|
| 1870 | <author initials="P." surname="Leach" fullname="Paul J. Leach"> |
---|
| 1871 | <organization abbrev="Microsoft">Microsoft Corporation</organization> |
---|
| 1872 | <address><email>paulle@microsoft.com</email></address> |
---|
| 1873 | </author> |
---|
| 1874 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
| 1875 | <organization abbrev="W3C/MIT">World Wide Web Consortium</organization> |
---|
| 1876 | <address><email>timbl@w3.org</email></address> |
---|
| 1877 | </author> |
---|
| 1878 | <author initials="Y." surname="Lafon" fullname="Yves Lafon" role="editor"> |
---|
| 1879 | <organization abbrev="W3C">World Wide Web Consortium</organization> |
---|
| 1880 | <address><email>ylafon@w3.org</email></address> |
---|
| 1881 | </author> |
---|
| 1882 | <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke" role="editor"> |
---|
| 1883 | <organization abbrev="greenbytes">greenbytes GmbH</organization> |
---|
| 1884 | <address><email>julian.reschke@greenbytes.de</email></address> |
---|
| 1885 | </author> |
---|
| 1886 | <date month="&ID-MONTH;" year="&ID-YEAR;"/> |
---|
| 1887 | </front> |
---|
| 1888 | <seriesInfo name="Internet-Draft" value="draft-ietf-httpbis-p6-cache-&ID-VERSION;"/> |
---|
| 1889 | <x:source href="p6-cache.xml" basename="p6-cache"/> |
---|
[31] | 1890 | </reference> |
---|
| 1891 | |
---|
[132] | 1892 | <reference anchor="RFC1766"> |
---|
| 1893 | <front> |
---|
| 1894 | <title abbrev="Language Tag">Tags for the Identification of Languages</title> |
---|
| 1895 | <author initials="H." surname="Alvestrand" fullname="Harald Tveit Alvestrand"> |
---|
| 1896 | <organization>UNINETT</organization> |
---|
| 1897 | <address><email>Harald.T.Alvestrand@uninett.no</email></address> |
---|
| 1898 | </author> |
---|
| 1899 | <date month="March" year="1995"/> |
---|
| 1900 | </front> |
---|
| 1901 | <seriesInfo name="RFC" value="1766"/> |
---|
| 1902 | </reference> |
---|
| 1903 | |
---|
[131] | 1904 | <reference anchor="RFC1864"> |
---|
| 1905 | <front> |
---|
| 1906 | <title abbrev="Content-MD5 Header Field">The Content-MD5 Header Field</title> |
---|
| 1907 | <author initials="J." surname="Myers" fullname="John G. Myers"> |
---|
| 1908 | <organization>Carnegie Mellon University</organization> |
---|
| 1909 | <address><email>jgm+@cmu.edu</email></address> |
---|
| 1910 | </author> |
---|
| 1911 | <author initials="M." surname="Rose" fullname="Marshall T. Rose"> |
---|
| 1912 | <organization>Dover Beach Consulting, Inc.</organization> |
---|
| 1913 | <address><email>mrose@dbc.mtview.ca.us</email></address> |
---|
| 1914 | </author> |
---|
| 1915 | <date month="October" year="1995"/> |
---|
| 1916 | </front> |
---|
| 1917 | <seriesInfo name="RFC" value="1864"/> |
---|
| 1918 | </reference> |
---|
| 1919 | |
---|
[122] | 1920 | <reference anchor="RFC1950"> |
---|
| 1921 | <front> |
---|
| 1922 | <title>ZLIB Compressed Data Format Specification version 3.3</title> |
---|
| 1923 | <author initials="L.P." surname="Deutsch" fullname="L. Peter Deutsch"> |
---|
| 1924 | <organization>Aladdin Enterprises</organization> |
---|
| 1925 | <address><email>ghost@aladdin.com</email></address> |
---|
| 1926 | </author> |
---|
| 1927 | <author initials="J-L." surname="Gailly" fullname="Jean-Loup Gailly"> |
---|
| 1928 | <organization/> |
---|
| 1929 | </author> |
---|
| 1930 | <date month="May" year="1996"/> |
---|
| 1931 | </front> |
---|
| 1932 | <seriesInfo name="RFC" value="1950"/> |
---|
| 1933 | <annotation> |
---|
[277] | 1934 | RFC 1950 is an Informational RFC, thus it may be less stable than |
---|
[122] | 1935 | this specification. On the other hand, this downward reference was |
---|
[277] | 1936 | present since the publication of RFC 2068 in 1997 (<xref target="RFC2068"/>), |
---|
| 1937 | therefore it is unlikely to cause problems in practice. See also |
---|
| 1938 | <xref target="BCP97"/>. |
---|
[122] | 1939 | </annotation> |
---|
| 1940 | </reference> |
---|
| 1941 | |
---|
| 1942 | <reference anchor="RFC1951"> |
---|
| 1943 | <front> |
---|
| 1944 | <title>DEFLATE Compressed Data Format Specification version 1.3</title> |
---|
| 1945 | <author initials="P." surname="Deutsch" fullname="L. Peter Deutsch"> |
---|
| 1946 | <organization>Aladdin Enterprises</organization> |
---|
| 1947 | <address><email>ghost@aladdin.com</email></address> |
---|
| 1948 | </author> |
---|
| 1949 | <date month="May" year="1996"/> |
---|
| 1950 | </front> |
---|
| 1951 | <seriesInfo name="RFC" value="1951"/> |
---|
| 1952 | <annotation> |
---|
[277] | 1953 | RFC 1951 is an Informational RFC, thus it may be less stable than |
---|
[122] | 1954 | this specification. On the other hand, this downward reference was |
---|
[277] | 1955 | present since the publication of RFC 2068 in 1997 (<xref target="RFC2068"/>), |
---|
| 1956 | therefore it is unlikely to cause problems in practice. See also |
---|
| 1957 | <xref target="BCP97"/>. |
---|
[122] | 1958 | </annotation> |
---|
| 1959 | </reference> |
---|
| 1960 | |
---|
| 1961 | <reference anchor="RFC1952"> |
---|
| 1962 | <front> |
---|
| 1963 | <title>GZIP file format specification version 4.3</title> |
---|
| 1964 | <author initials="P." surname="Deutsch" fullname="L. Peter Deutsch"> |
---|
| 1965 | <organization>Aladdin Enterprises</organization> |
---|
| 1966 | <address><email>ghost@aladdin.com</email></address> |
---|
| 1967 | </author> |
---|
| 1968 | <author initials="J-L." surname="Gailly" fullname="Jean-Loup Gailly"> |
---|
| 1969 | <organization/> |
---|
| 1970 | <address><email>gzip@prep.ai.mit.edu</email></address> |
---|
| 1971 | </author> |
---|
| 1972 | <author initials="M." surname="Adler" fullname="Mark Adler"> |
---|
| 1973 | <organization/> |
---|
| 1974 | <address><email>madler@alumni.caltech.edu</email></address> |
---|
| 1975 | </author> |
---|
| 1976 | <author initials="L.P." surname="Deutsch" fullname="L. Peter Deutsch"> |
---|
| 1977 | <organization/> |
---|
| 1978 | <address><email>ghost@aladdin.com</email></address> |
---|
| 1979 | </author> |
---|
| 1980 | <author initials="G." surname="Randers-Pehrson" fullname="Glenn Randers-Pehrson"> |
---|
| 1981 | <organization/> |
---|
| 1982 | <address><email>randeg@alumni.rpi.edu</email></address> |
---|
| 1983 | </author> |
---|
| 1984 | <date month="May" year="1996"/> |
---|
| 1985 | </front> |
---|
| 1986 | <seriesInfo name="RFC" value="1952"/> |
---|
| 1987 | <annotation> |
---|
[277] | 1988 | RFC 1952 is an Informational RFC, thus it may be less stable than |
---|
[122] | 1989 | this specification. On the other hand, this downward reference was |
---|
[277] | 1990 | present since the publication of RFC 2068 in 1997 (<xref target="RFC2068"/>), |
---|
| 1991 | therefore it is unlikely to cause problems in practice. See also |
---|
| 1992 | <xref target="BCP97"/>. |
---|
[122] | 1993 | </annotation> |
---|
| 1994 | </reference> |
---|
| 1995 | |
---|
[131] | 1996 | <reference anchor="RFC2045"> |
---|
| 1997 | <front> |
---|
| 1998 | <title abbrev="Internet Message Bodies">Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies</title> |
---|
| 1999 | <author initials="N." surname="Freed" fullname="Ned Freed"> |
---|
| 2000 | <organization>Innosoft International, Inc.</organization> |
---|
| 2001 | <address><email>ned@innosoft.com</email></address> |
---|
| 2002 | </author> |
---|
| 2003 | <author initials="N.S." surname="Borenstein" fullname="Nathaniel S. Borenstein"> |
---|
| 2004 | <organization>First Virtual Holdings</organization> |
---|
| 2005 | <address><email>nsb@nsb.fv.com</email></address> |
---|
| 2006 | </author> |
---|
| 2007 | <date month="November" year="1996"/> |
---|
| 2008 | </front> |
---|
| 2009 | <seriesInfo name="RFC" value="2045"/> |
---|
| 2010 | </reference> |
---|
| 2011 | |
---|
| 2012 | <reference anchor="RFC2046"> |
---|
| 2013 | <front> |
---|
| 2014 | <title abbrev="Media Types">Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</title> |
---|
| 2015 | <author initials="N." surname="Freed" fullname="Ned Freed"> |
---|
| 2016 | <organization>Innosoft International, Inc.</organization> |
---|
| 2017 | <address><email>ned@innosoft.com</email></address> |
---|
| 2018 | </author> |
---|
| 2019 | <author initials="N." surname="Borenstein" fullname="Nathaniel S. Borenstein"> |
---|
| 2020 | <organization>First Virtual Holdings</organization> |
---|
| 2021 | <address><email>nsb@nsb.fv.com</email></address> |
---|
| 2022 | </author> |
---|
| 2023 | <date month="November" year="1996"/> |
---|
| 2024 | </front> |
---|
| 2025 | <seriesInfo name="RFC" value="2046"/> |
---|
| 2026 | </reference> |
---|
| 2027 | |
---|
[119] | 2028 | <reference anchor="RFC2119"> |
---|
| 2029 | <front> |
---|
| 2030 | <title>Key words for use in RFCs to Indicate Requirement Levels</title> |
---|
| 2031 | <author initials="S." surname="Bradner" fullname="Scott Bradner"> |
---|
| 2032 | <organization>Harvard University</organization> |
---|
| 2033 | <address><email>sob@harvard.edu</email></address> |
---|
| 2034 | </author> |
---|
| 2035 | <date month="March" year="1997"/> |
---|
| 2036 | </front> |
---|
| 2037 | <seriesInfo name="BCP" value="14"/> |
---|
| 2038 | <seriesInfo name="RFC" value="2119"/> |
---|
[36] | 2039 | </reference> |
---|
| 2040 | |
---|
[303] | 2041 | <reference anchor='RFC4647'> |
---|
| 2042 | <front> |
---|
| 2043 | <title>Matching of Language Tags</title> |
---|
| 2044 | <author initials='A.' surname='Phillips' fullname='Addison Phillips' role="editor"> |
---|
| 2045 | <organization>Yahoo! Inc.</organization> |
---|
| 2046 | <address><email>addison@inter-locale.com</email></address> |
---|
| 2047 | </author> |
---|
| 2048 | <author initials='M.' surname='Davis' fullname='Mark Davis' role="editor"> |
---|
| 2049 | <organization>Google</organization> |
---|
| 2050 | <address><email>mark.davis@macchiato.com</email></address> |
---|
| 2051 | </author> |
---|
| 2052 | <date year='2006' month='September' /> |
---|
| 2053 | </front> |
---|
| 2054 | <seriesInfo name='BCP' value='47' /> |
---|
| 2055 | <seriesInfo name='RFC' value='4647' /> |
---|
| 2056 | </reference> |
---|
| 2057 | |
---|
[119] | 2058 | </references> |
---|
| 2059 | |
---|
| 2060 | <references title="Informative References"> |
---|
| 2061 | |
---|
[129] | 2062 | <reference anchor="RFC1945"> |
---|
| 2063 | <front> |
---|
| 2064 | <title abbrev="HTTP/1.0">Hypertext Transfer Protocol -- HTTP/1.0</title> |
---|
| 2065 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
| 2066 | <organization>MIT, Laboratory for Computer Science</organization> |
---|
| 2067 | <address><email>timbl@w3.org</email></address> |
---|
| 2068 | </author> |
---|
| 2069 | <author initials="R.T." surname="Fielding" fullname="Roy T. Fielding"> |
---|
| 2070 | <organization>University of California, Irvine, Department of Information and Computer Science</organization> |
---|
| 2071 | <address><email>fielding@ics.uci.edu</email></address> |
---|
| 2072 | </author> |
---|
| 2073 | <author initials="H.F." surname="Nielsen" fullname="Henrik Frystyk Nielsen"> |
---|
| 2074 | <organization>W3 Consortium, MIT Laboratory for Computer Science</organization> |
---|
| 2075 | <address><email>frystyk@w3.org</email></address> |
---|
| 2076 | </author> |
---|
| 2077 | <date month="May" year="1996"/> |
---|
| 2078 | </front> |
---|
| 2079 | <seriesInfo name="RFC" value="1945"/> |
---|
| 2080 | </reference> |
---|
| 2081 | |
---|
| 2082 | <reference anchor="RFC2049"> |
---|
| 2083 | <front> |
---|
| 2084 | <title abbrev="MIME Conformance">Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples</title> |
---|
| 2085 | <author initials="N." surname="Freed" fullname="Ned Freed"> |
---|
| 2086 | <organization>Innosoft International, Inc.</organization> |
---|
| 2087 | <address><email>ned@innosoft.com</email></address> |
---|
| 2088 | </author> |
---|
| 2089 | <author initials="N.S." surname="Borenstein" fullname="Nathaniel S. Borenstein"> |
---|
| 2090 | <organization>First Virtual Holdings</organization> |
---|
| 2091 | <address><email>nsb@nsb.fv.com</email></address> |
---|
| 2092 | </author> |
---|
| 2093 | <date month="November" year="1996"/> |
---|
| 2094 | </front> |
---|
| 2095 | <seriesInfo name="RFC" value="2049"/> |
---|
| 2096 | </reference> |
---|
| 2097 | |
---|
[133] | 2098 | <reference anchor="RFC2068"> |
---|
| 2099 | <front> |
---|
| 2100 | <title abbrev="HTTP/1.1">Hypertext Transfer Protocol -- HTTP/1.1</title> |
---|
| 2101 | <author initials="R." surname="Fielding" fullname="Roy T. Fielding"> |
---|
| 2102 | <organization>University of California, Irvine, Department of Information and Computer Science</organization> |
---|
| 2103 | <address><email>fielding@ics.uci.edu</email></address> |
---|
| 2104 | </author> |
---|
| 2105 | <author initials="J." surname="Gettys" fullname="Jim Gettys"> |
---|
| 2106 | <organization>MIT Laboratory for Computer Science</organization> |
---|
| 2107 | <address><email>jg@w3.org</email></address> |
---|
| 2108 | </author> |
---|
| 2109 | <author initials="J." surname="Mogul" fullname="Jeffrey C. Mogul"> |
---|
| 2110 | <organization>Digital Equipment Corporation, Western Research Laboratory</organization> |
---|
| 2111 | <address><email>mogul@wrl.dec.com</email></address> |
---|
| 2112 | </author> |
---|
| 2113 | <author initials="H." surname="Nielsen" fullname="Henrik Frystyk Nielsen"> |
---|
| 2114 | <organization>MIT Laboratory for Computer Science</organization> |
---|
| 2115 | <address><email>frystyk@w3.org</email></address> |
---|
| 2116 | </author> |
---|
| 2117 | <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee"> |
---|
| 2118 | <organization>MIT Laboratory for Computer Science</organization> |
---|
| 2119 | <address><email>timbl@w3.org</email></address> |
---|
| 2120 | </author> |
---|
| 2121 | <date month="January" year="1997"/> |
---|
| 2122 | </front> |
---|
| 2123 | <seriesInfo name="RFC" value="2068"/> |
---|
| 2124 | </reference> |
---|
| 2125 | |
---|
[129] | 2126 | <reference anchor="RFC2076"> |
---|
| 2127 | <front> |
---|
| 2128 | <title abbrev="Internet Message Headers">Common Internet Message Headers</title> |
---|
| 2129 | <author initials="J." surname="Palme" fullname="Jacob Palme"> |
---|
| 2130 | <organization>Stockholm University/KTH</organization> |
---|
| 2131 | <address><email>jpalme@dsv.su.se</email></address> |
---|
| 2132 | </author> |
---|
| 2133 | <date month="February" year="1997"/> |
---|
| 2134 | </front> |
---|
| 2135 | <seriesInfo name="RFC" value="2076"/> |
---|
| 2136 | </reference> |
---|
| 2137 | |
---|
| 2138 | <reference anchor="RFC2183"> |
---|
| 2139 | <front> |
---|
| 2140 | <title abbrev="Content-Disposition">Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field</title> |
---|
| 2141 | <author initials="R." surname="Troost" fullname="Rens Troost"> |
---|
| 2142 | <organization>New Century Systems</organization> |
---|
| 2143 | <address><email>rens@century.com</email></address> |
---|
| 2144 | </author> |
---|
| 2145 | <author initials="S." surname="Dorner" fullname="Steve Dorner"> |
---|
| 2146 | <organization>QUALCOMM Incorporated</organization> |
---|
| 2147 | <address><email>sdorner@qualcomm.com</email></address> |
---|
| 2148 | </author> |
---|
| 2149 | <author initials="K." surname="Moore" fullname="Keith Moore"> |
---|
| 2150 | <organization>Department of Computer Science</organization> |
---|
| 2151 | <address><email>moore@cs.utk.edu</email></address> |
---|
| 2152 | </author> |
---|
| 2153 | <date month="August" year="1997"/> |
---|
| 2154 | </front> |
---|
| 2155 | <seriesInfo name="RFC" value="2183"/> |
---|
| 2156 | </reference> |
---|
| 2157 | |
---|
| 2158 | <reference anchor="RFC2277"> |
---|
| 2159 | <front> |
---|
| 2160 | <title abbrev="Charset Policy">IETF Policy on Character Sets and Languages</title> |
---|
| 2161 | <author initials="H.T." surname="Alvestrand" fullname="Harald Tveit Alvestrand"> |
---|
| 2162 | <organization>UNINETT</organization> |
---|
| 2163 | <address><email>Harald.T.Alvestrand@uninett.no</email></address> |
---|
| 2164 | </author> |
---|
| 2165 | <date month="January" year="1998"/> |
---|
| 2166 | </front> |
---|
| 2167 | <seriesInfo name="BCP" value="18"/> |
---|
| 2168 | <seriesInfo name="RFC" value="2277"/> |
---|
| 2169 | </reference> |
---|
| 2170 | |
---|
| 2171 | <reference anchor="RFC2388"> |
---|
| 2172 | <front> |
---|
| 2173 | <title abbrev="multipart/form-data">Returning Values from Forms: multipart/form-data</title> |
---|
| 2174 | <author initials="L." surname="Masinter" fullname="Larry Masinter"> |
---|
| 2175 | <organization>Xerox Palo Alto Research Center</organization> |
---|
| 2176 | <address><email>masinter@parc.xerox.com</email></address> |
---|
| 2177 | </author> |
---|
| 2178 | <date year="1998" month="August"/> |
---|
| 2179 | </front> |
---|
| 2180 | <seriesInfo name="RFC" value="2388"/> |
---|
| 2181 | </reference> |
---|
| 2182 | |
---|
| 2183 | <reference anchor="RFC2557"> |
---|
| 2184 | <front> |
---|
| 2185 | <title abbrev="MIME Encapsulation of Aggregate Documents">MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)</title> |
---|
| 2186 | <author initials="F." surname="Palme" fullname="Jacob Palme"> |
---|
| 2187 | <organization>Stockholm University and KTH</organization> |
---|
| 2188 | <address><email>jpalme@dsv.su.se</email></address> |
---|
| 2189 | </author> |
---|
| 2190 | <author initials="A." surname="Hopmann" fullname="Alex Hopmann"> |
---|
| 2191 | <organization>Microsoft Corporation</organization> |
---|
| 2192 | <address><email>alexhop@microsoft.com</email></address> |
---|
| 2193 | </author> |
---|
| 2194 | <author initials="N." surname="Shelness" fullname="Nick Shelness"> |
---|
| 2195 | <organization>Lotus Development Corporation</organization> |
---|
| 2196 | <address><email>Shelness@lotus.com</email></address> |
---|
| 2197 | </author> |
---|
| 2198 | <author initials="E." surname="Stefferud" fullname="Einar Stefferud"> |
---|
| 2199 | <organization/> |
---|
| 2200 | <address><email>stef@nma.com</email></address> |
---|
| 2201 | </author> |
---|
| 2202 | <date year="1999" month="March"/> |
---|
| 2203 | </front> |
---|
| 2204 | <seriesInfo name="RFC" value="2557"/> |
---|
| 2205 | </reference> |
---|
| 2206 | |
---|
[119] | 2207 | <reference anchor="RFC2616"> |
---|
| 2208 | <front> |
---|
| 2209 | <title>Hypertext Transfer Protocol -- HTTP/1.1</title> |
---|
| 2210 | <author initials="R." surname="Fielding" fullname="R. Fielding"> |
---|
| 2211 | <organization>University of California, Irvine</organization> |
---|
| 2212 | <address><email>fielding@ics.uci.edu</email></address> |
---|
| 2213 | </author> |
---|
| 2214 | <author initials="J." surname="Gettys" fullname="J. Gettys"> |
---|
| 2215 | <organization>W3C</organization> |
---|
| 2216 | <address><email>jg@w3.org</email></address> |
---|
| 2217 | </author> |
---|
| 2218 | <author initials="J." surname="Mogul" fullname="J. Mogul"> |
---|
| 2219 | <organization>Compaq Computer Corporation</organization> |
---|
| 2220 | <address><email>mogul@wrl.dec.com</email></address> |
---|
| 2221 | </author> |
---|
| 2222 | <author initials="H." surname="Frystyk" fullname="H. Frystyk"> |
---|
| 2223 | <organization>MIT Laboratory for Computer Science</organization> |
---|
| 2224 | <address><email>frystyk@w3.org</email></address> |
---|
| 2225 | </author> |
---|
| 2226 | <author initials="L." surname="Masinter" fullname="L. Masinter"> |
---|
| 2227 | <organization>Xerox Corporation</organization> |
---|
| 2228 | <address><email>masinter@parc.xerox.com</email></address> |
---|
| 2229 | </author> |
---|
| 2230 | <author initials="P." surname="Leach" fullname="P. Leach"> |
---|
| 2231 | <organization>Microsoft Corporation</organization> |
---|
| 2232 | <address><email>paulle@microsoft.com</email></address> |
---|
| 2233 | </author> |
---|
| 2234 | <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee"> |
---|
| 2235 | <organization>W3C</organization> |
---|
| 2236 | <address><email>timbl@w3.org</email></address> |
---|
| 2237 | </author> |
---|
| 2238 | <date month="June" year="1999"/> |
---|
| 2239 | </front> |
---|
| 2240 | <seriesInfo name="RFC" value="2616"/> |
---|
[129] | 2241 | </reference> |
---|
[119] | 2242 | |
---|
[133] | 2243 | <reference anchor="RFC2822"> |
---|
| 2244 | <front> |
---|
| 2245 | <title>Internet Message Format</title> |
---|
| 2246 | <author initials="P." surname="Resnick" fullname="P. Resnick"> |
---|
| 2247 | <organization>QUALCOMM Incorporated</organization> |
---|
| 2248 | </author> |
---|
| 2249 | <date year="2001" month="April"/> |
---|
| 2250 | </front> |
---|
| 2251 | <seriesInfo name="RFC" value="2822"/> |
---|
| 2252 | </reference> |
---|
| 2253 | |
---|
[129] | 2254 | <reference anchor="RFC3629"> |
---|
| 2255 | <front> |
---|
| 2256 | <title>UTF-8, a transformation format of ISO 10646</title> |
---|
| 2257 | <author initials="F." surname="Yergeau" fullname="F. Yergeau"> |
---|
| 2258 | <organization>Alis Technologies</organization> |
---|
| 2259 | <address><email>fyergeau@alis.com</email></address> |
---|
| 2260 | </author> |
---|
| 2261 | <date month="November" year="2003"/> |
---|
| 2262 | </front> |
---|
| 2263 | <seriesInfo name="RFC" value="3629"/> |
---|
| 2264 | <seriesInfo name="STD" value="63"/> |
---|
| 2265 | </reference> |
---|
| 2266 | |
---|
[253] | 2267 | <reference anchor='RFC3864'> |
---|
| 2268 | <front> |
---|
| 2269 | <title>Registration Procedures for Message Header Fields</title> |
---|
| 2270 | <author initials='G.' surname='Klyne' fullname='G. Klyne'> |
---|
| 2271 | <organization>Nine by Nine</organization> |
---|
| 2272 | <address><email>GK-IETF@ninebynine.org</email></address> |
---|
| 2273 | </author> |
---|
| 2274 | <author initials='M.' surname='Nottingham' fullname='M. Nottingham'> |
---|
| 2275 | <organization>BEA Systems</organization> |
---|
| 2276 | <address><email>mnot@pobox.com</email></address> |
---|
| 2277 | </author> |
---|
| 2278 | <author initials='J.' surname='Mogul' fullname='J. Mogul'> |
---|
| 2279 | <organization>HP Labs</organization> |
---|
| 2280 | <address><email>JeffMogul@acm.org</email></address> |
---|
| 2281 | </author> |
---|
| 2282 | <date year='2004' month='September' /> |
---|
| 2283 | </front> |
---|
| 2284 | <seriesInfo name='BCP' value='90' /> |
---|
| 2285 | <seriesInfo name='RFC' value='3864' /> |
---|
| 2286 | </reference> |
---|
| 2287 | |
---|
[200] | 2288 | <reference anchor="RFC4288"> |
---|
| 2289 | <front> |
---|
| 2290 | <title>Media Type Specifications and Registration Procedures</title> |
---|
| 2291 | <author initials="N." surname="Freed" fullname="N. Freed"> |
---|
| 2292 | <organization>Sun Microsystems</organization> |
---|
| 2293 | <address> |
---|
| 2294 | <email>ned.freed@mrochek.com</email> |
---|
| 2295 | </address> |
---|
| 2296 | </author> |
---|
| 2297 | <author initials="J." surname="Klensin" fullname="J. Klensin"> |
---|
| 2298 | <organization/> |
---|
| 2299 | <address> |
---|
| 2300 | <email>klensin+ietf@jck.com</email> |
---|
| 2301 | </address> |
---|
| 2302 | </author> |
---|
| 2303 | <date year="2005" month="December"/> |
---|
| 2304 | </front> |
---|
| 2305 | <seriesInfo name="BCP" value="13"/> |
---|
| 2306 | <seriesInfo name="RFC" value="4288"/> |
---|
| 2307 | </reference> |
---|
| 2308 | |
---|
[277] | 2309 | <reference anchor='BCP97'> |
---|
| 2310 | <front> |
---|
| 2311 | <title>Handling Normative References to Standards-Track Documents</title> |
---|
| 2312 | <author initials='J.' surname='Klensin' fullname='J. Klensin'> |
---|
| 2313 | <organization /> |
---|
| 2314 | <address> |
---|
| 2315 | <email>klensin+ietf@jck.com</email> |
---|
| 2316 | </address> |
---|
| 2317 | </author> |
---|
| 2318 | <author initials='S.' surname='Hartman' fullname='S. Hartman'> |
---|
| 2319 | <organization>MIT</organization> |
---|
| 2320 | <address> |
---|
| 2321 | <email>hartmans-ietf@mit.edu</email> |
---|
| 2322 | </address> |
---|
| 2323 | </author> |
---|
| 2324 | <date year='2007' month='June' /> |
---|
| 2325 | </front> |
---|
| 2326 | <seriesInfo name='BCP' value='97' /> |
---|
| 2327 | <seriesInfo name='RFC' value='4897' /> |
---|
| 2328 | </reference> |
---|
| 2329 | |
---|
| 2330 | |
---|
[119] | 2331 | </references> |
---|
| 2332 | |
---|
[8] | 2333 | <section title="Differences Between HTTP Entities and RFC 2045 Entities" anchor="differences.between.http.entities.and.rfc.2045.entities"> |
---|
| 2334 | <t> |
---|
[133] | 2335 | HTTP/1.1 uses many of the constructs defined for Internet Mail (<xref target="RFC2822"/>) and the Multipurpose Internet Mail Extensions (MIME <xref target="RFC2045"/>) to |
---|
[8] | 2336 | allow entities to be transmitted in an open variety of |
---|
| 2337 | representations and with extensible mechanisms. However, RFC 2045 |
---|
| 2338 | discusses mail, and HTTP has a few features that are different from |
---|
| 2339 | those described in RFC 2045. These differences were carefully chosen |
---|
| 2340 | to optimize performance over binary connections, to allow greater |
---|
| 2341 | freedom in the use of new media types, to make date comparisons |
---|
| 2342 | easier, and to acknowledge the practice of some early HTTP servers |
---|
| 2343 | and clients. |
---|
| 2344 | </t> |
---|
| 2345 | <t> |
---|
| 2346 | This appendix describes specific areas where HTTP differs from RFC |
---|
| 2347 | 2045. Proxies and gateways to strict MIME environments &SHOULD; be |
---|
| 2348 | aware of these differences and provide the appropriate conversions |
---|
| 2349 | where necessary. Proxies and gateways from MIME environments to HTTP |
---|
| 2350 | also need to be aware of the differences because some conversions |
---|
| 2351 | might be required. |
---|
| 2352 | </t> |
---|
[229] | 2353 | |
---|
[8] | 2354 | <section title="MIME-Version" anchor="mime-version"> |
---|
[291] | 2355 | <iref primary="true" item="MIME-Version header" x:for-anchor=""/> |
---|
| 2356 | <iref primary="true" item="Headers" subitem="MIME-Version" x:for-anchor=""/> |
---|
[229] | 2357 | <x:anchor-alias value="MIME-Version"/> |
---|
[8] | 2358 | <t> |
---|
| 2359 | HTTP is not a MIME-compliant protocol. However, HTTP/1.1 messages &MAY; |
---|
| 2360 | include a single MIME-Version general-header field to indicate what |
---|
| 2361 | version of the MIME protocol was used to construct the message. Use |
---|
| 2362 | of the MIME-Version header field indicates that the message is in |
---|
[115] | 2363 | full compliance with the MIME protocol (as defined in <xref target="RFC2045"/>). |
---|
[8] | 2364 | Proxies/gateways are responsible for ensuring full compliance (where |
---|
| 2365 | possible) when exporting HTTP messages to strict MIME environments. |
---|
| 2366 | </t> |
---|
| 2367 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="MIME-Version"/> |
---|
[229] | 2368 | <x:ref>MIME-Version</x:ref> = "MIME-Version" ":" 1*<x:ref>DIGIT</x:ref> "." 1*<x:ref>DIGIT</x:ref> |
---|
[8] | 2369 | </artwork></figure> |
---|
| 2370 | <t> |
---|
| 2371 | MIME version "1.0" is the default for use in HTTP/1.1. However, |
---|
| 2372 | HTTP/1.1 message parsing and semantics are defined by this document |
---|
| 2373 | and not the MIME specification. |
---|
| 2374 | </t> |
---|
| 2375 | </section> |
---|
| 2376 | |
---|
| 2377 | <section title="Conversion to Canonical Form" anchor="conversion.to.canonical.form"> |
---|
| 2378 | <t> |
---|
[97] | 2379 | <xref target="RFC2045"/> requires that an Internet mail entity be converted to |
---|
[115] | 2380 | canonical form prior to being transferred, as described in <xref target="RFC2049" x:fmt="of" x:sec="4"/>. |
---|
[97] | 2381 | <xref target="canonicalization.and.text.defaults"/> of this document describes the forms |
---|
[8] | 2382 | allowed for subtypes of the "text" media type when transmitted over |
---|
[97] | 2383 | HTTP. <xref target="RFC2046"/> requires that content with a type of "text" represent |
---|
[8] | 2384 | line breaks as CRLF and forbids the use of CR or LF outside of line |
---|
| 2385 | break sequences. HTTP allows CRLF, bare CR, and bare LF to indicate a |
---|
| 2386 | line break within text content when a message is transmitted over |
---|
| 2387 | HTTP. |
---|
| 2388 | </t> |
---|
| 2389 | <t> |
---|
| 2390 | Where it is possible, a proxy or gateway from HTTP to a strict MIME |
---|
| 2391 | environment &SHOULD; translate all line breaks within the text media |
---|
| 2392 | types described in <xref target="canonicalization.and.text.defaults"/> of this document to the RFC 2049 |
---|
| 2393 | canonical form of CRLF. Note, however, that this might be complicated |
---|
| 2394 | by the presence of a Content-Encoding and by the fact that HTTP |
---|
| 2395 | allows the use of some character sets which do not use octets 13 and |
---|
| 2396 | 10 to represent CR and LF, as is the case for some multi-byte |
---|
| 2397 | character sets. |
---|
| 2398 | </t> |
---|
| 2399 | <t> |
---|
| 2400 | Implementors should note that conversion will break any cryptographic |
---|
| 2401 | checksums applied to the original content unless the original content |
---|
| 2402 | is already in canonical form. Therefore, the canonical form is |
---|
| 2403 | recommended for any content that uses such checksums in HTTP. |
---|
| 2404 | </t> |
---|
| 2405 | </section> |
---|
| 2406 | |
---|
| 2407 | <section title="Introduction of Content-Encoding" anchor="introduction.of.content-encoding"> |
---|
| 2408 | <t> |
---|
| 2409 | RFC 2045 does not include any concept equivalent to HTTP/1.1's |
---|
| 2410 | Content-Encoding header field. Since this acts as a modifier on the |
---|
| 2411 | media type, proxies and gateways from HTTP to MIME-compliant |
---|
| 2412 | protocols &MUST; either change the value of the Content-Type header |
---|
| 2413 | field or decode the entity-body before forwarding the message. (Some |
---|
| 2414 | experimental applications of Content-Type for Internet mail have used |
---|
| 2415 | a media-type parameter of ";conversions=<content-coding>" to perform |
---|
| 2416 | a function equivalent to Content-Encoding. However, this parameter is |
---|
| 2417 | not part of RFC 2045). |
---|
| 2418 | </t> |
---|
| 2419 | </section> |
---|
| 2420 | |
---|
| 2421 | <section title="No Content-Transfer-Encoding" anchor="no.content-transfer-encoding"> |
---|
| 2422 | <t> |
---|
[85] | 2423 | HTTP does not use the Content-Transfer-Encoding field of RFC |
---|
[8] | 2424 | 2045. Proxies and gateways from MIME-compliant protocols to HTTP &MUST; |
---|
[85] | 2425 | remove any Content-Transfer-Encoding |
---|
[8] | 2426 | prior to delivering the response message to an HTTP client. |
---|
| 2427 | </t> |
---|
| 2428 | <t> |
---|
| 2429 | Proxies and gateways from HTTP to MIME-compliant protocols are |
---|
| 2430 | responsible for ensuring that the message is in the correct format |
---|
| 2431 | and encoding for safe transport on that protocol, where "safe |
---|
| 2432 | transport" is defined by the limitations of the protocol being used. |
---|
| 2433 | Such a proxy or gateway &SHOULD; label the data with an appropriate |
---|
| 2434 | Content-Transfer-Encoding if doing so will improve the likelihood of |
---|
| 2435 | safe transport over the destination protocol. |
---|
| 2436 | </t> |
---|
| 2437 | </section> |
---|
| 2438 | |
---|
| 2439 | <section title="Introduction of Transfer-Encoding" anchor="introduction.of.transfer-encoding"> |
---|
| 2440 | <t> |
---|
[29] | 2441 | HTTP/1.1 introduces the Transfer-Encoding header field (&header-transfer-encoding;). |
---|
[8] | 2442 | Proxies/gateways &MUST; remove any transfer-coding prior to |
---|
| 2443 | forwarding a message via a MIME-compliant protocol. |
---|
| 2444 | </t> |
---|
| 2445 | </section> |
---|
| 2446 | |
---|
| 2447 | <section title="MHTML and Line Length Limitations" anchor="mhtml.line.length"> |
---|
| 2448 | <t> |
---|
[129] | 2449 | HTTP implementations which share code with MHTML <xref target="RFC2557"/> implementations |
---|
[8] | 2450 | need to be aware of MIME line length limitations. Since HTTP does not |
---|
| 2451 | have this limitation, HTTP does not fold long lines. MHTML messages |
---|
| 2452 | being transported by HTTP follow all conventions of MHTML, including |
---|
| 2453 | line length limitations and folding, canonicalization, etc., since |
---|
| 2454 | HTTP transports all message-bodies as payload (see <xref target="multipart.types"/>) and |
---|
| 2455 | does not interpret the content or any MIME header lines that might be |
---|
| 2456 | contained therein. |
---|
| 2457 | </t> |
---|
| 2458 | </section> |
---|
| 2459 | </section> |
---|
| 2460 | |
---|
| 2461 | <section title="Additional Features" anchor="additional.features"> |
---|
| 2462 | <t> |
---|
[97] | 2463 | <xref target="RFC1945"/> and <xref target="RFC2068"/> document protocol elements used by some |
---|
[8] | 2464 | existing HTTP implementations, but not consistently and correctly |
---|
| 2465 | across most HTTP/1.1 applications. Implementors are advised to be |
---|
| 2466 | aware of these features, but cannot rely upon their presence in, or |
---|
| 2467 | interoperability with, other HTTP/1.1 applications. Some of these |
---|
| 2468 | describe proposed experimental features, and some describe features |
---|
| 2469 | that experimental deployment found lacking that are now addressed in |
---|
| 2470 | the base HTTP/1.1 specification. |
---|
| 2471 | </t> |
---|
| 2472 | <t> |
---|
| 2473 | A number of other headers, such as Content-Disposition and Title, |
---|
[97] | 2474 | from SMTP and MIME are also often implemented (see <xref target="RFC2076"/>). |
---|
[8] | 2475 | </t> |
---|
| 2476 | |
---|
| 2477 | <section title="Content-Disposition" anchor="content-disposition"> |
---|
| 2478 | <iref item="Headers" subitem="Content-Disposition" primary="true" x:for-anchor=""/> |
---|
| 2479 | <iref item="Content-Disposition header" primary="true" x:for-anchor=""/> |
---|
[229] | 2480 | <x:anchor-alias value="content-disposition"/> |
---|
| 2481 | <x:anchor-alias value="disposition-type"/> |
---|
| 2482 | <x:anchor-alias value="disposition-parm"/> |
---|
| 2483 | <x:anchor-alias value="disp-extension-parm"/> |
---|
| 2484 | <x:anchor-alias value="disp-extension-token"/> |
---|
| 2485 | <x:anchor-alias value="filename-parm"/> |
---|
[8] | 2486 | <t> |
---|
| 2487 | The Content-Disposition response-header field has been proposed as a |
---|
| 2488 | means for the origin server to suggest a default filename if the user |
---|
| 2489 | requests that the content is saved to a file. This usage is derived |
---|
[269] | 2490 | from the definition of Content-Disposition in <xref target="RFC2183"/>. |
---|
[8] | 2491 | </t> |
---|
| 2492 | <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="content-disposition"/><iref primary="true" item="Grammar" subitem="disposition-type"/><iref primary="true" item="Grammar" subitem="disposition-parm"/><iref primary="true" item="Grammar" subitem="filename-parm"/><iref primary="true" item="Grammar" subitem="disp-extension-token"/><iref primary="true" item="Grammar" subitem="disp-extension-parm"/> |
---|
[229] | 2493 | <x:ref>content-disposition</x:ref> = "Content-Disposition" ":" |
---|
| 2494 | <x:ref>disposition-type</x:ref> *( ";" <x:ref>disposition-parm</x:ref> ) |
---|
| 2495 | <x:ref>disposition-type</x:ref> = "attachment" | <x:ref>disp-extension-token</x:ref> |
---|
| 2496 | <x:ref>disposition-parm</x:ref> = <x:ref>filename-parm</x:ref> | <x:ref>disp-extension-parm</x:ref> |
---|
| 2497 | <x:ref>filename-parm</x:ref> = "filename" "=" <x:ref>quoted-string</x:ref> |
---|
| 2498 | <x:ref>disp-extension-token</x:ref> = <x:ref>token</x:ref> |
---|
| 2499 | <x:ref>disp-extension-parm</x:ref> = <x:ref>token</x:ref> "=" ( <x:ref>token</x:ref> | <x:ref>quoted-string</x:ref> ) |
---|
[8] | 2500 | </artwork></figure> |
---|
| 2501 | <t> |
---|
| 2502 | An example is |
---|
| 2503 | </t> |
---|
| 2504 | <figure><artwork type="example"> |
---|
| 2505 | Content-Disposition: attachment; filename="fname.ext" |
---|
| 2506 | </artwork></figure> |
---|
| 2507 | <t> |
---|
| 2508 | The receiving user agent &SHOULD-NOT; respect any directory path |
---|
| 2509 | information present in the filename-parm parameter, which is the only |
---|
| 2510 | parameter believed to apply to HTTP implementations at this time. The |
---|
| 2511 | filename &SHOULD; be treated as a terminal component only. |
---|
| 2512 | </t> |
---|
| 2513 | <t> |
---|
| 2514 | If this header is used in a response with the application/octet-stream |
---|
| 2515 | content-type, the implied suggestion is that the user agent |
---|
| 2516 | should not display the response, but directly enter a `save response |
---|
| 2517 | as...' dialog. |
---|
| 2518 | </t> |
---|
| 2519 | <t> |
---|
| 2520 | See <xref target="content-disposition.issues"/> for Content-Disposition security issues. |
---|
| 2521 | </t> |
---|
| 2522 | </section> |
---|
| 2523 | </section> |
---|
| 2524 | |
---|
[99] | 2525 | <section title="Compatibility with Previous Versions" anchor="compatibility"> |
---|
[8] | 2526 | <section title="Changes from RFC 2068" anchor="changes.from.rfc.2068"> |
---|
| 2527 | <t> |
---|
[138] | 2528 | Transfer-coding and message lengths all interact in ways that |
---|
| 2529 | required fixing exactly when chunked encoding is used (to allow for |
---|
| 2530 | transfer encoding that may not be self delimiting); it was important |
---|
| 2531 | to straighten out exactly how message lengths are computed. |
---|
| 2532 | (<xref target="entity.length"/>, see also <xref target="Part1"/>, |
---|
| 2533 | <xref target="Part5"/> and <xref target="Part6"/>). |
---|
| 2534 | </t> |
---|
| 2535 | <t> |
---|
[29] | 2536 | Charset wildcarding is introduced to avoid explosion of character set |
---|
| 2537 | names in accept headers. (<xref target="header.accept-charset"/>) |
---|
[8] | 2538 | </t> |
---|
| 2539 | <t> |
---|
| 2540 | Content-Base was deleted from the specification: it was not |
---|
| 2541 | implemented widely, and there is no simple, safe way to introduce it |
---|
| 2542 | without a robust extension mechanism. In addition, it is used in a |
---|
[129] | 2543 | similar, but not identical fashion in MHTML <xref target="RFC2557"/>. |
---|
[8] | 2544 | </t> |
---|
| 2545 | <t> |
---|
| 2546 | A content-coding of "identity" was introduced, to solve problems |
---|
| 2547 | discovered in caching. (<xref target="content.codings"/>) |
---|
| 2548 | </t> |
---|
| 2549 | <t> |
---|
| 2550 | Quality Values of zero should indicate that "I don't want something" |
---|
| 2551 | to allow clients to refuse a representation. (<xref target="quality.values"/>) |
---|
| 2552 | </t> |
---|
| 2553 | <t> |
---|
| 2554 | The Alternates<iref item="Alternates header" primary="true"/><iref item="Headers" subitem="Alternate" primary="true"/>, Content-Version<iref item="Content-Version header" primary="true"/><iref item="Headers" subitem="Content-Version" primary="true"/>, Derived-From<iref item="Derived-From header" primary="true"/><iref item="Headers" subitem="Derived-From" primary="true"/>, Link<iref item="Link header" primary="true"/><iref item="Headers" subitem="Link" primary="true"/>, URI<iref item="URI header" primary="true"/><iref item="Headers" subitem="URI" primary="true"/>, Public<iref item="Public header" primary="true"/><iref item="Headers" subitem="Public" primary="true"/> and |
---|
| 2555 | Content-Base<iref item="Content-Base header" primary="true"/><iref item="Headers" subitem="Content-Base" primary="true"/> header fields were defined in previous versions of this |
---|
[268] | 2556 | specification, but not commonly implemented. See <xref target="RFC2068" x:fmt="of" x:sec="19.6.2"/>. |
---|
[8] | 2557 | </t> |
---|
| 2558 | </section> |
---|
[99] | 2559 | |
---|
| 2560 | <section title="Changes from RFC 2616" anchor="changes.from.rfc.2616"> |
---|
[102] | 2561 | <t> |
---|
| 2562 | Clarify contexts that charset is used in. |
---|
| 2563 | (<xref target="character.sets"/>) |
---|
| 2564 | </t> |
---|
[104] | 2565 | <t> |
---|
| 2566 | Remove reference to non-existant identity transfer-coding value tokens. |
---|
| 2567 | (<xref target="no.content-transfer-encoding"/>) |
---|
| 2568 | </t> |
---|
[99] | 2569 | </section> |
---|
| 2570 | |
---|
| 2571 | </section> |
---|
| 2572 | |
---|
[252] | 2573 | <section title="Change Log (to be removed by RFC Editor before publication)" anchor="change.log"> |
---|
[115] | 2574 | |
---|
| 2575 | <section title="Since RFC2616"> |
---|
| 2576 | <t> |
---|
| 2577 | Extracted relevant partitions from <xref target="RFC2616"/>. |
---|
| 2578 | </t> |
---|
| 2579 | </section> |
---|
| 2580 | |
---|
| 2581 | <section title="Since draft-ietf-httpbis-p3-payload-00"> |
---|
| 2582 | <t> |
---|
[116] | 2583 | Closed issues: |
---|
| 2584 | <list style="symbols"> |
---|
| 2585 | <t> |
---|
| 2586 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/8"/>: |
---|
| 2587 | "Media Type Registrations" |
---|
| 2588 | (<eref target="http://purl.org/NET/http-errata#media-reg"/>) |
---|
| 2589 | </t> |
---|
| 2590 | <t> |
---|
| 2591 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/14"/>: |
---|
| 2592 | "Clarification regarding quoting of charset values" |
---|
| 2593 | (<eref target="http://purl.org/NET/http-errata#charactersets"/>) |
---|
| 2594 | </t> |
---|
| 2595 | <t> |
---|
| 2596 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/16"/>: |
---|
| 2597 | "Remove 'identity' token references" |
---|
| 2598 | (<eref target="http://purl.org/NET/http-errata#identity"/>) |
---|
| 2599 | </t> |
---|
| 2600 | <t> |
---|
[126] | 2601 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/25"/>: |
---|
| 2602 | "Accept-Encoding BNF" |
---|
| 2603 | </t> |
---|
| 2604 | <t> |
---|
[152] | 2605 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/35"/>: |
---|
| 2606 | "Normative and Informative references" |
---|
| 2607 | </t> |
---|
| 2608 | <t> |
---|
[116] | 2609 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/46"/>: |
---|
| 2610 | "RFC1700 references" |
---|
| 2611 | </t> |
---|
[122] | 2612 | <t> |
---|
[200] | 2613 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/55"/>: |
---|
| 2614 | "Updating to RFC4288" |
---|
| 2615 | </t> |
---|
| 2616 | <t> |
---|
[129] | 2617 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/65"/>: |
---|
| 2618 | "Informative references" |
---|
| 2619 | </t> |
---|
| 2620 | <t> |
---|
[123] | 2621 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/66"/>: |
---|
| 2622 | "ISO-8859-1 Reference" |
---|
| 2623 | </t> |
---|
| 2624 | <t> |
---|
[122] | 2625 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/68"/>: |
---|
| 2626 | "Encoding References Normative" |
---|
| 2627 | </t> |
---|
[131] | 2628 | <t> |
---|
| 2629 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/86"/>: |
---|
| 2630 | "Normative up-to-date references" |
---|
| 2631 | </t> |
---|
[116] | 2632 | </list> |
---|
[115] | 2633 | </t> |
---|
| 2634 | </section> |
---|
| 2635 | |
---|
[170] | 2636 | <section title="Since draft-ietf-httpbis-p3-payload-01"> |
---|
| 2637 | <t> |
---|
[205] | 2638 | Ongoing work on ABNF conversion (<eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36"/>): |
---|
| 2639 | <list style="symbols"> |
---|
| 2640 | <t> |
---|
| 2641 | Add explicit references to BNF syntax and rules imported from other parts of the specification. |
---|
| 2642 | </t> |
---|
| 2643 | </list> |
---|
[170] | 2644 | </t> |
---|
[115] | 2645 | </section> |
---|
| 2646 | |
---|
[252] | 2647 | <section title="Since draft-ietf-httpbis-p3-payload-02" anchor="changes.since.02"> |
---|
[228] | 2648 | <t> |
---|
[232] | 2649 | Closed issues: |
---|
| 2650 | <list style="symbols"> |
---|
| 2651 | <t> |
---|
[251] | 2652 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/67"/>: |
---|
| 2653 | "Quoting Charsets" |
---|
| 2654 | </t> |
---|
| 2655 | <t> |
---|
[232] | 2656 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/105"/>: |
---|
| 2657 | "Classification for Allow header" |
---|
| 2658 | </t> |
---|
[248] | 2659 | <t> |
---|
| 2660 | <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/115"/>: |
---|
| 2661 | "missing default for qvalue in description of Accept-Encoding" |
---|
| 2662 | </t> |
---|
[232] | 2663 | </list> |
---|
[228] | 2664 | </t> |
---|
[253] | 2665 | <t> |
---|
| 2666 | Ongoing work on IANA Message Header Registration (<eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/40"/>): |
---|
| 2667 | <list style="symbols"> |
---|
| 2668 | <t> |
---|
| 2669 | Reference RFC 3984, and update header registrations for headers defined |
---|
| 2670 | in this document. |
---|
| 2671 | </t> |
---|
| 2672 | </list> |
---|
| 2673 | </t> |
---|
[170] | 2674 | </section> |
---|
| 2675 | |
---|
[267] | 2676 | <section title="Since draft-ietf-httpbis-p3-payload-03" anchor="changes.since.03"> |
---|
| 2677 | <t> |
---|
[269] | 2678 | Closed issues: |
---|
| 2679 | <list style="symbols"> |
---|
| 2680 | <t> |
---|
[297] | 2681 | <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/67"/>: |
---|
| 2682 | "Quoting Charsets" |
---|
| 2683 | </t> |
---|
| 2684 | <t> |
---|
[303] | 2685 | <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/113"/>: |
---|
| 2686 | "language tag matching (Accept-Language) vs RFC4647" |
---|
| 2687 | </t> |
---|
| 2688 | <t> |
---|
[277] | 2689 | <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/121"/>: |
---|
[269] | 2690 | "RFC 1806 has been replaced by RFC2183" |
---|
| 2691 | </t> |
---|
| 2692 | </list> |
---|
[267] | 2693 | </t> |
---|
[277] | 2694 | <t> |
---|
| 2695 | Other changes: |
---|
| 2696 | <list style="symbols"> |
---|
| 2697 | <t> |
---|
| 2698 | <eref target="http://tools.ietf.org/wg/httpbis/trac/ticket/68"/>: |
---|
| 2699 | "Encoding References Normative" -- rephrase the annotation and reference |
---|
| 2700 | <xref target="BCP97"/>. |
---|
| 2701 | </t> |
---|
| 2702 | </list> |
---|
| 2703 | </t> |
---|
[269] | 2704 | </section> |
---|
[228] | 2705 | |
---|
[267] | 2706 | </section> |
---|
| 2707 | |
---|
[8] | 2708 | </back> |
---|
| 2709 | </rfc> |
---|