[52] | 1 | <!DOCTYPE html |
---|
| 2 | PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
---|
| 3 | <html lang="en"> |
---|
[573] | 4 | <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/"> |
---|
[52] | 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
| 6 | <title>HTTP/1.1, part 3: Message Payload and Content Negotiation</title><style type="text/css" title="Xml2Rfc (sans serif)"> |
---|
| 7 | a { |
---|
| 8 | text-decoration: none; |
---|
| 9 | } |
---|
| 10 | a.smpl { |
---|
| 11 | color: black; |
---|
| 12 | } |
---|
| 13 | a:hover { |
---|
| 14 | text-decoration: underline; |
---|
| 15 | } |
---|
| 16 | a:active { |
---|
| 17 | text-decoration: underline; |
---|
| 18 | } |
---|
| 19 | address { |
---|
| 20 | margin-top: 1em; |
---|
| 21 | margin-left: 2em; |
---|
| 22 | font-style: normal; |
---|
| 23 | } |
---|
[303] | 24 | blockquote { |
---|
| 25 | border-style: solid; |
---|
| 26 | border-color: gray; |
---|
| 27 | border-width: 0 0 0 .25em; |
---|
| 28 | font-style: italic; |
---|
| 29 | padding-left: 0.5em; |
---|
| 30 | } |
---|
[52] | 31 | body { |
---|
| 32 | color: black; |
---|
| 33 | font-family: verdana, helvetica, arial, sans-serif; |
---|
| 34 | font-size: 10pt; |
---|
| 35 | } |
---|
| 36 | cite { |
---|
| 37 | font-style: normal; |
---|
| 38 | } |
---|
[563] | 39 | div.note { |
---|
| 40 | margin-left: 2em; |
---|
| 41 | } |
---|
[52] | 42 | dd { |
---|
| 43 | margin-right: 2em; |
---|
| 44 | } |
---|
| 45 | dl { |
---|
| 46 | margin-left: 2em; |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | dl.empty dd { |
---|
| 50 | margin-top: .5em; |
---|
| 51 | } |
---|
| 52 | dl p { |
---|
| 53 | margin-left: 0em; |
---|
| 54 | } |
---|
| 55 | dt { |
---|
| 56 | margin-top: .5em; |
---|
| 57 | } |
---|
| 58 | h1 { |
---|
| 59 | font-size: 14pt; |
---|
| 60 | line-height: 21pt; |
---|
| 61 | page-break-after: avoid; |
---|
| 62 | } |
---|
| 63 | h1.np { |
---|
| 64 | page-break-before: always; |
---|
| 65 | } |
---|
| 66 | h1 a { |
---|
| 67 | color: #333333; |
---|
| 68 | } |
---|
| 69 | h2 { |
---|
| 70 | font-size: 12pt; |
---|
| 71 | line-height: 15pt; |
---|
| 72 | page-break-after: avoid; |
---|
| 73 | } |
---|
[446] | 74 | h3, h4, h5, h6 { |
---|
[52] | 75 | font-size: 10pt; |
---|
| 76 | page-break-after: avoid; |
---|
| 77 | } |
---|
[446] | 78 | h2 a, h3 a, h4 a, h5 a, h6 a { |
---|
[52] | 79 | color: black; |
---|
| 80 | } |
---|
| 81 | img { |
---|
| 82 | margin-left: 3em; |
---|
| 83 | } |
---|
| 84 | li { |
---|
| 85 | margin-left: 2em; |
---|
| 86 | margin-right: 2em; |
---|
| 87 | } |
---|
| 88 | ol { |
---|
| 89 | margin-left: 2em; |
---|
| 90 | margin-right: 2em; |
---|
| 91 | } |
---|
| 92 | ol p { |
---|
| 93 | margin-left: 0em; |
---|
| 94 | } |
---|
| 95 | p { |
---|
| 96 | margin-left: 2em; |
---|
| 97 | margin-right: 2em; |
---|
| 98 | } |
---|
| 99 | pre { |
---|
| 100 | margin-left: 3em; |
---|
| 101 | background-color: lightyellow; |
---|
| 102 | padding: .25em; |
---|
| 103 | } |
---|
| 104 | pre.text2 { |
---|
| 105 | border-style: dotted; |
---|
| 106 | border-width: 1px; |
---|
| 107 | background-color: #f0f0f0; |
---|
| 108 | width: 69em; |
---|
| 109 | } |
---|
| 110 | pre.inline { |
---|
| 111 | background-color: white; |
---|
| 112 | padding: 0em; |
---|
| 113 | } |
---|
| 114 | pre.text { |
---|
| 115 | border-style: dotted; |
---|
| 116 | border-width: 1px; |
---|
| 117 | background-color: #f8f8f8; |
---|
| 118 | width: 69em; |
---|
| 119 | } |
---|
| 120 | pre.drawing { |
---|
| 121 | border-style: solid; |
---|
| 122 | border-width: 1px; |
---|
| 123 | background-color: #f8f8f8; |
---|
| 124 | padding: 2em; |
---|
| 125 | } |
---|
| 126 | table { |
---|
| 127 | margin-left: 2em; |
---|
| 128 | } |
---|
[253] | 129 | table.tt { |
---|
| 130 | vertical-align: top; |
---|
| 131 | } |
---|
| 132 | table.full { |
---|
| 133 | border-style: outset; |
---|
| 134 | border-width: 1px; |
---|
| 135 | } |
---|
| 136 | table.headers { |
---|
| 137 | border-style: outset; |
---|
| 138 | border-width: 1px; |
---|
| 139 | } |
---|
| 140 | table.tt td { |
---|
| 141 | vertical-align: top; |
---|
| 142 | } |
---|
| 143 | table.full td { |
---|
| 144 | border-style: inset; |
---|
| 145 | border-width: 1px; |
---|
| 146 | } |
---|
| 147 | table.tt th { |
---|
| 148 | vertical-align: top; |
---|
| 149 | } |
---|
| 150 | table.full th { |
---|
| 151 | border-style: inset; |
---|
| 152 | border-width: 1px; |
---|
| 153 | } |
---|
| 154 | table.headers th { |
---|
| 155 | border-style: none none inset none; |
---|
| 156 | border-width: 1px; |
---|
| 157 | } |
---|
[663] | 158 | table.left { |
---|
| 159 | margin-right: auto; |
---|
| 160 | } |
---|
| 161 | table.right { |
---|
| 162 | margin-left: auto; |
---|
| 163 | } |
---|
| 164 | table.center { |
---|
| 165 | margin-left: auto; |
---|
| 166 | margin-right: auto; |
---|
| 167 | } |
---|
[454] | 168 | caption { |
---|
| 169 | caption-side: bottom; |
---|
| 170 | font-weight: bold; |
---|
| 171 | font-size: 9pt; |
---|
| 172 | margin-top: .5em; |
---|
| 173 | } |
---|
| 174 | |
---|
[52] | 175 | table.header { |
---|
| 176 | width: 95%; |
---|
| 177 | font-size: 10pt; |
---|
| 178 | color: white; |
---|
| 179 | } |
---|
| 180 | td.top { |
---|
| 181 | vertical-align: top; |
---|
| 182 | } |
---|
| 183 | td.topnowrap { |
---|
| 184 | vertical-align: top; |
---|
| 185 | white-space: nowrap; |
---|
| 186 | } |
---|
| 187 | td.header { |
---|
| 188 | background-color: gray; |
---|
| 189 | width: 50%; |
---|
| 190 | } |
---|
[227] | 191 | td.header a { |
---|
| 192 | color: white; |
---|
| 193 | } |
---|
[52] | 194 | td.reference { |
---|
| 195 | vertical-align: top; |
---|
| 196 | white-space: nowrap; |
---|
| 197 | padding-right: 1em; |
---|
| 198 | } |
---|
| 199 | thead { |
---|
| 200 | display:table-header-group; |
---|
| 201 | } |
---|
| 202 | ul.toc { |
---|
| 203 | list-style: none; |
---|
| 204 | margin-left: 1.5em; |
---|
| 205 | margin-right: 0em; |
---|
| 206 | padding-left: 0em; |
---|
| 207 | } |
---|
| 208 | li.tocline0 { |
---|
| 209 | line-height: 150%; |
---|
| 210 | font-weight: bold; |
---|
| 211 | font-size: 10pt; |
---|
| 212 | margin-left: 0em; |
---|
| 213 | margin-right: 0em; |
---|
| 214 | } |
---|
| 215 | li.tocline1 { |
---|
| 216 | line-height: normal; |
---|
| 217 | font-weight: normal; |
---|
| 218 | font-size: 9pt; |
---|
| 219 | margin-left: 0em; |
---|
| 220 | margin-right: 0em; |
---|
| 221 | } |
---|
| 222 | li.tocline2 { |
---|
| 223 | font-size: 0pt; |
---|
| 224 | } |
---|
| 225 | ul p { |
---|
| 226 | margin-left: 0em; |
---|
| 227 | } |
---|
| 228 | ul.ind { |
---|
| 229 | list-style: none; |
---|
| 230 | margin-left: 1.5em; |
---|
| 231 | margin-right: 0em; |
---|
| 232 | padding-left: 0em; |
---|
[440] | 233 | page-break-before: avoid; |
---|
[52] | 234 | } |
---|
| 235 | li.indline0 { |
---|
| 236 | font-weight: bold; |
---|
| 237 | line-height: 200%; |
---|
| 238 | margin-left: 0em; |
---|
| 239 | margin-right: 0em; |
---|
| 240 | } |
---|
| 241 | li.indline1 { |
---|
| 242 | font-weight: normal; |
---|
| 243 | line-height: 150%; |
---|
| 244 | margin-left: 0em; |
---|
| 245 | margin-right: 0em; |
---|
| 246 | } |
---|
[662] | 247 | .avoidbreak { |
---|
| 248 | page-break-inside: avoid; |
---|
| 249 | } |
---|
[52] | 250 | .bcp14 { |
---|
| 251 | font-style: normal; |
---|
| 252 | text-transform: lowercase; |
---|
| 253 | font-variant: small-caps; |
---|
| 254 | } |
---|
[303] | 255 | blockquote > * .bcp14 { |
---|
| 256 | font-style: italic; |
---|
| 257 | } |
---|
[52] | 258 | .comment { |
---|
| 259 | background-color: yellow; |
---|
| 260 | } |
---|
| 261 | .center { |
---|
| 262 | text-align: center; |
---|
| 263 | } |
---|
| 264 | .error { |
---|
| 265 | color: red; |
---|
| 266 | font-style: italic; |
---|
| 267 | font-weight: bold; |
---|
| 268 | } |
---|
| 269 | .figure { |
---|
| 270 | font-weight: bold; |
---|
| 271 | text-align: center; |
---|
| 272 | font-size: 9pt; |
---|
| 273 | } |
---|
| 274 | .filename { |
---|
| 275 | color: #333333; |
---|
| 276 | font-weight: bold; |
---|
| 277 | font-size: 12pt; |
---|
| 278 | line-height: 21pt; |
---|
| 279 | text-align: center; |
---|
| 280 | } |
---|
| 281 | .fn { |
---|
| 282 | font-weight: bold; |
---|
| 283 | } |
---|
| 284 | .hidden { |
---|
| 285 | display: none; |
---|
| 286 | } |
---|
| 287 | .left { |
---|
| 288 | text-align: left; |
---|
| 289 | } |
---|
| 290 | .right { |
---|
| 291 | text-align: right; |
---|
| 292 | } |
---|
| 293 | .title { |
---|
| 294 | color: #990000; |
---|
| 295 | font-size: 18pt; |
---|
| 296 | line-height: 18pt; |
---|
| 297 | font-weight: bold; |
---|
| 298 | text-align: center; |
---|
| 299 | margin-top: 36pt; |
---|
| 300 | } |
---|
| 301 | .vcardline { |
---|
| 302 | display: block; |
---|
| 303 | } |
---|
| 304 | .warning { |
---|
| 305 | font-size: 14pt; |
---|
| 306 | background-color: yellow; |
---|
| 307 | } |
---|
| 308 | |
---|
| 309 | |
---|
| 310 | @media print { |
---|
| 311 | .noprint { |
---|
| 312 | display: none; |
---|
| 313 | } |
---|
| 314 | |
---|
| 315 | a { |
---|
| 316 | color: black; |
---|
| 317 | text-decoration: none; |
---|
| 318 | } |
---|
| 319 | |
---|
| 320 | table.header { |
---|
| 321 | width: 90%; |
---|
| 322 | } |
---|
| 323 | |
---|
| 324 | td.header { |
---|
| 325 | width: 50%; |
---|
| 326 | color: black; |
---|
| 327 | background-color: white; |
---|
| 328 | vertical-align: top; |
---|
| 329 | font-size: 12pt; |
---|
| 330 | } |
---|
| 331 | |
---|
| 332 | ul.toc a::after { |
---|
| 333 | content: leader('.') target-counter(attr(href), page); |
---|
| 334 | } |
---|
| 335 | |
---|
| 336 | a.iref { |
---|
| 337 | content: target-counter(attr(href), page); |
---|
| 338 | } |
---|
| 339 | |
---|
| 340 | .print2col { |
---|
| 341 | column-count: 2; |
---|
| 342 | -moz-column-count: 2; |
---|
| 343 | column-fill: auto; |
---|
| 344 | } |
---|
| 345 | } |
---|
| 346 | |
---|
| 347 | @page { |
---|
| 348 | @top-left { |
---|
| 349 | content: "INTERNET DRAFT"; |
---|
| 350 | } |
---|
| 351 | @top-right { |
---|
[662] | 352 | content: "August 2009"; |
---|
[52] | 353 | } |
---|
| 354 | @top-center { |
---|
[120] | 355 | content: "HTTP/1.1, Part 3"; |
---|
[52] | 356 | } |
---|
| 357 | @bottom-left { |
---|
| 358 | content: "Fielding, et al."; |
---|
| 359 | } |
---|
| 360 | @bottom-center { |
---|
| 361 | content: "Standards Track"; |
---|
| 362 | } |
---|
| 363 | @bottom-right { |
---|
| 364 | content: "[Page " counter(page) "]"; |
---|
| 365 | } |
---|
| 366 | } |
---|
| 367 | |
---|
| 368 | @page:first { |
---|
| 369 | @top-left { |
---|
| 370 | content: normal; |
---|
| 371 | } |
---|
| 372 | @top-right { |
---|
| 373 | content: normal; |
---|
| 374 | } |
---|
| 375 | @top-center { |
---|
| 376 | content: normal; |
---|
| 377 | } |
---|
| 378 | } |
---|
| 379 | </style><link rel="Contents" href="#rfc.toc"> |
---|
| 380 | <link rel="Author" href="#rfc.authors"> |
---|
| 381 | <link rel="Copyright" href="#rfc.copyright"> |
---|
| 382 | <link rel="Index" href="#rfc.index"> |
---|
| 383 | <link rel="Chapter" title="1 Introduction" href="#rfc.section.1"> |
---|
[424] | 384 | <link rel="Chapter" title="2 Protocol Parameters" href="#rfc.section.2"> |
---|
| 385 | <link rel="Chapter" title="3 Entity" href="#rfc.section.3"> |
---|
| 386 | <link rel="Chapter" title="4 Content Negotiation" href="#rfc.section.4"> |
---|
| 387 | <link rel="Chapter" title="5 Header Field Definitions" href="#rfc.section.5"> |
---|
| 388 | <link rel="Chapter" title="6 IANA Considerations" href="#rfc.section.6"> |
---|
| 389 | <link rel="Chapter" title="7 Security Considerations" href="#rfc.section.7"> |
---|
| 390 | <link rel="Chapter" title="8 Acknowledgments" href="#rfc.section.8"> |
---|
| 391 | <link rel="Chapter" href="#rfc.section.9" title="9 References"> |
---|
[52] | 392 | <link rel="Appendix" title="A Differences Between HTTP Entities and RFC 2045 Entities" href="#rfc.section.A"> |
---|
| 393 | <link rel="Appendix" title="B Additional Features" href="#rfc.section.B"> |
---|
[99] | 394 | <link rel="Appendix" title="C Compatibility with Previous Versions" href="#rfc.section.C"> |
---|
[421] | 395 | <link rel="Appendix" title="D Collected ABNF" href="#rfc.section.D"> |
---|
| 396 | <link rel="Appendix" title="E Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.E"> |
---|
[663] | 397 | <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.447, 2009-08-04 19:54:03, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/"> |
---|
[52] | 398 | <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"> |
---|
| 399 | <meta name="DC.Creator" content="Fielding, R."> |
---|
| 400 | <meta name="DC.Creator" content="Gettys, J."> |
---|
| 401 | <meta name="DC.Creator" content="Mogul, J."> |
---|
| 402 | <meta name="DC.Creator" content="Frystyk, H."> |
---|
| 403 | <meta name="DC.Creator" content="Masinter, L."> |
---|
| 404 | <meta name="DC.Creator" content="Leach, P."> |
---|
| 405 | <meta name="DC.Creator" content="Berners-Lee, T."> |
---|
[95] | 406 | <meta name="DC.Creator" content="Lafon, Y."> |
---|
| 407 | <meta name="DC.Creator" content="Reschke, J. F."> |
---|
[52] | 408 | <meta name="DC.Identifier" content="urn:ietf:id:draft-ietf-httpbis-p3-payload-latest"> |
---|
[675] | 409 | <meta name="DC.Date.Issued" scheme="ISO8601" content="2009-08-12"> |
---|
[52] | 410 | <meta name="DC.Relation.Replaces" content="urn:ietf:rfc:2616"> |
---|
| 411 | <meta name="DC.Description.Abstract" content="The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 3 of the seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part 3 defines HTTP message content, metadata, and content negotiation."> |
---|
| 412 | </head> |
---|
| 413 | <body> |
---|
| 414 | <table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"> |
---|
| 415 | <tr> |
---|
[440] | 416 | <td class="header left">HTTPbis Working Group</td> |
---|
[52] | 417 | <td class="header right">R. Fielding, Editor</td> |
---|
| 418 | </tr> |
---|
| 419 | <tr> |
---|
| 420 | <td class="header left">Internet Draft</td> |
---|
| 421 | <td class="header right">Day Software</td> |
---|
| 422 | </tr> |
---|
| 423 | <tr> |
---|
| 424 | <td class="header left"> |
---|
| 425 | <draft-ietf-httpbis-p3-payload-latest> |
---|
| 426 | |
---|
| 427 | </td> |
---|
| 428 | <td class="header right">J. Gettys</td> |
---|
| 429 | </tr> |
---|
| 430 | <tr> |
---|
[150] | 431 | <td class="header left">Obsoletes: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved) |
---|
[52] | 432 | </td> |
---|
| 433 | <td class="header right">One Laptop per Child</td> |
---|
| 434 | </tr> |
---|
| 435 | <tr> |
---|
| 436 | <td class="header left">Intended status: Standards Track</td> |
---|
| 437 | <td class="header right">J. Mogul</td> |
---|
| 438 | </tr> |
---|
| 439 | <tr> |
---|
[675] | 440 | <td class="header left">Expires: February 13, 2010</td> |
---|
[52] | 441 | <td class="header right">HP</td> |
---|
| 442 | </tr> |
---|
| 443 | <tr> |
---|
| 444 | <td class="header left"></td> |
---|
| 445 | <td class="header right">H. Frystyk</td> |
---|
| 446 | </tr> |
---|
| 447 | <tr> |
---|
| 448 | <td class="header left"></td> |
---|
| 449 | <td class="header right">Microsoft</td> |
---|
| 450 | </tr> |
---|
| 451 | <tr> |
---|
| 452 | <td class="header left"></td> |
---|
| 453 | <td class="header right">L. Masinter</td> |
---|
| 454 | </tr> |
---|
| 455 | <tr> |
---|
| 456 | <td class="header left"></td> |
---|
| 457 | <td class="header right">Adobe Systems</td> |
---|
| 458 | </tr> |
---|
| 459 | <tr> |
---|
| 460 | <td class="header left"></td> |
---|
| 461 | <td class="header right">P. Leach</td> |
---|
| 462 | </tr> |
---|
| 463 | <tr> |
---|
| 464 | <td class="header left"></td> |
---|
| 465 | <td class="header right">Microsoft</td> |
---|
| 466 | </tr> |
---|
| 467 | <tr> |
---|
| 468 | <td class="header left"></td> |
---|
| 469 | <td class="header right">T. Berners-Lee</td> |
---|
| 470 | </tr> |
---|
| 471 | <tr> |
---|
| 472 | <td class="header left"></td> |
---|
| 473 | <td class="header right">W3C/MIT</td> |
---|
| 474 | </tr> |
---|
| 475 | <tr> |
---|
| 476 | <td class="header left"></td> |
---|
[95] | 477 | <td class="header right">Y. Lafon, Editor</td> |
---|
| 478 | </tr> |
---|
| 479 | <tr> |
---|
| 480 | <td class="header left"></td> |
---|
| 481 | <td class="header right">W3C</td> |
---|
| 482 | </tr> |
---|
| 483 | <tr> |
---|
| 484 | <td class="header left"></td> |
---|
| 485 | <td class="header right">J. F. Reschke, Editor</td> |
---|
| 486 | </tr> |
---|
| 487 | <tr> |
---|
| 488 | <td class="header left"></td> |
---|
| 489 | <td class="header right">greenbytes</td> |
---|
| 490 | </tr> |
---|
| 491 | <tr> |
---|
| 492 | <td class="header left"></td> |
---|
[675] | 493 | <td class="header right">August 12, 2009</td> |
---|
[52] | 494 | </tr> |
---|
| 495 | </table> |
---|
| 496 | <p class="title">HTTP/1.1, part 3: Message Payload and Content Negotiation<br><span class="filename">draft-ietf-httpbis-p3-payload-latest</span></p> |
---|
| 497 | <h1><a id="rfc.status" href="#rfc.status">Status of this Memo</a></h1> |
---|
[446] | 498 | <p>This Internet-Draft is submitted to IETF pursuant to, and in full conformance with, the provisions of BCP 78 and BCP 79. This |
---|
| 499 | document may contain material from IETF Documents or IETF Contributions published or made publicly available before November |
---|
| 500 | 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to |
---|
| 501 | allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) |
---|
| 502 | controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative |
---|
| 503 | works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate |
---|
| 504 | it into languages other than English. |
---|
[52] | 505 | </p> |
---|
| 506 | <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note |
---|
| 507 | that other groups may also distribute working documents as Internet-Drafts. |
---|
| 508 | </p> |
---|
| 509 | <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other |
---|
| 510 | documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work |
---|
| 511 | in progress”. |
---|
| 512 | </p> |
---|
| 513 | <p>The list of current Internet-Drafts can be accessed at <<a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>>. |
---|
| 514 | </p> |
---|
| 515 | <p>The list of Internet-Draft Shadow Directories can be accessed at <<a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>>. |
---|
| 516 | </p> |
---|
[675] | 517 | <p>This Internet-Draft will expire in February 13, 2010.</p> |
---|
[446] | 518 | <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1> |
---|
| 519 | <p>Copyright © 2009 IETF Trust and the persons identified as the document authors. All rights reserved.</p> |
---|
| 520 | <p>This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents in effect on the date |
---|
| 521 | of publication of this document (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>). Please review these documents carefully, as they describe your rights and restrictions with respect to this document. |
---|
| 522 | </p> |
---|
[52] | 523 | <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> |
---|
| 524 | <p>The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information |
---|
| 525 | systems. HTTP has been in use by the World Wide Web global information initiative since 1990. This document is Part 3 of the |
---|
| 526 | seven-part specification that defines the protocol referred to as "HTTP/1.1" and, taken together, obsoletes RFC 2616. Part |
---|
| 527 | 3 defines HTTP message content, metadata, and content negotiation. |
---|
| 528 | </p> |
---|
| 529 | <h1 id="rfc.note.1"><a href="#rfc.note.1">Editorial Note (To be removed by RFC Editor)</a></h1> |
---|
| 530 | <p>Discussion of this draft should take place on the HTTPBIS working group mailing list (ietf-http-wg@w3.org). The current issues |
---|
[324] | 531 | list is at <<a href="http://tools.ietf.org/wg/httpbis/trac/report/11">http://tools.ietf.org/wg/httpbis/trac/report/11</a>> and related documents (including fancy diffs) can be found at <<a href="http://tools.ietf.org/wg/httpbis/">http://tools.ietf.org/wg/httpbis/</a>>. |
---|
[153] | 532 | </p> |
---|
[604] | 533 | <p>The changes in this draft are summarized in <a href="#changes.since.07" title="Since draft-ietf-httpbis-p3-payload-07">Appendix E.9</a>. |
---|
[52] | 534 | </p> |
---|
| 535 | <hr class="noprint"> |
---|
| 536 | <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1> |
---|
| 537 | <ul class="toc"> |
---|
[96] | 538 | <li class="tocline0">1. <a href="#introduction">Introduction</a><ul class="toc"> |
---|
[660] | 539 | <li class="tocline1">1.1 <a href="#terminology">Terminology</a></li> |
---|
| 540 | <li class="tocline1">1.2 <a href="#intro.requirements">Requirements</a></li> |
---|
| 541 | <li class="tocline1">1.3 <a href="#notation">Syntax Notation</a><ul class="toc"> |
---|
| 542 | <li class="tocline1">1.3.1 <a href="#core.rules">Core Rules</a></li> |
---|
| 543 | <li class="tocline1">1.3.2 <a href="#abnf.dependencies">ABNF Rules defined in other Parts of the Specification</a></li> |
---|
[424] | 544 | </ul> |
---|
| 545 | </li> |
---|
[96] | 546 | </ul> |
---|
| 547 | </li> |
---|
[424] | 548 | <li class="tocline0">2. <a href="#protocol.parameters">Protocol Parameters</a><ul class="toc"> |
---|
| 549 | <li class="tocline1">2.1 <a href="#character.sets">Character Sets</a><ul class="toc"> |
---|
| 550 | <li class="tocline1">2.1.1 <a href="#missing.charset">Missing Charset</a></li> |
---|
[211] | 551 | </ul> |
---|
| 552 | </li> |
---|
[670] | 553 | <li class="tocline1">2.2 <a href="#content.codings">Content Codings</a><ul class="toc"> |
---|
| 554 | <li class="tocline1">2.2.1 <a href="#content.coding.registry">Content Coding Registry</a></li> |
---|
| 555 | </ul> |
---|
| 556 | </li> |
---|
[424] | 557 | <li class="tocline1">2.3 <a href="#media.types">Media Types</a><ul class="toc"> |
---|
| 558 | <li class="tocline1">2.3.1 <a href="#canonicalization.and.text.defaults">Canonicalization and Text Defaults</a></li> |
---|
| 559 | <li class="tocline1">2.3.2 <a href="#multipart.types">Multipart Types</a></li> |
---|
[52] | 560 | </ul> |
---|
| 561 | </li> |
---|
[457] | 562 | <li class="tocline1">2.4 <a href="#language.tags">Language Tags</a></li> |
---|
[52] | 563 | </ul> |
---|
| 564 | </li> |
---|
[424] | 565 | <li class="tocline0">3. <a href="#entity">Entity</a><ul class="toc"> |
---|
| 566 | <li class="tocline1">3.1 <a href="#entity.header.fields">Entity Header Fields</a></li> |
---|
| 567 | <li class="tocline1">3.2 <a href="#entity.body">Entity Body</a><ul class="toc"> |
---|
| 568 | <li class="tocline1">3.2.1 <a href="#type">Type</a></li> |
---|
| 569 | <li class="tocline1">3.2.2 <a href="#entity.length">Entity Length</a></li> |
---|
[52] | 570 | </ul> |
---|
| 571 | </li> |
---|
| 572 | </ul> |
---|
| 573 | </li> |
---|
[424] | 574 | <li class="tocline0">4. <a href="#content.negotiation">Content Negotiation</a><ul class="toc"> |
---|
| 575 | <li class="tocline1">4.1 <a href="#server-driven.negotiation">Server-driven Negotiation</a></li> |
---|
| 576 | <li class="tocline1">4.2 <a href="#agent-driven.negotiation">Agent-driven Negotiation</a></li> |
---|
| 577 | <li class="tocline1">4.3 <a href="#transparent.negotiation">Transparent Negotiation</a></li> |
---|
[52] | 578 | </ul> |
---|
| 579 | </li> |
---|
[424] | 580 | <li class="tocline0">5. <a href="#header.fields">Header Field Definitions</a><ul class="toc"> |
---|
| 581 | <li class="tocline1">5.1 <a href="#header.accept">Accept</a></li> |
---|
| 582 | <li class="tocline1">5.2 <a href="#header.accept-charset">Accept-Charset</a></li> |
---|
| 583 | <li class="tocline1">5.3 <a href="#header.accept-encoding">Accept-Encoding</a></li> |
---|
| 584 | <li class="tocline1">5.4 <a href="#header.accept-language">Accept-Language</a></li> |
---|
| 585 | <li class="tocline1">5.5 <a href="#header.content-encoding">Content-Encoding</a></li> |
---|
| 586 | <li class="tocline1">5.6 <a href="#header.content-language">Content-Language</a></li> |
---|
| 587 | <li class="tocline1">5.7 <a href="#header.content-location">Content-Location</a></li> |
---|
| 588 | <li class="tocline1">5.8 <a href="#header.content-md5">Content-MD5</a></li> |
---|
| 589 | <li class="tocline1">5.9 <a href="#header.content-type">Content-Type</a></li> |
---|
[52] | 590 | </ul> |
---|
| 591 | </li> |
---|
[424] | 592 | <li class="tocline0">6. <a href="#IANA.considerations">IANA Considerations</a><ul class="toc"> |
---|
| 593 | <li class="tocline1">6.1 <a href="#message.header.registration">Message Header Registration</a></li> |
---|
[673] | 594 | <li class="tocline1">6.2 <a href="#content.coding.registration">Content Coding Registry</a></li> |
---|
[253] | 595 | </ul> |
---|
| 596 | </li> |
---|
[424] | 597 | <li class="tocline0">7. <a href="#security.considerations">Security Considerations</a><ul class="toc"> |
---|
| 598 | <li class="tocline1">7.1 <a href="#privacy.issues.connected.to.accept.headers">Privacy Issues Connected to Accept Headers</a></li> |
---|
| 599 | <li class="tocline1">7.2 <a href="#content-disposition.issues">Content-Disposition Issues</a></li> |
---|
[52] | 600 | </ul> |
---|
| 601 | </li> |
---|
[424] | 602 | <li class="tocline0">8. <a href="#ack">Acknowledgments</a></li> |
---|
| 603 | <li class="tocline0">9. <a href="#rfc.references">References</a><ul class="toc"> |
---|
| 604 | <li class="tocline1">9.1 <a href="#rfc.references.1">Normative References</a></li> |
---|
| 605 | <li class="tocline1">9.2 <a href="#rfc.references.2">Informative References</a></li> |
---|
[119] | 606 | </ul> |
---|
| 607 | </li> |
---|
[52] | 608 | <li class="tocline0"><a href="#rfc.authors">Authors' Addresses</a></li> |
---|
| 609 | <li class="tocline0">A. <a href="#differences.between.http.entities.and.rfc.2045.entities">Differences Between HTTP Entities and RFC 2045 Entities</a><ul class="toc"> |
---|
| 610 | <li class="tocline1">A.1 <a href="#mime-version">MIME-Version</a></li> |
---|
| 611 | <li class="tocline1">A.2 <a href="#conversion.to.canonical.form">Conversion to Canonical Form</a></li> |
---|
[385] | 612 | <li class="tocline1">A.3 <a href="#conversion.of.date.formats">Conversion of Date Formats</a></li> |
---|
| 613 | <li class="tocline1">A.4 <a href="#introduction.of.content-encoding">Introduction of Content-Encoding</a></li> |
---|
| 614 | <li class="tocline1">A.5 <a href="#no.content-transfer-encoding">No Content-Transfer-Encoding</a></li> |
---|
| 615 | <li class="tocline1">A.6 <a href="#introduction.of.transfer-encoding">Introduction of Transfer-Encoding</a></li> |
---|
| 616 | <li class="tocline1">A.7 <a href="#mhtml.line.length">MHTML and Line Length Limitations</a></li> |
---|
[52] | 617 | </ul> |
---|
| 618 | </li> |
---|
| 619 | <li class="tocline0">B. <a href="#additional.features">Additional Features</a><ul class="toc"> |
---|
| 620 | <li class="tocline1">B.1 <a href="#content-disposition">Content-Disposition</a></li> |
---|
| 621 | </ul> |
---|
| 622 | </li> |
---|
[99] | 623 | <li class="tocline0">C. <a href="#compatibility">Compatibility with Previous Versions</a><ul class="toc"> |
---|
| 624 | <li class="tocline1">C.1 <a href="#changes.from.rfc.2068">Changes from RFC 2068</a></li> |
---|
| 625 | <li class="tocline1">C.2 <a href="#changes.from.rfc.2616">Changes from RFC 2616</a></li> |
---|
| 626 | </ul> |
---|
| 627 | </li> |
---|
[421] | 628 | <li class="tocline0">D. <a href="#collected.abnf">Collected ABNF</a></li> |
---|
| 629 | <li class="tocline0">E. <a href="#change.log">Change Log (to be removed by RFC Editor before publication)</a><ul class="toc"> |
---|
| 630 | <li class="tocline1">E.1 <a href="#rfc.section.E.1">Since RFC2616</a></li> |
---|
| 631 | <li class="tocline1">E.2 <a href="#rfc.section.E.2">Since draft-ietf-httpbis-p3-payload-00</a></li> |
---|
| 632 | <li class="tocline1">E.3 <a href="#rfc.section.E.3">Since draft-ietf-httpbis-p3-payload-01</a></li> |
---|
| 633 | <li class="tocline1">E.4 <a href="#changes.since.02">Since draft-ietf-httpbis-p3-payload-02</a></li> |
---|
| 634 | <li class="tocline1">E.5 <a href="#changes.since.03">Since draft-ietf-httpbis-p3-payload-03</a></li> |
---|
| 635 | <li class="tocline1">E.6 <a href="#changes.since.04">Since draft-ietf-httpbis-p3-payload-04</a></li> |
---|
| 636 | <li class="tocline1">E.7 <a href="#changes.since.05">Since draft-ietf-httpbis-p3-payload-05</a></li> |
---|
[547] | 637 | <li class="tocline1">E.8 <a href="#changes.since.06">Since draft-ietf-httpbis-p3-payload-06</a></li> |
---|
[604] | 638 | <li class="tocline1">E.9 <a href="#changes.since.07">Since draft-ietf-httpbis-p3-payload-07</a></li> |
---|
[115] | 639 | </ul> |
---|
| 640 | </li> |
---|
[52] | 641 | <li class="tocline0"><a href="#rfc.index">Index</a></li> |
---|
| 642 | </ul> |
---|
| 643 | <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="introduction" href="#introduction">Introduction</a></h1> |
---|
[163] | 644 | <p id="rfc.section.1.p.1">This document defines HTTP/1.1 message payloads (a.k.a., content), the associated metadata header fields that define how the |
---|
| 645 | payload is intended to be interpreted by a recipient, the request header fields that may influence content selection, and |
---|
| 646 | the various selection algorithms that are collectively referred to as HTTP content negotiation. |
---|
[52] | 647 | </p> |
---|
[161] | 648 | <p id="rfc.section.1.p.2">This document is currently disorganized in order to minimize the changes between drafts and enable reviewers to see the smaller |
---|
| 649 | errata changes. The next draft will reorganize the sections to better reflect the content. In particular, the sections on |
---|
| 650 | entities will be renamed payload and moved to the first half of the document, while the sections on content negotiation and |
---|
| 651 | associated request header fields will be moved to the second half. The current mess reflects how widely dispersed these topics |
---|
| 652 | and associated requirements had become in <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. |
---|
| 653 | </p> |
---|
[660] | 654 | <h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> <a id="terminology" href="#terminology">Terminology</a></h2> |
---|
| 655 | <p id="rfc.section.1.1.p.1">This specification uses a number of terms to refer to the roles played by participants in, and objects of, the HTTP communication.</p> |
---|
| 656 | <p id="rfc.section.1.1.p.2"> <span id="rfc.iref.c.1"></span> <dfn>content negotiation</dfn> |
---|
| 657 | </p> |
---|
| 658 | <dl class="empty"> |
---|
| 659 | <dd>The mechanism for selecting the appropriate representation when servicing a request. The representation of entities in any |
---|
| 660 | response can be negotiated (including error responses). |
---|
| 661 | </dd> |
---|
| 662 | </dl> |
---|
| 663 | <p id="rfc.section.1.1.p.3"> <span id="rfc.iref.e.1"></span> <dfn>entity</dfn> |
---|
| 664 | </p> |
---|
| 665 | <dl class="empty"> |
---|
| 666 | <dd>The information transferred as the payload of a request or response. An entity consists of metadata in the form of entity-header |
---|
| 667 | fields and content in the form of an entity-body. |
---|
| 668 | </dd> |
---|
| 669 | </dl> |
---|
| 670 | <p id="rfc.section.1.1.p.4"> <span id="rfc.iref.r.1"></span> <dfn>representation</dfn> |
---|
| 671 | </p> |
---|
| 672 | <dl class="empty"> |
---|
| 673 | <dd>An entity included with a response that is subject to content negotiation. There may exist multiple representations associated |
---|
| 674 | with a particular response status. |
---|
| 675 | </dd> |
---|
| 676 | </dl> |
---|
| 677 | <p id="rfc.section.1.1.p.5"> <span id="rfc.iref.v.1"></span> <dfn>variant</dfn> |
---|
| 678 | </p> |
---|
| 679 | <dl class="empty"> |
---|
| 680 | <dd>A resource may have one, or more than one, representation(s) associated with it at any given instant. Each of these representations |
---|
| 681 | is termed a `variant'. Use of the term `variant' does not necessarily imply that the resource is subject to content negotiation. |
---|
| 682 | </dd> |
---|
| 683 | </dl> |
---|
| 684 | <h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a> <a id="intro.requirements" href="#intro.requirements">Requirements</a></h2> |
---|
| 685 | <p id="rfc.section.1.2.p.1">The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" |
---|
[96] | 686 | in this document are to be interpreted as described in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>. |
---|
| 687 | </p> |
---|
[660] | 688 | <p id="rfc.section.1.2.p.2">An implementation is not compliant if it fails to satisfy one or more of the <em class="bcp14">MUST</em> or <em class="bcp14">REQUIRED</em> level requirements for the protocols it implements. An implementation that satisfies all the <em class="bcp14">MUST</em> or <em class="bcp14">REQUIRED</em> level and all the <em class="bcp14">SHOULD</em> level requirements for its protocols is said to be "unconditionally compliant"; one that satisfies all the <em class="bcp14">MUST</em> level requirements but not all the <em class="bcp14">SHOULD</em> level requirements for its protocols is said to be "conditionally compliant." |
---|
[96] | 689 | </p> |
---|
[660] | 690 | <h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a> <a id="notation" href="#notation">Syntax Notation</a></h2> |
---|
| 691 | <p id="rfc.section.1.3.p.1">This specification uses the ABNF syntax defined in <a href="p1-messaging.html#notation" title="Syntax Notation">Section 1.2</a> of <a href="#Part1" id="rfc.xref.Part1.1"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> (which extends the syntax defined in <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a> with a list rule). <a href="#collected.abnf" title="Collected ABNF">Appendix D</a> shows the collected ABNF, with the list rule expanded. |
---|
[543] | 692 | </p> |
---|
[660] | 693 | <p id="rfc.section.1.3.p.2">The following core rules are included by reference, as defined in <a href="#RFC5234" id="rfc.xref.RFC5234.2"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a>, <a href="http://tools.ietf.org/html/rfc5234#appendix-B.1">Appendix B.1</a>: ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), DIGIT (decimal 0-9), DQUOTE (double quote), HEXDIG |
---|
[425] | 694 | (hexadecimal 0-9/A-F/a-f), LF (line feed), OCTET (any 8-bit sequence of data), SP (space), VCHAR (any visible USASCII character), |
---|
| 695 | and WSP (whitespace). |
---|
[205] | 696 | </p> |
---|
[660] | 697 | <h3 id="rfc.section.1.3.1"><a href="#rfc.section.1.3.1">1.3.1</a> <a id="core.rules" href="#core.rules">Core Rules</a></h3> |
---|
| 698 | <p id="rfc.section.1.3.1.p.1">The core rules below are defined in <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.2"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>: |
---|
[424] | 699 | </p> |
---|
[425] | 700 | <div id="rfc.figure.u.1"></div><pre class="inline"> <a href="#core.rules" class="smpl">quoted-string</a> = <quoted-string, defined in <a href="#Part1" id="rfc.xref.Part1.3"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>> |
---|
| 701 | <a href="#core.rules" class="smpl">token</a> = <token, defined in <a href="#Part1" id="rfc.xref.Part1.4"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>> |
---|
| 702 | <a href="#core.rules" class="smpl">OWS</a> = <OWS, defined in <a href="#Part1" id="rfc.xref.Part1.5"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#basic.rules" title="Basic Rules">Section 1.2.2</a>> |
---|
[660] | 703 | </pre><h3 id="rfc.section.1.3.2"><a href="#rfc.section.1.3.2">1.3.2</a> <a id="abnf.dependencies" href="#abnf.dependencies">ABNF Rules defined in other Parts of the Specification</a></h3> |
---|
| 704 | <p id="rfc.section.1.3.2.p.1">The ABNF rules below are defined in other parts:</p> |
---|
[647] | 705 | <div id="rfc.figure.u.2"></div><pre class="inline"> <a href="#abnf.dependencies" class="smpl">absolute-URI</a> = <absolute-URI, defined in <a href="#Part1" id="rfc.xref.Part1.6"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#uri" title="Uniform Resource Identifiers">Section 2.6</a>> |
---|
[653] | 706 | <a href="#abnf.dependencies" class="smpl">Content-Length</a> = <Content-Length, defined in <a href="#Part1" id="rfc.xref.Part1.7"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#header.content-length" title="Content-Length">Section 3.2</a>> |
---|
| 707 | <a href="#abnf.dependencies" class="smpl">header-field</a> = <header-field, defined in <a href="#Part1" id="rfc.xref.Part1.8"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#header.fields" title="Header Fields">Section 2.7.2</a>> |
---|
[647] | 708 | <a href="#abnf.dependencies" class="smpl">partial-URI</a> = <partial-URI, defined in <a href="#Part1" id="rfc.xref.Part1.9"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#uri" title="Uniform Resource Identifiers">Section 2.6</a>> |
---|
[653] | 709 | <a href="#abnf.dependencies" class="smpl">qvalue</a> = <qvalue, defined in <a href="#Part1" id="rfc.xref.Part1.10"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#quality.values" title="Quality Values">Section 2.10.4</a>> |
---|
[425] | 710 | </pre><div id="rfc.figure.u.3"></div><pre class="inline"> <a href="#abnf.dependencies" class="smpl">Last-Modified</a> = <Last-Modified, defined in <a href="#Part4" id="rfc.xref.Part4.1"><cite title="HTTP/1.1, part 4: Conditional Requests">[Part4]</cite></a>, <a href="p4-conditional.html#header.last-modified" title="Last-Modified">Section 6.6</a>> |
---|
| 711 | </pre><div id="rfc.figure.u.4"></div><pre class="inline"> <a href="#abnf.dependencies" class="smpl">Content-Range</a> = <Content-Range, defined in <a href="#Part5" id="rfc.xref.Part5.1"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>, <a href="p5-range.html#header.content-range" title="Content-Range">Section 5.2</a>> |
---|
[538] | 712 | </pre><div id="rfc.figure.u.5"></div><pre class="inline"> <a href="#abnf.dependencies" class="smpl">Expires</a> = <Expires, defined in <a href="#Part6" id="rfc.xref.Part6.1"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>, <a href="p6-cache.html#header.expires" title="Expires">Section 3.3</a>> |
---|
[424] | 713 | </pre><h1 id="rfc.section.2"><a href="#rfc.section.2">2.</a> <a id="protocol.parameters" href="#protocol.parameters">Protocol Parameters</a></h1> |
---|
| 714 | <h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> <a id="character.sets" href="#character.sets">Character Sets</a></h2> |
---|
| 715 | <p id="rfc.section.2.1.p.1">HTTP uses the same definition of the term "character set" as that described for MIME:</p> |
---|
| 716 | <p id="rfc.section.2.1.p.2">The term "character set" is used in this document to refer to a method used with one or more tables to convert a sequence |
---|
[52] | 717 | of octets into a sequence of characters. Note that unconditional conversion in the other direction is not required, in that |
---|
| 718 | not all characters may be available in a given character set and a character set may provide more than one sequence of octets |
---|
| 719 | to represent a particular character. This definition is intended to allow various kinds of character encoding, from simple |
---|
| 720 | single-table mappings such as US-ASCII to complex table switching methods such as those that use ISO-2022's techniques. However, |
---|
| 721 | the definition associated with a MIME character set name <em class="bcp14">MUST</em> fully specify the mapping to be performed from octets to characters. In particular, use of external profiling information |
---|
| 722 | to determine the exact mapping is not permitted. |
---|
| 723 | </p> |
---|
[563] | 724 | <div class="note"> |
---|
| 725 | <p> <b>Note:</b> This use of the term "character set" is more commonly referred to as a "character encoding." However, since HTTP and MIME |
---|
[52] | 726 | share the same registry, it is important that the terminology also be shared. |
---|
[563] | 727 | </p> |
---|
| 728 | </div> |
---|
[229] | 729 | <div id="rule.charset"> |
---|
[424] | 730 | <p id="rfc.section.2.1.p.4"> HTTP character sets are identified by case-insensitive tokens. The complete set of tokens is defined by the IANA Character |
---|
[229] | 731 | Set registry (<<a href="http://www.iana.org/assignments/character-sets">http://www.iana.org/assignments/character-sets</a>>). |
---|
| 732 | </p> |
---|
| 733 | </div> |
---|
[425] | 734 | <div id="rfc.figure.u.6"></div><pre class="inline"><span id="rfc.iref.g.1"></span> <a href="#rule.charset" class="smpl">charset</a> = <a href="#core.rules" class="smpl">token</a> |
---|
[424] | 735 | </pre><p id="rfc.section.2.1.p.6">Although HTTP allows an arbitrary token to be used as a charset value, any token that has a predefined value within the IANA |
---|
[92] | 736 | Character Set registry <em class="bcp14">MUST</em> represent the character set defined by that registry. Applications <em class="bcp14">SHOULD</em> limit their use of character sets to those defined by the IANA registry. |
---|
[52] | 737 | </p> |
---|
[424] | 738 | <p id="rfc.section.2.1.p.7">HTTP uses charset in two contexts: within an Accept-Charset request header (in which the charset value is an unquoted token) |
---|
[115] | 739 | and as the value of a parameter in a Content-Type header (within a request or response), in which case the parameter value |
---|
[92] | 740 | of the charset parameter may be quoted. |
---|
[52] | 741 | </p> |
---|
[424] | 742 | <p id="rfc.section.2.1.p.8">Implementors should be aware of IETF character set requirements <a href="#RFC3629" id="rfc.xref.RFC3629.1"><cite title="UTF-8, a transformation format of ISO 10646">[RFC3629]</cite></a> <a href="#RFC2277" id="rfc.xref.RFC2277.1"><cite title="IETF Policy on Character Sets and Languages">[RFC2277]</cite></a>. |
---|
[92] | 743 | </p> |
---|
[424] | 744 | <h3 id="rfc.section.2.1.1"><a href="#rfc.section.2.1.1">2.1.1</a> <a id="missing.charset" href="#missing.charset">Missing Charset</a></h3> |
---|
| 745 | <p id="rfc.section.2.1.1.p.1">Some HTTP/1.0 software has interpreted a Content-Type header without charset parameter incorrectly to mean "recipient should |
---|
[211] | 746 | guess." Senders wishing to defeat this behavior <em class="bcp14">MAY</em> include a charset parameter even when the charset is ISO-8859-1 (<a href="#ISO-8859-1" id="rfc.xref.ISO-8859-1.1"><cite title="Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1">[ISO-8859-1]</cite></a>) and <em class="bcp14">SHOULD</em> do so when it is known that it will not confuse the recipient. |
---|
| 747 | </p> |
---|
[424] | 748 | <p id="rfc.section.2.1.1.p.2">Unfortunately, some older HTTP/1.0 clients did not deal properly with an explicit charset parameter. HTTP/1.1 recipients <em class="bcp14">MUST</em> respect the charset label provided by the sender; and those user agents that have a provision to "guess" a charset <em class="bcp14">MUST</em> use the charset from the content-type field if they support that charset, rather than the recipient's preference, when initially |
---|
| 749 | displaying a document. See <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 2.3.1</a>. |
---|
[211] | 750 | </p> |
---|
[424] | 751 | <h2 id="rfc.section.2.2"><a href="#rfc.section.2.2">2.2</a> <a id="content.codings" href="#content.codings">Content Codings</a></h2> |
---|
| 752 | <p id="rfc.section.2.2.p.1">Content coding values indicate an encoding transformation that has been or can be applied to an entity. Content codings are |
---|
[52] | 753 | primarily used to allow a document to be compressed or otherwise usefully transformed without losing the identity of its underlying |
---|
| 754 | media type and without loss of information. Frequently, the entity is stored in coded form, transmitted directly, and only |
---|
| 755 | decoded by the recipient. |
---|
| 756 | </p> |
---|
[425] | 757 | <div id="rfc.figure.u.7"></div><pre class="inline"><span id="rfc.iref.g.2"></span> <a href="#content.codings" class="smpl">content-coding</a> = <a href="#core.rules" class="smpl">token</a> |
---|
[424] | 758 | </pre><p id="rfc.section.2.2.p.3">All content-coding values are case-insensitive. HTTP/1.1 uses content-coding values in the Accept-Encoding (<a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.1" title="Accept-Encoding">Section 5.3</a>) and Content-Encoding (<a href="#header.content-encoding" id="rfc.xref.header.content-encoding.1" title="Content-Encoding">Section 5.5</a>) header fields. Although the value describes the content-coding, what is more important is that it indicates what decoding |
---|
[52] | 759 | mechanism will be required to remove the encoding. |
---|
| 760 | </p> |
---|
[673] | 761 | <p id="rfc.section.2.2.p.4">compress<span id="rfc.iref.c.2"></span><span id="rfc.iref.c.3"></span> |
---|
[52] | 762 | </p> |
---|
| 763 | <dl class="empty"> |
---|
[673] | 764 | <dd>See <a href="p1-messaging.html#compress.coding" title="Compress Coding">Section 2.10.2.2.1</a> of <a href="#Part1" id="rfc.xref.Part1.11"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. |
---|
[52] | 765 | </dd> |
---|
| 766 | </dl> |
---|
[673] | 767 | <p id="rfc.section.2.2.p.5">deflate<span id="rfc.iref.d.1"></span><span id="rfc.iref.c.4"></span> |
---|
[52] | 768 | </p> |
---|
| 769 | <dl class="empty"> |
---|
[673] | 770 | <dd>See <a href="p1-messaging.html#deflate.coding" title="Deflate Coding">Section 2.10.2.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.12"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. |
---|
[52] | 771 | </dd> |
---|
| 772 | </dl> |
---|
[673] | 773 | <p id="rfc.section.2.2.p.6">gzip<span id="rfc.iref.g.3"></span><span id="rfc.iref.c.5"></span> |
---|
[52] | 774 | </p> |
---|
| 775 | <dl class="empty"> |
---|
[673] | 776 | <dd>See <a href="p1-messaging.html#gzip.coding" title="Gzip Coding">Section 2.10.2.2.3</a> of <a href="#Part1" id="rfc.xref.Part1.13"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. |
---|
[52] | 777 | </dd> |
---|
| 778 | </dl> |
---|
[673] | 779 | <p id="rfc.section.2.2.p.7">identity<span id="rfc.iref.i.1"></span><span id="rfc.iref.c.6"></span> |
---|
[52] | 780 | </p> |
---|
| 781 | <dl class="empty"> |
---|
| 782 | <dd>The default (identity) encoding; the use of no transformation whatsoever. This content-coding is used only in the Accept-Encoding |
---|
| 783 | header, and <em class="bcp14">SHOULD NOT</em> be used in the Content-Encoding header. |
---|
| 784 | </dd> |
---|
| 785 | </dl> |
---|
[670] | 786 | <h3 id="rfc.section.2.2.1"><a href="#rfc.section.2.2.1">2.2.1</a> <a id="content.coding.registry" href="#content.coding.registry">Content Coding Registry</a></h3> |
---|
| 787 | <p id="rfc.section.2.2.1.p.1">The HTTP Content Coding Registry defines the name space for the content coding names.</p> |
---|
| 788 | <p id="rfc.section.2.2.1.p.2">Registrations <em class="bcp14">MUST</em> include the following fields: |
---|
[52] | 789 | </p> |
---|
[670] | 790 | <ul> |
---|
| 791 | <li>Name</li> |
---|
| 792 | <li>Description</li> |
---|
| 793 | <li>Pointer to specification text</li> |
---|
| 794 | </ul> |
---|
| 795 | <p id="rfc.section.2.2.1.p.3">Values to be added to this name space require expert review and a specification (see "Expert Review" and "Specification Required" |
---|
| 796 | in <a href="http://tools.ietf.org/html/rfc5226#section-4.1">Section 4.1</a> of <a href="#RFC5226" id="rfc.xref.RFC5226.1"><cite title="Guidelines for Writing an IANA Considerations Section in RFCs">[RFC5226]</cite></a>), and <em class="bcp14">MUST</em> conform to the purpose of content coding defined in this section. |
---|
| 797 | </p> |
---|
| 798 | <p id="rfc.section.2.2.1.p.4">The registry itself is maintained at <<a href="http://www.iana.org/assignments/http-parameters">http://www.iana.org/assignments/http-parameters</a>>. |
---|
| 799 | </p> |
---|
[424] | 800 | <h2 id="rfc.section.2.3"><a href="#rfc.section.2.3">2.3</a> <a id="media.types" href="#media.types">Media Types</a></h2> |
---|
| 801 | <p id="rfc.section.2.3.p.1">HTTP uses Internet Media Types <a href="#RFC2046" id="rfc.xref.RFC2046.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> in the Content-Type (<a href="#header.content-type" id="rfc.xref.header.content-type.1" title="Content-Type">Section 5.9</a>) and Accept (<a href="#header.accept" id="rfc.xref.header.accept.1" title="Accept">Section 5.1</a>) header fields in order to provide open and extensible data typing and type negotiation. |
---|
[52] | 802 | </p> |
---|
[425] | 803 | <div id="rfc.figure.u.8"></div><pre class="inline"><span id="rfc.iref.g.4"></span><span id="rfc.iref.g.5"></span><span id="rfc.iref.g.6"></span> <a href="#media.types" class="smpl">media-type</a> = <a href="#media.types" class="smpl">type</a> "/" <a href="#media.types" class="smpl">subtype</a> *( <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#rule.parameter" class="smpl">parameter</a> ) |
---|
[424] | 804 | <a href="#media.types" class="smpl">type</a> = <a href="#core.rules" class="smpl">token</a> |
---|
| 805 | <a href="#media.types" class="smpl">subtype</a> = <a href="#core.rules" class="smpl">token</a> |
---|
[229] | 806 | </pre><div id="rule.parameter"> |
---|
[424] | 807 | <p id="rfc.section.2.3.p.3"> Parameters <em class="bcp14">MAY</em> follow the type/subtype in the form of attribute/value pairs. |
---|
[229] | 808 | </p> |
---|
| 809 | </div> |
---|
[425] | 810 | <div id="rfc.figure.u.9"></div><pre class="inline"><span id="rfc.iref.g.7"></span><span id="rfc.iref.g.8"></span><span id="rfc.iref.g.9"></span> <a href="#rule.parameter" class="smpl">parameter</a> = <a href="#rule.parameter" class="smpl">attribute</a> "=" <a href="#rule.parameter" class="smpl">value</a> |
---|
[424] | 811 | <a href="#rule.parameter" class="smpl">attribute</a> = <a href="#core.rules" class="smpl">token</a> |
---|
| 812 | <a href="#rule.parameter" class="smpl">value</a> = <a href="#core.rules" class="smpl">token</a> / <a href="#core.rules" class="smpl">quoted-string</a> |
---|
| 813 | </pre><p id="rfc.section.2.3.p.5">The type, subtype, and parameter attribute names are case-insensitive. Parameter values might or might not be case-sensitive, |
---|
[370] | 814 | depending on the semantics of the parameter name. The presence or absence of a parameter might be significant to the processing |
---|
| 815 | of a media-type, depending on its definition within the media type registry. |
---|
[52] | 816 | </p> |
---|
[424] | 817 | <p id="rfc.section.2.3.p.6">A parameter value that matches the <a href="#core.rules" class="smpl">token</a> production may be transmitted as either a token or within a quoted-string. The quoted and unquoted values are equivalent. |
---|
[297] | 818 | </p> |
---|
[424] | 819 | <p id="rfc.section.2.3.p.7">Note that some older HTTP applications do not recognize media type parameters. When sending data to older HTTP applications, |
---|
[52] | 820 | implementations <em class="bcp14">SHOULD</em> only use media type parameters when they are required by that type/subtype definition. |
---|
| 821 | </p> |
---|
[424] | 822 | <p id="rfc.section.2.3.p.8">Media-type values are registered with the Internet Assigned Number Authority (IANA). The media type registration process is |
---|
[152] | 823 | outlined in <a href="#RFC4288" id="rfc.xref.RFC4288.1"><cite title="Media Type Specifications and Registration Procedures">[RFC4288]</cite></a>. Use of non-registered media types is discouraged. |
---|
[52] | 824 | </p> |
---|
[424] | 825 | <h3 id="rfc.section.2.3.1"><a href="#rfc.section.2.3.1">2.3.1</a> <a id="canonicalization.and.text.defaults" href="#canonicalization.and.text.defaults">Canonicalization and Text Defaults</a></h3> |
---|
| 826 | <p id="rfc.section.2.3.1.p.1">Internet media types are registered with a canonical form. An entity-body transferred via HTTP messages <em class="bcp14">MUST</em> be represented in the appropriate canonical form prior to its transmission except for "text" types, as defined in the next |
---|
[52] | 827 | paragraph. |
---|
| 828 | </p> |
---|
[424] | 829 | <p id="rfc.section.2.3.1.p.2">When in canonical form, media subtypes of the "text" type use CRLF as the text line break. HTTP relaxes this requirement and |
---|
[52] | 830 | allows the transport of text media with plain CR or LF alone representing a line break when it is done consistently for an |
---|
| 831 | entire entity-body. HTTP applications <em class="bcp14">MUST</em> accept CRLF, bare CR, and bare LF as being representative of a line break in text media received via HTTP. In addition, if |
---|
| 832 | the text is represented in a character set that does not use octets 13 and 10 for CR and LF respectively, as is the case for |
---|
| 833 | some multi-byte character sets, HTTP allows the use of whatever octet sequences are defined by that character set to represent |
---|
| 834 | the equivalent of CR and LF for line breaks. This flexibility regarding line breaks applies only to text media in the entity-body; |
---|
| 835 | a bare CR or LF <em class="bcp14">MUST NOT</em> be substituted for CRLF within any of the HTTP control structures (such as header fields and multipart boundaries). |
---|
| 836 | </p> |
---|
[424] | 837 | <p id="rfc.section.2.3.1.p.3">If an entity-body is encoded with a content-coding, the underlying data <em class="bcp14">MUST</em> be in a form defined above prior to being encoded. |
---|
[52] | 838 | </p> |
---|
[424] | 839 | <p id="rfc.section.2.3.1.p.4">The "charset" parameter is used with some media types to define the character set (<a href="#character.sets" title="Character Sets">Section 2.1</a>) of the data. When no explicit charset parameter is provided by the sender, media subtypes of the "text" type are defined |
---|
[211] | 840 | to have a default charset value of "ISO-8859-1" when received via HTTP. Data in character sets other than "ISO-8859-1" or |
---|
[424] | 841 | its subsets <em class="bcp14">MUST</em> be labeled with an appropriate charset value. See <a href="#missing.charset" title="Missing Charset">Section 2.1.1</a> for compatibility problems. |
---|
[52] | 842 | </p> |
---|
[424] | 843 | <h3 id="rfc.section.2.3.2"><a href="#rfc.section.2.3.2">2.3.2</a> <a id="multipart.types" href="#multipart.types">Multipart Types</a></h3> |
---|
| 844 | <p id="rfc.section.2.3.2.p.1">MIME provides for a number of "multipart" types -- encapsulations of one or more entities within a single message-body. All |
---|
[152] | 845 | multipart types share a common syntax, as defined in <a href="http://tools.ietf.org/html/rfc2046#section-5.1.1">Section 5.1.1</a> of <a href="#RFC2046" id="rfc.xref.RFC2046.2"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a>, and <em class="bcp14">MUST</em> include a boundary parameter as part of the media type value. The message body is itself a protocol element and <em class="bcp14">MUST</em> therefore use only CRLF to represent line breaks between body-parts. Unlike in RFC 2046, the epilogue of any multipart message <em class="bcp14">MUST</em> be empty; HTTP applications <em class="bcp14">MUST NOT</em> transmit the epilogue (even if the original multipart contains an epilogue). These restrictions exist in order to preserve |
---|
[52] | 846 | the self-delimiting nature of a multipart message-body, wherein the "end" of the message-body is indicated by the ending multipart |
---|
| 847 | boundary. |
---|
| 848 | </p> |
---|
[424] | 849 | <p id="rfc.section.2.3.2.p.2">In general, HTTP treats a multipart message-body no differently than any other media type: strictly as payload. The one exception |
---|
[331] | 850 | is the "multipart/byteranges" type (<a href="p5-range.html#internet.media.type.multipart.byteranges" title="Internet Media Type multipart/byteranges">Appendix A</a> of <a href="#Part5" id="rfc.xref.Part5.2"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>) when it appears in a 206 (Partial Content) response. In all other cases, an HTTP user agent <em class="bcp14">SHOULD</em> follow the same or similar behavior as a MIME user agent would upon receipt of a multipart type. The MIME header fields within |
---|
| 851 | each body-part of a multipart message-body do not have any significance to HTTP beyond that defined by their MIME semantics. |
---|
[52] | 852 | </p> |
---|
[424] | 853 | <p id="rfc.section.2.3.2.p.3">In general, an HTTP user agent <em class="bcp14">SHOULD</em> follow the same or similar behavior as a MIME user agent would upon receipt of a multipart type. If an application receives |
---|
[52] | 854 | an unrecognized multipart subtype, the application <em class="bcp14">MUST</em> treat it as being equivalent to "multipart/mixed". |
---|
| 855 | </p> |
---|
[563] | 856 | <div class="note"> |
---|
| 857 | <p> <b>Note:</b> The "multipart/form-data" type has been specifically defined for carrying form data suitable for processing via the POST request |
---|
[129] | 858 | method, as described in <a href="#RFC2388" id="rfc.xref.RFC2388.1"><cite title="Returning Values from Forms: multipart/form-data">[RFC2388]</cite></a>. |
---|
[563] | 859 | </p> |
---|
| 860 | </div> |
---|
[457] | 861 | <h2 id="rfc.section.2.4"><a href="#rfc.section.2.4">2.4</a> <a id="language.tags" href="#language.tags">Language Tags</a></h2> |
---|
[613] | 862 | <p id="rfc.section.2.4.p.1">A language tag, as defined in <a href="#RFC4646bis" id="rfc.xref.RFC4646bis.1"><cite title="Tags for Identifying Languages">[RFC4646bis]</cite></a>, identifies a natural language spoken, written, or otherwise conveyed by human beings for communication of information to |
---|
| 863 | other human beings. Computer languages are explicitly excluded. HTTP uses language tags within the Accept-Language and Content-Language |
---|
| 864 | fields. |
---|
[52] | 865 | </p> |
---|
[613] | 866 | <p id="rfc.section.2.4.p.2">In summary, a language tag is composed of one or more parts: A primary language subtag followed by a possibly empty series |
---|
| 867 | of subtags: |
---|
[52] | 868 | </p> |
---|
[613] | 869 | <div id="rfc.figure.u.10"></div><pre class="inline"><span id="rfc.iref.g.10"></span> <a href="#language.tags" class="smpl">language-tag</a> = <Language-Tag, defined in <a href="#RFC4646bis" id="rfc.xref.RFC4646bis.2"><cite title="Tags for Identifying Languages">[RFC4646bis]</cite></a>, <a href="http://tools.ietf.org/html/draft-ietf-ltru-4646bis-23#section-2.1">Section 2.1</a>> |
---|
| 870 | </pre><p id="rfc.section.2.4.p.4">White space is not allowed within the tag and all tags are case-insensitive. The name space of language subtags is administered |
---|
| 871 | by the IANA (see <<a href="http://www.iana.org/assignments/language-subtag-registry">http://www.iana.org/assignments/language-subtag-registry</a>>). |
---|
[52] | 872 | </p> |
---|
[613] | 873 | <div id="rfc.figure.u.11"></div> |
---|
| 874 | <p>Example tags include:</p> <pre class="text"> en, en-US, es-419, az-Arab, x-pig-latin, man-Nkoo-GN |
---|
| 875 | </pre> <p id="rfc.section.2.4.p.6">See <a href="#RFC4646bis" id="rfc.xref.RFC4646bis.3"><cite title="Tags for Identifying Languages">[RFC4646bis]</cite></a> for further information. |
---|
[52] | 876 | </p> |
---|
[424] | 877 | <h1 id="rfc.section.3"><a href="#rfc.section.3">3.</a> <a id="entity" href="#entity">Entity</a></h1> |
---|
| 878 | <p id="rfc.section.3.p.1">Request and Response messages <em class="bcp14">MAY</em> transfer an entity if not otherwise restricted by the request method or response status code. An entity consists of entity-header |
---|
[52] | 879 | fields and an entity-body, although some responses will only include the entity-headers. |
---|
| 880 | </p> |
---|
[424] | 881 | <p id="rfc.section.3.p.2">In this section, both sender and recipient refer to either the client or the server, depending on who sends and who receives |
---|
[52] | 882 | the entity. |
---|
| 883 | </p> |
---|
[424] | 884 | <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> <a id="entity.header.fields" href="#entity.header.fields">Entity Header Fields</a></h2> |
---|
| 885 | <p id="rfc.section.3.1.p.1">Entity-header fields define metainformation about the entity-body or, if no body is present, about the resource identified |
---|
[148] | 886 | by the request. |
---|
[52] | 887 | </p> |
---|
[613] | 888 | <div id="rfc.figure.u.12"></div><pre class="inline"><span id="rfc.iref.g.11"></span><span id="rfc.iref.g.12"></span> <a href="#entity.header.fields" class="smpl">entity-header</a> = <a href="#header.content-encoding" class="smpl">Content-Encoding</a> ; <a href="#header.content-encoding" id="rfc.xref.header.content-encoding.2" title="Content-Encoding">Section 5.5</a> |
---|
[424] | 889 | / <a href="#header.content-language" class="smpl">Content-Language</a> ; <a href="#header.content-language" id="rfc.xref.header.content-language.1" title="Content-Language">Section 5.6</a> |
---|
[673] | 890 | / <a href="#abnf.dependencies" class="smpl">Content-Length</a> ; <a href="#Part1" id="rfc.xref.Part1.14"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="p1-messaging.html#header.content-length" title="Content-Length">Section 3.2</a> |
---|
[424] | 891 | / <a href="#header.content-location" class="smpl">Content-Location</a> ; <a href="#header.content-location" id="rfc.xref.header.content-location.1" title="Content-Location">Section 5.7</a> |
---|
| 892 | / <a href="#header.content-md5" class="smpl">Content-MD5</a> ; <a href="#header.content-md5" id="rfc.xref.header.content-md5.1" title="Content-MD5">Section 5.8</a> |
---|
| 893 | / <a href="#abnf.dependencies" class="smpl">Content-Range</a> ; <a href="#Part5" id="rfc.xref.Part5.3"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a>, <a href="p5-range.html#header.content-range" title="Content-Range">Section 5.2</a> |
---|
| 894 | / <a href="#header.content-type" class="smpl">Content-Type</a> ; <a href="#header.content-type" id="rfc.xref.header.content-type.2" title="Content-Type">Section 5.9</a> |
---|
[538] | 895 | / <a href="#abnf.dependencies" class="smpl">Expires</a> ; <a href="#Part6" id="rfc.xref.Part6.2"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>, <a href="p6-cache.html#header.expires" title="Expires">Section 3.3</a> |
---|
[424] | 896 | / <a href="#abnf.dependencies" class="smpl">Last-Modified</a> ; <a href="#Part4" id="rfc.xref.Part4.2"><cite title="HTTP/1.1, part 4: Conditional Requests">[Part4]</cite></a>, <a href="p4-conditional.html#header.last-modified" title="Last-Modified">Section 6.6</a> |
---|
[334] | 897 | / <a href="#entity.header.fields" class="smpl">extension-header</a> |
---|
[135] | 898 | |
---|
[647] | 899 | <a href="#entity.header.fields" class="smpl">extension-header</a> = <a href="#abnf.dependencies" class="smpl">header-field</a> |
---|
[424] | 900 | </pre><p id="rfc.section.3.1.p.3">The extension-header mechanism allows additional entity-header fields to be defined without changing the protocol, but these |
---|
[52] | 901 | fields cannot be assumed to be recognizable by the recipient. Unrecognized header fields <em class="bcp14">SHOULD</em> be ignored by the recipient and <em class="bcp14">MUST</em> be forwarded by transparent proxies. |
---|
| 902 | </p> |
---|
[424] | 903 | <h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> <a id="entity.body" href="#entity.body">Entity Body</a></h2> |
---|
| 904 | <p id="rfc.section.3.2.p.1">The entity-body (if any) sent with an HTTP request or response is in a format and encoding defined by the entity-header fields.</p> |
---|
[613] | 905 | <div id="rfc.figure.u.13"></div><pre class="inline"><span id="rfc.iref.g.13"></span> <a href="#entity.body" class="smpl">entity-body</a> = *<a href="#notation" class="smpl">OCTET</a> |
---|
[673] | 906 | </pre><p id="rfc.section.3.2.p.3">An entity-body is only present in a message when a message-body is present, as described in <a href="p1-messaging.html#message.body" title="Message Body">Section 2.7.3</a> of <a href="#Part1" id="rfc.xref.Part1.15"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>. The entity-body is obtained from the message-body by decoding any Transfer-Encoding that might have been applied to ensure |
---|
[52] | 907 | safe and proper transfer of the message. |
---|
| 908 | </p> |
---|
[424] | 909 | <h3 id="rfc.section.3.2.1"><a href="#rfc.section.3.2.1">3.2.1</a> <a id="type" href="#type">Type</a></h3> |
---|
| 910 | <p id="rfc.section.3.2.1.p.1">When an entity-body is included with a message, the data type of that body is determined via the header fields Content-Type |
---|
[52] | 911 | and Content-Encoding. These define a two-layer, ordered encoding model: |
---|
| 912 | </p> |
---|
[458] | 913 | <div id="rfc.figure.u.14"></div><pre class="text"> entity-body := Content-Encoding( Content-Type( data ) ) |
---|
[592] | 914 | </pre><p id="rfc.section.3.2.1.p.3">Content-Type specifies the media type of the underlying data. Any HTTP/1.1 message containing an entity-body <em class="bcp14">SHOULD</em> include a Content-Type header field defining the media type of that body, unless that information is unknown. If the Content-Type |
---|
| 915 | header field is not present, it indicates that the sender does not know the media type of the data; recipients <em class="bcp14">MAY</em> either assume that it is "application/octet-stream" (<a href="#RFC2046" id="rfc.xref.RFC2046.3"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a>, <a href="http://tools.ietf.org/html/rfc2046#section-4.5.1">Section 4.5.1</a>) or examine the content to determine its type. |
---|
[52] | 916 | </p> |
---|
[592] | 917 | <p id="rfc.section.3.2.1.p.4">Content-Encoding may be used to indicate any additional content codings applied to the data, usually for the purpose of data |
---|
| 918 | compression, that are a property of the requested resource. There is no default encoding. |
---|
[52] | 919 | </p> |
---|
[424] | 920 | <h3 id="rfc.section.3.2.2"><a href="#rfc.section.3.2.2">3.2.2</a> <a id="entity.length" href="#entity.length">Entity Length</a></h3> |
---|
[673] | 921 | <p id="rfc.section.3.2.2.p.1">The entity-length of a message is the length of the message-body before any transfer-codings have been applied. <a href="p1-messaging.html#message.length" title="Message Length">Section 2.7.4</a> of <a href="#Part1" id="rfc.xref.Part1.16"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> defines how the transfer-length of a message-body is determined. |
---|
[52] | 922 | </p> |
---|
[424] | 923 | <h1 id="rfc.section.4"><a href="#rfc.section.4">4.</a> <a id="content.negotiation" href="#content.negotiation">Content Negotiation</a></h1> |
---|
| 924 | <p id="rfc.section.4.p.1">Most HTTP responses include an entity which contains information for interpretation by a human user. Naturally, it is desirable |
---|
[52] | 925 | to supply the user with the "best available" entity corresponding to the request. Unfortunately for servers and caches, not |
---|
| 926 | all users have the same preferences for what is "best," and not all user agents are equally capable of rendering all entity |
---|
| 927 | types. For that reason, HTTP has provisions for several mechanisms for "content negotiation" -- the process of selecting the |
---|
[563] | 928 | best representation for a given response when there are multiple representations available. |
---|
[52] | 929 | </p> |
---|
[563] | 930 | <div class="note"> |
---|
| 931 | <p> <b>Note:</b> This is not called "format negotiation" because the alternate representations may be of the same media type, but use different |
---|
[52] | 932 | capabilities of that type, be in different languages, etc. |
---|
[563] | 933 | </p> |
---|
| 934 | </div> |
---|
| 935 | <p id="rfc.section.4.p.3">Any response containing an entity-body <em class="bcp14">MAY</em> be subject to negotiation, including error responses. |
---|
[52] | 936 | </p> |
---|
[563] | 937 | <p id="rfc.section.4.p.4">There are two kinds of content negotiation which are possible in HTTP: server-driven and agent-driven negotiation. These two |
---|
[52] | 938 | kinds of negotiation are orthogonal and thus may be used separately or in combination. One method of combination, referred |
---|
| 939 | to as transparent negotiation, occurs when a cache uses the agent-driven negotiation information provided by the origin server |
---|
| 940 | in order to provide server-driven negotiation for subsequent requests. |
---|
| 941 | </p> |
---|
[424] | 942 | <h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> <a id="server-driven.negotiation" href="#server-driven.negotiation">Server-driven Negotiation</a></h2> |
---|
| 943 | <p id="rfc.section.4.1.p.1">If the selection of the best representation for a response is made by an algorithm located at the server, it is called server-driven |
---|
[52] | 944 | negotiation. Selection is based on the available representations of the response (the dimensions over which it can vary; e.g. |
---|
| 945 | language, content-coding, etc.) and the contents of particular header fields in the request message or on other information |
---|
| 946 | pertaining to the request (such as the network address of the client). |
---|
| 947 | </p> |
---|
[424] | 948 | <p id="rfc.section.4.1.p.2">Server-driven negotiation is advantageous when the algorithm for selecting from among the available representations is difficult |
---|
[52] | 949 | to describe to the user agent, or when the server desires to send its "best guess" to the client along with the first response |
---|
| 950 | (hoping to avoid the round-trip delay of a subsequent request if the "best guess" is good enough for the user). In order to |
---|
| 951 | improve the server's guess, the user agent <em class="bcp14">MAY</em> include request header fields (Accept, Accept-Language, Accept-Encoding, etc.) which describe its preferences for such a response. |
---|
| 952 | </p> |
---|
[424] | 953 | <p id="rfc.section.4.1.p.3">Server-driven negotiation has disadvantages: </p> |
---|
[52] | 954 | <ol> |
---|
| 955 | <li>It is impossible for the server to accurately determine what might be "best" for any given user, since that would require |
---|
| 956 | complete knowledge of both the capabilities of the user agent and the intended use for the response (e.g., does the user want |
---|
| 957 | to view it on screen or print it on paper?). |
---|
| 958 | </li> |
---|
| 959 | <li>Having the user agent describe its capabilities in every request can be both very inefficient (given that only a small percentage |
---|
| 960 | of responses have multiple representations) and a potential violation of the user's privacy. |
---|
| 961 | </li> |
---|
| 962 | <li>It complicates the implementation of an origin server and the algorithms for generating responses to a request.</li> |
---|
| 963 | <li>It may limit a public cache's ability to use the same response for multiple user's requests.</li> |
---|
| 964 | </ol> |
---|
[424] | 965 | <p id="rfc.section.4.1.p.4">HTTP/1.1 includes the following request-header fields for enabling server-driven negotiation through description of user agent |
---|
| 966 | capabilities and user preferences: Accept (<a href="#header.accept" id="rfc.xref.header.accept.2" title="Accept">Section 5.1</a>), Accept-Charset (<a href="#header.accept-charset" id="rfc.xref.header.accept-charset.1" title="Accept-Charset">Section 5.2</a>), Accept-Encoding (<a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.2" title="Accept-Encoding">Section 5.3</a>), Accept-Language (<a href="#header.accept-language" id="rfc.xref.header.accept-language.1" title="Accept-Language">Section 5.4</a>), and User-Agent (<a href="p2-semantics.html#header.user-agent" title="User-Agent">Section 9.9</a> of <a href="#Part2" id="rfc.xref.Part2.1"><cite title="HTTP/1.1, part 2: Message Semantics">[Part2]</cite></a>). However, an origin server is not limited to these dimensions and <em class="bcp14">MAY</em> vary the response based on any aspect of the request, including information outside the request-header fields or within extension |
---|
[52] | 967 | header fields not defined by this specification. |
---|
| 968 | </p> |
---|
[538] | 969 | <p id="rfc.section.4.1.p.5">The Vary header field (<a href="p6-cache.html#header.vary" title="Vary">Section 3.5</a> of <a href="#Part6" id="rfc.xref.Part6.3"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>) can be used to express the parameters the server uses to select a representation that is subject to server-driven negotiation. |
---|
[52] | 970 | </p> |
---|
[424] | 971 | <h2 id="rfc.section.4.2"><a href="#rfc.section.4.2">4.2</a> <a id="agent-driven.negotiation" href="#agent-driven.negotiation">Agent-driven Negotiation</a></h2> |
---|
| 972 | <p id="rfc.section.4.2.p.1">With agent-driven negotiation, selection of the best representation for a response is performed by the user agent after receiving |
---|
[52] | 973 | an initial response from the origin server. Selection is based on a list of the available representations of the response |
---|
| 974 | included within the header fields or entity-body of the initial response, with each representation identified by its own URI. |
---|
| 975 | Selection from among the representations may be performed automatically (if the user agent is capable of doing so) or manually |
---|
| 976 | by the user selecting from a generated (possibly hypertext) menu. |
---|
| 977 | </p> |
---|
[424] | 978 | <p id="rfc.section.4.2.p.2">Agent-driven negotiation is advantageous when the response would vary over commonly-used dimensions (such as type, language, |
---|
[52] | 979 | or encoding), when the origin server is unable to determine a user agent's capabilities from examining the request, and generally |
---|
| 980 | when public caches are used to distribute server load and reduce network usage. |
---|
| 981 | </p> |
---|
[424] | 982 | <p id="rfc.section.4.2.p.3">Agent-driven negotiation suffers from the disadvantage of needing a second request to obtain the best alternate representation. |
---|
[52] | 983 | This second request is only efficient when caching is used. In addition, this specification does not define any mechanism |
---|
| 984 | for supporting automatic selection, though it also does not prevent any such mechanism from being developed as an extension |
---|
| 985 | and used within HTTP/1.1. |
---|
| 986 | </p> |
---|
[424] | 987 | <p id="rfc.section.4.2.p.4">HTTP/1.1 defines the 300 (Multiple Choices) and 406 (Not Acceptable) status codes for enabling agent-driven negotiation when |
---|
[52] | 988 | the server is unwilling or unable to provide a varying response using server-driven negotiation. |
---|
| 989 | </p> |
---|
[424] | 990 | <h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a> <a id="transparent.negotiation" href="#transparent.negotiation">Transparent Negotiation</a></h2> |
---|
| 991 | <p id="rfc.section.4.3.p.1">Transparent negotiation is a combination of both server-driven and agent-driven negotiation. When a cache is supplied with |
---|
[52] | 992 | a form of the list of available representations of the response (as in agent-driven negotiation) and the dimensions of variance |
---|
| 993 | are completely understood by the cache, then the cache becomes capable of performing server-driven negotiation on behalf of |
---|
| 994 | the origin server for subsequent requests on that resource. |
---|
| 995 | </p> |
---|
[424] | 996 | <p id="rfc.section.4.3.p.2">Transparent negotiation has the advantage of distributing the negotiation work that would otherwise be required of the origin |
---|
[52] | 997 | server and also removing the second request delay of agent-driven negotiation when the cache is able to correctly guess the |
---|
| 998 | right response. |
---|
| 999 | </p> |
---|
[424] | 1000 | <p id="rfc.section.4.3.p.3">This specification does not define any mechanism for transparent negotiation, though it also does not prevent any such mechanism |
---|
[52] | 1001 | from being developed as an extension that could be used within HTTP/1.1. |
---|
| 1002 | </p> |
---|
[424] | 1003 | <h1 id="rfc.section.5"><a href="#rfc.section.5">5.</a> <a id="header.fields" href="#header.fields">Header Field Definitions</a></h1> |
---|
| 1004 | <p id="rfc.section.5.p.1">This section defines the syntax and semantics of HTTP/1.1 header fields related to the payload of messages.</p> |
---|
| 1005 | <p id="rfc.section.5.p.2">For entity-header fields, both sender and recipient refer to either the client or the server, depending on who sends and who |
---|
[117] | 1006 | receives the entity. |
---|
[52] | 1007 | </p> |
---|
| 1008 | <div id="rfc.iref.a.1"></div> |
---|
| 1009 | <div id="rfc.iref.h.1"></div> |
---|
[424] | 1010 | <h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> <a id="header.accept" href="#header.accept">Accept</a></h2> |
---|
| 1011 | <p id="rfc.section.5.1.p.1">The request-header field "Accept" can be used to specify certain media types which are acceptable for the response. Accept |
---|
[357] | 1012 | headers can be used to indicate that the request is specifically limited to a small set of desired types, as in the case of |
---|
| 1013 | a request for an in-line image. |
---|
[52] | 1014 | </p> |
---|
[613] | 1015 | <div id="rfc.figure.u.15"></div><pre class="inline"><span id="rfc.iref.g.14"></span><span id="rfc.iref.g.15"></span><span id="rfc.iref.g.16"></span><span id="rfc.iref.g.17"></span><span id="rfc.iref.g.18"></span> <a href="#header.accept" class="smpl">Accept</a> = "Accept" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.accept" class="smpl">Accept-v</a> |
---|
[357] | 1016 | <a href="#header.accept" class="smpl">Accept-v</a> = #( <a href="#header.accept" class="smpl">media-range</a> [ <a href="#header.accept" class="smpl">accept-params</a> ] ) |
---|
[135] | 1017 | |
---|
[229] | 1018 | <a href="#header.accept" class="smpl">media-range</a> = ( "*/*" |
---|
[334] | 1019 | / ( <a href="#media.types" class="smpl">type</a> "/" "*" ) |
---|
| 1020 | / ( <a href="#media.types" class="smpl">type</a> "/" <a href="#media.types" class="smpl">subtype</a> ) |
---|
[424] | 1021 | ) *( <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#rule.parameter" class="smpl">parameter</a> ) |
---|
[457] | 1022 | <a href="#header.accept" class="smpl">accept-params</a> = <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> *( <a href="#header.accept" class="smpl">accept-ext</a> ) |
---|
[424] | 1023 | <a href="#header.accept" class="smpl">accept-ext</a> = <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#core.rules" class="smpl">token</a> |
---|
| 1024 | [ "=" ( <a href="#core.rules" class="smpl">token</a> / <a href="#core.rules" class="smpl">quoted-string</a> ) ] |
---|
| 1025 | </pre><p id="rfc.section.5.1.p.3">The asterisk "*" character is used to group media types into ranges, with "*/*" indicating all media types and "type/*" indicating |
---|
[52] | 1026 | all subtypes of that type. The media-range <em class="bcp14">MAY</em> include media type parameters that are applicable to that range. |
---|
| 1027 | </p> |
---|
[424] | 1028 | <p id="rfc.section.5.1.p.4">Each media-range <em class="bcp14">MAY</em> be followed by one or more accept-params, beginning with the "q" parameter for indicating a relative quality factor. The first |
---|
[52] | 1029 | "q" parameter (if any) separates the media-range parameter(s) from the accept-params. Quality factors allow the user or user |
---|
[673] | 1030 | agent to indicate the relative degree of preference for that media-range, using the qvalue scale from 0 to 1 (<a href="p1-messaging.html#quality.values" title="Quality Values">Section 2.10.4</a> of <a href="#Part1" id="rfc.xref.Part1.17"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). The default value is q=1. |
---|
[52] | 1031 | </p> |
---|
[563] | 1032 | <div class="note"> |
---|
| 1033 | <p> <b>Note:</b> Use of the "q" parameter name to separate media type parameters from Accept extension parameters is due to historical practice. |
---|
[52] | 1034 | Although this prevents any media type parameter named "q" from being used with a media range, such an event is believed to |
---|
| 1035 | be unlikely given the lack of any "q" parameters in the IANA media type registry and the rare usage of any media type parameters |
---|
| 1036 | in Accept. Future media types are discouraged from registering any parameter named "q". |
---|
[563] | 1037 | </p> |
---|
| 1038 | </div> |
---|
| 1039 | <p id="rfc.section.5.1.p.6">The example</p> |
---|
[457] | 1040 | <div id="rfc.figure.u.16"></div><pre class="text"> Accept: audio/*; q=0.2, audio/basic |
---|
[563] | 1041 | </pre><p id="rfc.section.5.1.p.8"> <em class="bcp14">SHOULD</em> be interpreted as "I prefer audio/basic, but send me any audio type if it is the best available after an 80% mark-down in |
---|
[52] | 1042 | quality." |
---|
| 1043 | </p> |
---|
[563] | 1044 | <p id="rfc.section.5.1.p.9">If no Accept header field is present, then it is assumed that the client accepts all media types. If an Accept header field |
---|
[52] | 1045 | is present, and if the server cannot send a response which is acceptable according to the combined Accept field value, then |
---|
[137] | 1046 | the server <em class="bcp14">SHOULD</em> send a 406 (Not Acceptable) response. |
---|
[52] | 1047 | </p> |
---|
[563] | 1048 | <p id="rfc.section.5.1.p.10">A more elaborate example is</p> |
---|
[457] | 1049 | <div id="rfc.figure.u.17"></div><pre class="text"> Accept: text/plain; q=0.5, text/html, |
---|
[357] | 1050 | text/x-dvi; q=0.8, text/x-c |
---|
[563] | 1051 | </pre><p id="rfc.section.5.1.p.12">Verbally, this would be interpreted as "text/html and text/x-c are the preferred media types, but if they do not exist, then |
---|
[52] | 1052 | send the text/x-dvi entity, and if that does not exist, send the text/plain entity." |
---|
| 1053 | </p> |
---|
[563] | 1054 | <p id="rfc.section.5.1.p.13">Media ranges can be overridden by more specific media ranges or specific media types. If more than one media range applies |
---|
[52] | 1055 | to a given type, the most specific reference has precedence. For example, |
---|
| 1056 | </p> |
---|
[457] | 1057 | <div id="rfc.figure.u.18"></div><pre class="text"> Accept: text/*, text/html, text/html;level=1, */* |
---|
[563] | 1058 | </pre><p id="rfc.section.5.1.p.15">have the following precedence: </p> |
---|
[459] | 1059 | <ol> |
---|
| 1060 | <li>text/html;level=1</li> |
---|
| 1061 | <li>text/html</li> |
---|
| 1062 | <li>text/*</li> |
---|
| 1063 | <li>*/*</li> |
---|
| 1064 | </ol> |
---|
[563] | 1065 | <p id="rfc.section.5.1.p.16">The media type quality factor associated with a given type is determined by finding the media range with the highest precedence |
---|
[52] | 1066 | which matches that type. For example, |
---|
| 1067 | </p> |
---|
[459] | 1068 | <div id="rfc.figure.u.19"></div><pre class="text"> Accept: text/*;q=0.3, text/html;q=0.7, text/html;level=1, |
---|
[357] | 1069 | text/html;level=2;q=0.4, */*;q=0.5 |
---|
[563] | 1070 | </pre><p id="rfc.section.5.1.p.18">would cause the following values to be associated:</p> |
---|
[459] | 1071 | <div id="rfc.table.u.1"> |
---|
[663] | 1072 | <table class="tt full left" cellpadding="3" cellspacing="0"> |
---|
[459] | 1073 | <thead> |
---|
| 1074 | <tr> |
---|
| 1075 | <th>Media Type</th> |
---|
| 1076 | <th>Quality Value</th> |
---|
| 1077 | </tr> |
---|
| 1078 | </thead> |
---|
| 1079 | <tbody> |
---|
| 1080 | <tr> |
---|
| 1081 | <td>text/html;level=1</td> |
---|
| 1082 | <td>1</td> |
---|
| 1083 | </tr> |
---|
| 1084 | <tr> |
---|
| 1085 | <td>text/html</td> |
---|
| 1086 | <td>0.7</td> |
---|
| 1087 | </tr> |
---|
| 1088 | <tr> |
---|
| 1089 | <td>text/plain</td> |
---|
| 1090 | <td>0.3</td> |
---|
| 1091 | </tr> |
---|
| 1092 | <tr> |
---|
| 1093 | <td>image/jpeg</td> |
---|
| 1094 | <td>0.5</td> |
---|
| 1095 | </tr> |
---|
| 1096 | <tr> |
---|
| 1097 | <td>text/html;level=2</td> |
---|
| 1098 | <td>0.4</td> |
---|
| 1099 | </tr> |
---|
| 1100 | <tr> |
---|
| 1101 | <td>text/html;level=3</td> |
---|
| 1102 | <td>0.7</td> |
---|
| 1103 | </tr> |
---|
| 1104 | </tbody> |
---|
| 1105 | </table> |
---|
| 1106 | </div> |
---|
[563] | 1107 | <p id="rfc.section.5.1.p.19"> <b>Note:</b> A user agent might be provided with a default set of quality values for certain media ranges. However, unless the user agent |
---|
[52] | 1108 | is a closed system which cannot interact with other rendering agents, this default set ought to be configurable by the user. |
---|
| 1109 | </p> |
---|
| 1110 | <div id="rfc.iref.a.2"></div> |
---|
| 1111 | <div id="rfc.iref.h.2"></div> |
---|
[424] | 1112 | <h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="header.accept-charset" href="#header.accept-charset">Accept-Charset</a></h2> |
---|
| 1113 | <p id="rfc.section.5.2.p.1">The request-header field "Accept-Charset" can be used to indicate what character sets are acceptable for the response. This |
---|
[52] | 1114 | field allows clients capable of understanding more comprehensive or special-purpose character sets to signal that capability |
---|
| 1115 | to a server which is capable of representing documents in those character sets. |
---|
| 1116 | </p> |
---|
[613] | 1117 | <div id="rfc.figure.u.20"></div><pre class="inline"><span id="rfc.iref.g.19"></span><span id="rfc.iref.g.20"></span> <a href="#header.accept-charset" class="smpl">Accept-Charset</a> = "Accept-Charset" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
[357] | 1118 | <a href="#header.accept-charset" class="smpl">Accept-Charset-v</a> |
---|
[376] | 1119 | <a href="#header.accept-charset" class="smpl">Accept-Charset-v</a> = 1#( ( <a href="#rule.charset" class="smpl">charset</a> / "*" ) |
---|
[457] | 1120 | [ <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> ] ) |
---|
[424] | 1121 | </pre><p id="rfc.section.5.2.p.3">Character set values are described in <a href="#character.sets" title="Character Sets">Section 2.1</a>. Each charset <em class="bcp14">MAY</em> be given an associated quality value which represents the user's preference for that charset. The default value is q=1. An |
---|
[52] | 1122 | example is |
---|
| 1123 | </p> |
---|
[459] | 1124 | <div id="rfc.figure.u.21"></div><pre class="text"> Accept-Charset: iso-8859-5, unicode-1-1;q=0.8 |
---|
[424] | 1125 | </pre><p id="rfc.section.5.2.p.5">The special value "*", if present in the Accept-Charset field, matches every character set (including ISO-8859-1) which is |
---|
[52] | 1126 | not mentioned elsewhere in the Accept-Charset field. If no "*" is present in an Accept-Charset field, then all character sets |
---|
| 1127 | not explicitly mentioned get a quality value of 0, except for ISO-8859-1, which gets a quality value of 1 if not explicitly |
---|
| 1128 | mentioned. |
---|
| 1129 | </p> |
---|
[424] | 1130 | <p id="rfc.section.5.2.p.6">If no Accept-Charset header is present, the default is that any character set is acceptable. If an Accept-Charset header is |
---|
[137] | 1131 | present, and if the server cannot send a response which is acceptable according to the Accept-Charset header, then the server <em class="bcp14">SHOULD</em> send an error response with the 406 (Not Acceptable) status code, though the sending of an unacceptable response is also allowed. |
---|
[52] | 1132 | </p> |
---|
| 1133 | <div id="rfc.iref.a.3"></div> |
---|
| 1134 | <div id="rfc.iref.h.3"></div> |
---|
[424] | 1135 | <h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a> <a id="header.accept-encoding" href="#header.accept-encoding">Accept-Encoding</a></h2> |
---|
| 1136 | <p id="rfc.section.5.3.p.1">The request-header field "Accept-Encoding" is similar to Accept, but restricts the content-codings (<a href="#content.codings" title="Content Codings">Section 2.2</a>) that are acceptable in the response. |
---|
[52] | 1137 | </p> |
---|
[613] | 1138 | <div id="rfc.figure.u.22"></div><pre class="inline"><span id="rfc.iref.g.21"></span><span id="rfc.iref.g.22"></span><span id="rfc.iref.g.23"></span> <a href="#header.accept-encoding" class="smpl">Accept-Encoding</a> = "Accept-Encoding" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
[357] | 1139 | <a href="#header.accept-encoding" class="smpl">Accept-Encoding-v</a> |
---|
| 1140 | <a href="#header.accept-encoding" class="smpl">Accept-Encoding-v</a> = |
---|
[457] | 1141 | #( <a href="#header.accept-encoding" class="smpl">codings</a> [ <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> ] ) |
---|
[357] | 1142 | <a href="#header.accept-encoding" class="smpl">codings</a> = ( <a href="#content.codings" class="smpl">content-coding</a> / "*" ) |
---|
[424] | 1143 | </pre><p id="rfc.section.5.3.p.3">Each codings value <em class="bcp14">MAY</em> be given an associated quality value which represents the preference for that encoding. The default value is q=1. |
---|
[248] | 1144 | </p> |
---|
[424] | 1145 | <p id="rfc.section.5.3.p.4">Examples of its use are:</p> |
---|
[459] | 1146 | <div id="rfc.figure.u.23"></div><pre class="text"> Accept-Encoding: compress, gzip |
---|
[357] | 1147 | Accept-Encoding: |
---|
| 1148 | Accept-Encoding: * |
---|
| 1149 | Accept-Encoding: compress;q=0.5, gzip;q=1.0 |
---|
| 1150 | Accept-Encoding: gzip;q=1.0, identity; q=0.5, *;q=0 |
---|
[424] | 1151 | </pre><p id="rfc.section.5.3.p.6">A server tests whether a content-coding is acceptable, according to an Accept-Encoding field, using these rules: </p> |
---|
[97] | 1152 | <ol> |
---|
| 1153 | <li>If the content-coding is one of the content-codings listed in the Accept-Encoding field, then it is acceptable, unless it |
---|
[673] | 1154 | is accompanied by a qvalue of 0. (As defined in <a href="p1-messaging.html#quality.values" title="Quality Values">Section 2.10.4</a> of <a href="#Part1" id="rfc.xref.Part1.18"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, a qvalue of 0 means "not acceptable.") |
---|
[97] | 1155 | </li> |
---|
| 1156 | <li>The special "*" symbol in an Accept-Encoding field matches any available content-coding not explicitly listed in the header |
---|
| 1157 | field. |
---|
| 1158 | </li> |
---|
| 1159 | <li>If multiple content-codings are acceptable, then the acceptable content-coding with the highest non-zero qvalue is preferred.</li> |
---|
| 1160 | <li>The "identity" content-coding is always acceptable, unless specifically refused because the Accept-Encoding field includes |
---|
| 1161 | "identity;q=0", or because the field includes "*;q=0" and does not explicitly include the "identity" content-coding. If the |
---|
| 1162 | Accept-Encoding field-value is empty, then only the "identity" encoding is acceptable. |
---|
| 1163 | </li> |
---|
| 1164 | </ol> |
---|
[424] | 1165 | <p id="rfc.section.5.3.p.7">If an Accept-Encoding field is present in a request, and if the server cannot send a response which is acceptable according |
---|
[97] | 1166 | to the Accept-Encoding header, then the server <em class="bcp14">SHOULD</em> send an error response with the 406 (Not Acceptable) status code. |
---|
| 1167 | </p> |
---|
[424] | 1168 | <p id="rfc.section.5.3.p.8">If no Accept-Encoding field is present in a request, the server <em class="bcp14">MAY</em> assume that the client will accept any content coding. In this case, if "identity" is one of the available content-codings, |
---|
[97] | 1169 | then the server <em class="bcp14">SHOULD</em> use the "identity" content-coding, unless it has additional information that a different content-coding is meaningful to the |
---|
[563] | 1170 | client. |
---|
[97] | 1171 | </p> |
---|
[563] | 1172 | <div class="note"> |
---|
| 1173 | <p> <b>Note:</b> If the request does not include an Accept-Encoding field, and if the "identity" content-coding is unavailable, then content-codings |
---|
[97] | 1174 | commonly understood by HTTP/1.0 clients (i.e., "gzip" and "compress") are preferred; some older clients improperly display |
---|
| 1175 | messages sent with other content-codings. The server might also make this decision based on information about the particular |
---|
| 1176 | user-agent or client. |
---|
[563] | 1177 | </p> |
---|
| 1178 | </div> |
---|
| 1179 | <div class="note"> |
---|
| 1180 | <p> <b>Note:</b> Most HTTP/1.0 applications do not recognize or obey qvalues associated with content-codings. This means that qvalues will |
---|
[97] | 1181 | not work and are not permitted with x-gzip or x-compress. |
---|
[563] | 1182 | </p> |
---|
| 1183 | </div> |
---|
[97] | 1184 | <div id="rfc.iref.a.4"></div> |
---|
| 1185 | <div id="rfc.iref.h.4"></div> |
---|
[424] | 1186 | <h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> <a id="header.accept-language" href="#header.accept-language">Accept-Language</a></h2> |
---|
| 1187 | <p id="rfc.section.5.4.p.1">The request-header field "Accept-Language" is similar to Accept, but restricts the set of natural languages that are preferred |
---|
[457] | 1188 | as a response to the request. Language tags are defined in <a href="#language.tags" title="Language Tags">Section 2.4</a>. |
---|
[97] | 1189 | </p> |
---|
[613] | 1190 | <div id="rfc.figure.u.24"></div><pre class="inline"><span id="rfc.iref.g.24"></span><span id="rfc.iref.g.25"></span><span id="rfc.iref.g.26"></span> <a href="#header.accept-language" class="smpl">Accept-Language</a> = "Accept-Language" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
[357] | 1191 | <a href="#header.accept-language" class="smpl">Accept-Language-v</a> |
---|
| 1192 | <a href="#header.accept-language" class="smpl">Accept-Language-v</a> = |
---|
[457] | 1193 | 1#( <a href="#header.accept-language" class="smpl">language-range</a> [ <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> "q=" <a href="#abnf.dependencies" class="smpl">qvalue</a> ] ) |
---|
[357] | 1194 | <a href="#header.accept-language" class="smpl">language-range</a> = |
---|
[303] | 1195 | <language-range, defined in <a href="#RFC4647" id="rfc.xref.RFC4647.1"><cite title="Matching of Language Tags">[RFC4647]</cite></a>, <a href="http://tools.ietf.org/html/rfc4647#section-2.1">Section 2.1</a>> |
---|
[424] | 1196 | </pre><p id="rfc.section.5.4.p.3">Each language-range can be given an associated quality value which represents an estimate of the user's preference for the |
---|
[303] | 1197 | languages specified by that range. The quality value defaults to "q=1". For example, |
---|
[97] | 1198 | </p> |
---|
[459] | 1199 | <div id="rfc.figure.u.25"></div><pre class="text"> Accept-Language: da, en-gb;q=0.8, en;q=0.7 |
---|
[424] | 1200 | </pre><p id="rfc.section.5.4.p.5">would mean: "I prefer Danish, but will accept British English and other types of English."</p> |
---|
| 1201 | <p id="rfc.section.5.4.p.6">For matching, the "Basic Filtering" matching scheme, defined in <a href="http://tools.ietf.org/html/rfc4647#section-3.3.1">Section 3.3.1</a> of <a href="#RFC4647" id="rfc.xref.RFC4647.2"><cite title="Matching of Language Tags">[RFC4647]</cite></a>, is used: |
---|
[97] | 1202 | </p> |
---|
[424] | 1203 | <blockquote id="rfc.section.5.4.p.7" cite="http://tools.ietf.org/html/rfc4647#section-3.3.1"> |
---|
[303] | 1204 | <p>A language range matches a particular language tag if, in a case-insensitive comparison, it exactly equals the tag, or if |
---|
| 1205 | it exactly equals a prefix of the tag such that the first character following the prefix is "-". |
---|
| 1206 | </p> |
---|
| 1207 | </blockquote> |
---|
[424] | 1208 | <p id="rfc.section.5.4.p.8">The special range "*", if present in the Accept-Language field, matches every tag not matched by any other range present in |
---|
[563] | 1209 | the Accept-Language field. |
---|
[303] | 1210 | </p> |
---|
[563] | 1211 | <div class="note"> |
---|
| 1212 | <p> <b>Note:</b> This use of a prefix matching rule does not imply that language tags are assigned to languages in such a way that it is always |
---|
[97] | 1213 | true that if a user understands a language with a certain tag, then this user will also understand all languages with tags |
---|
| 1214 | for which this tag is a prefix. The prefix rule simply allows the use of prefix tags if this is the case. |
---|
[563] | 1215 | </p> |
---|
| 1216 | </div> |
---|
| 1217 | <p id="rfc.section.5.4.p.10">The language quality factor assigned to a language-tag by the Accept-Language field is the quality value of the longest language-range |
---|
[97] | 1218 | in the field that matches the language-tag. If no language-range in the field matches the tag, the language quality factor |
---|
| 1219 | assigned is 0. If no Accept-Language header is present in the request, the server <em class="bcp14">SHOULD</em> assume that all languages are equally acceptable. If an Accept-Language header is present, then all languages which are assigned |
---|
| 1220 | a quality factor greater than 0 are acceptable. |
---|
| 1221 | </p> |
---|
[563] | 1222 | <p id="rfc.section.5.4.p.11">It might be contrary to the privacy expectations of the user to send an Accept-Language header with the complete linguistic |
---|
[424] | 1223 | preferences of the user in every request. For a discussion of this issue, see <a href="#privacy.issues.connected.to.accept.headers" title="Privacy Issues Connected to Accept Headers">Section 7.1</a>. |
---|
[97] | 1224 | </p> |
---|
[563] | 1225 | <p id="rfc.section.5.4.p.12">As intelligibility is highly dependent on the individual user, it is recommended that client applications make the choice |
---|
| 1226 | of linguistic preference available to the user. If the choice is not made available, then the Accept-Language header field <em class="bcp14">MUST NOT</em> be given in the request. |
---|
[97] | 1227 | </p> |
---|
[563] | 1228 | <div class="note"> |
---|
| 1229 | <p> <b>Note:</b> When making the choice of linguistic preference available to the user, we remind implementors of the fact that users are not |
---|
[97] | 1230 | familiar with the details of language matching as described above, and should provide appropriate guidance. As an example, |
---|
| 1231 | users might assume that on selecting "en-gb", they will be served any kind of English document if British English is not available. |
---|
| 1232 | A user agent might suggest in such a case to add "en" to get the best matching behavior. |
---|
[563] | 1233 | </p> |
---|
| 1234 | </div> |
---|
[673] | 1235 | <div id="rfc.iref.c.7"></div> |
---|
[97] | 1236 | <div id="rfc.iref.h.5"></div> |
---|
[424] | 1237 | <h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> <a id="header.content-encoding" href="#header.content-encoding">Content-Encoding</a></h2> |
---|
| 1238 | <p id="rfc.section.5.5.p.1">The entity-header field "Content-Encoding" is used as a modifier to the media-type. When present, its value indicates what |
---|
[357] | 1239 | additional content codings have been applied to the entity-body, and thus what decoding mechanisms must be applied in order |
---|
| 1240 | to obtain the media-type referenced by the Content-Type header field. Content-Encoding is primarily used to allow a document |
---|
| 1241 | to be compressed without losing the identity of its underlying media type. |
---|
[97] | 1242 | </p> |
---|
[613] | 1243 | <div id="rfc.figure.u.26"></div><pre class="inline"><span id="rfc.iref.g.27"></span><span id="rfc.iref.g.28"></span> <a href="#header.content-encoding" class="smpl">Content-Encoding</a> = "Content-Encoding" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-encoding" class="smpl">Content-Encoding-v</a> |
---|
[357] | 1244 | <a href="#header.content-encoding" class="smpl">Content-Encoding-v</a> = 1#<a href="#content.codings" class="smpl">content-coding</a> |
---|
[424] | 1245 | </pre><p id="rfc.section.5.5.p.3">Content codings are defined in <a href="#content.codings" title="Content Codings">Section 2.2</a>. An example of its use is |
---|
[97] | 1246 | </p> |
---|
[459] | 1247 | <div id="rfc.figure.u.27"></div><pre class="text"> Content-Encoding: gzip |
---|
[424] | 1248 | </pre><p id="rfc.section.5.5.p.5">The content-coding is a characteristic of the entity identified by the request-target. Typically, the entity-body is stored |
---|
[391] | 1249 | with this encoding and is only decoded before rendering or analogous usage. However, a non-transparent proxy <em class="bcp14">MAY</em> modify the content-coding if the new coding is known to be acceptable to the recipient, unless the "no-transform" cache-control |
---|
[97] | 1250 | directive is present in the message. |
---|
| 1251 | </p> |
---|
[424] | 1252 | <p id="rfc.section.5.5.p.6">If the content-coding of an entity is not "identity", then the response <em class="bcp14">MUST</em> include a Content-Encoding entity-header (<a href="#header.content-encoding" id="rfc.xref.header.content-encoding.3" title="Content-Encoding">Section 5.5</a>) that lists the non-identity content-coding(s) used. |
---|
[97] | 1253 | </p> |
---|
[424] | 1254 | <p id="rfc.section.5.5.p.7">If the content-coding of an entity in a request message is not acceptable to the origin server, the server <em class="bcp14">SHOULD</em> respond with a status code of 415 (Unsupported Media Type). |
---|
[97] | 1255 | </p> |
---|
[424] | 1256 | <p id="rfc.section.5.5.p.8">If multiple encodings have been applied to an entity, the content codings <em class="bcp14">MUST</em> be listed in the order in which they were applied. Additional information about the encoding parameters <em class="bcp14">MAY</em> be provided by other entity-header fields not defined by this specification. |
---|
[97] | 1257 | </p> |
---|
[673] | 1258 | <div id="rfc.iref.c.8"></div> |
---|
[97] | 1259 | <div id="rfc.iref.h.6"></div> |
---|
[424] | 1260 | <h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> <a id="header.content-language" href="#header.content-language">Content-Language</a></h2> |
---|
| 1261 | <p id="rfc.section.5.6.p.1">The entity-header field "Content-Language" describes the natural language(s) of the intended audience for the enclosed entity. |
---|
[97] | 1262 | Note that this might not be equivalent to all the languages used within the entity-body. |
---|
| 1263 | </p> |
---|
[613] | 1264 | <div id="rfc.figure.u.28"></div><pre class="inline"><span id="rfc.iref.g.29"></span><span id="rfc.iref.g.30"></span> <a href="#header.content-language" class="smpl">Content-Language</a> = "Content-Language" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-language" class="smpl">Content-Language-v</a> |
---|
[357] | 1265 | <a href="#header.content-language" class="smpl">Content-Language-v</a> = 1#<a href="#language.tags" class="smpl">language-tag</a> |
---|
[457] | 1266 | </pre><p id="rfc.section.5.6.p.3">Language tags are defined in <a href="#language.tags" title="Language Tags">Section 2.4</a>. The primary purpose of Content-Language is to allow a user to identify and differentiate entities according to the user's |
---|
[97] | 1267 | own preferred language. Thus, if the body content is intended only for a Danish-literate audience, the appropriate field is |
---|
| 1268 | </p> |
---|
[459] | 1269 | <div id="rfc.figure.u.29"></div><pre class="text"> Content-Language: da |
---|
[424] | 1270 | </pre><p id="rfc.section.5.6.p.5">If no Content-Language is specified, the default is that the content is intended for all language audiences. This might mean |
---|
[97] | 1271 | that the sender does not consider it to be specific to any natural language, or that the sender does not know for which language |
---|
| 1272 | it is intended. |
---|
| 1273 | </p> |
---|
[424] | 1274 | <p id="rfc.section.5.6.p.6">Multiple languages <em class="bcp14">MAY</em> be listed for content that is intended for multiple audiences. For example, a rendition of the "Treaty of Waitangi," presented |
---|
[97] | 1275 | simultaneously in the original Maori and English versions, would call for |
---|
| 1276 | </p> |
---|
[459] | 1277 | <div id="rfc.figure.u.30"></div><pre class="text"> Content-Language: mi, en |
---|
[424] | 1278 | </pre><p id="rfc.section.5.6.p.8">However, just because multiple languages are present within an entity does not mean that it is intended for multiple linguistic |
---|
[97] | 1279 | audiences. An example would be a beginner's language primer, such as "A First Lesson in Latin," which is clearly intended |
---|
| 1280 | to be used by an English-literate audience. In this case, the Content-Language would properly only include "en". |
---|
| 1281 | </p> |
---|
[424] | 1282 | <p id="rfc.section.5.6.p.9">Content-Language <em class="bcp14">MAY</em> be applied to any media type -- it is not limited to textual documents. |
---|
[97] | 1283 | </p> |
---|
[673] | 1284 | <div id="rfc.iref.c.9"></div> |
---|
[97] | 1285 | <div id="rfc.iref.h.7"></div> |
---|
[424] | 1286 | <h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> <a id="header.content-location" href="#header.content-location">Content-Location</a></h2> |
---|
| 1287 | <p id="rfc.section.5.7.p.1">The entity-header field "Content-Location" <em class="bcp14">MAY</em> be used to supply the resource location for the entity enclosed in the message when that entity is accessible from a location |
---|
[97] | 1288 | separate from the requested resource's URI. A server <em class="bcp14">SHOULD</em> provide a Content-Location for the variant corresponding to the response entity; especially in the case where a resource has |
---|
| 1289 | multiple entities associated with it, and those entities actually have separate locations by which they might be individually |
---|
| 1290 | accessed, the server <em class="bcp14">SHOULD</em> provide a Content-Location for the particular variant which is returned. |
---|
| 1291 | </p> |
---|
[613] | 1292 | <div id="rfc.figure.u.31"></div><pre class="inline"><span id="rfc.iref.g.31"></span><span id="rfc.iref.g.32"></span> <a href="#header.content-location" class="smpl">Content-Location</a> = "Content-Location" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
[357] | 1293 | <a href="#header.content-location" class="smpl">Content-Location-v</a> |
---|
| 1294 | <a href="#header.content-location" class="smpl">Content-Location-v</a> = |
---|
[391] | 1295 | <a href="#abnf.dependencies" class="smpl">absolute-URI</a> / <a href="#abnf.dependencies" class="smpl">partial-URI</a> |
---|
[424] | 1296 | </pre><p id="rfc.section.5.7.p.3">The value of Content-Location also defines the base URI for the entity.</p> |
---|
| 1297 | <p id="rfc.section.5.7.p.4">The Content-Location value is not a replacement for the original requested URI; it is only a statement of the location of |
---|
[391] | 1298 | the resource corresponding to this particular entity at the time of the request. Future requests <em class="bcp14">MAY</em> specify the Content-Location URI as the request-target if the desire is to identify the source of that particular entity. |
---|
[97] | 1299 | </p> |
---|
[424] | 1300 | <p id="rfc.section.5.7.p.5">A cache cannot assume that an entity with a Content-Location different from the URI used to retrieve it can be used to respond |
---|
[97] | 1301 | to later requests on that Content-Location URI. However, the Content-Location can be used to differentiate between multiple |
---|
[538] | 1302 | entities retrieved from a single requested resource, as described in <a href="p6-cache.html#caching.negotiated.responses" title="Caching Negotiated Responses">Section 2.6</a> of <a href="#Part6" id="rfc.xref.Part6.4"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>. |
---|
[97] | 1303 | </p> |
---|
[424] | 1304 | <p id="rfc.section.5.7.p.6">If the Content-Location is a relative URI, the relative URI is interpreted relative to the request-target.</p> |
---|
[577] | 1305 | <p id="rfc.section.5.7.p.7">The meaning of the Content-Location header in requests is undefined; servers are free to ignore it in those cases.</p> |
---|
[673] | 1306 | <div id="rfc.iref.c.10"></div> |
---|
[97] | 1307 | <div id="rfc.iref.h.8"></div> |
---|
[424] | 1308 | <h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> <a id="header.content-md5" href="#header.content-md5">Content-MD5</a></h2> |
---|
| 1309 | <p id="rfc.section.5.8.p.1">The entity-header field "Content-MD5", as defined in <a href="#RFC1864" id="rfc.xref.RFC1864.1"><cite title="The Content-MD5 Header Field">[RFC1864]</cite></a>, is an MD5 digest of the entity-body for the purpose of providing an end-to-end message integrity check (MIC) of the entity-body. |
---|
[97] | 1310 | (Note: a MIC is good for detecting accidental modification of the entity-body in transit, but is not proof against malicious |
---|
| 1311 | attacks.) |
---|
| 1312 | </p> |
---|
[613] | 1313 | <div id="rfc.figure.u.32"></div><pre class="inline"><span id="rfc.iref.g.33"></span><span id="rfc.iref.g.34"></span> <a href="#header.content-md5" class="smpl">Content-MD5</a> = "Content-MD5" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-md5" class="smpl">Content-MD5-v</a> |
---|
[357] | 1314 | <a href="#header.content-md5" class="smpl">Content-MD5-v</a> = <base64 of 128 bit MD5 digest as per <a href="#RFC1864" id="rfc.xref.RFC1864.2"><cite title="The Content-MD5 Header Field">[RFC1864]</cite></a>> |
---|
[424] | 1315 | </pre><p id="rfc.section.5.8.p.3">The Content-MD5 header field <em class="bcp14">MAY</em> be generated by an origin server or client to function as an integrity check of the entity-body. Only origin servers or clients <em class="bcp14">MAY</em> generate the Content-MD5 header field; proxies and gateways <em class="bcp14">MUST NOT</em> generate it, as this would defeat its value as an end-to-end integrity check. Any recipient of the entity-body, including |
---|
[97] | 1316 | gateways and proxies, <em class="bcp14">MAY</em> check that the digest value in this header field matches that of the entity-body as received. |
---|
| 1317 | </p> |
---|
[424] | 1318 | <p id="rfc.section.5.8.p.4">The MD5 digest is computed based on the content of the entity-body, including any content-coding that has been applied, but |
---|
[97] | 1319 | not including any transfer-encoding applied to the message-body. If the message is received with a transfer-encoding, that |
---|
| 1320 | encoding <em class="bcp14">MUST</em> be removed prior to checking the Content-MD5 value against the received entity. |
---|
| 1321 | </p> |
---|
[424] | 1322 | <p id="rfc.section.5.8.p.5">This has the result that the digest is computed on the octets of the entity-body exactly as, and in the order that, they would |
---|
[97] | 1323 | be sent if no transfer-encoding were being applied. |
---|
| 1324 | </p> |
---|
[424] | 1325 | <p id="rfc.section.5.8.p.6">HTTP extends RFC 1864 to permit the digest to be computed for MIME composite media-types (e.g., multipart/* and message/rfc822), |
---|
[97] | 1326 | but this does not change how the digest is computed as defined in the preceding paragraph. |
---|
| 1327 | </p> |
---|
[424] | 1328 | <p id="rfc.section.5.8.p.7">There are several consequences of this. The entity-body for composite types <em class="bcp14">MAY</em> contain many body-parts, each with its own MIME and HTTP headers (including Content-MD5, Content-Transfer-Encoding, and Content-Encoding |
---|
[97] | 1329 | headers). If a body-part has a Content-Transfer-Encoding or Content-Encoding header, it is assumed that the content of the |
---|
| 1330 | body-part has had the encoding applied, and the body-part is included in the Content-MD5 digest as is -- i.e., after the application. |
---|
| 1331 | The Transfer-Encoding header field is not allowed within body-parts. |
---|
| 1332 | </p> |
---|
[563] | 1333 | <p id="rfc.section.5.8.p.8">Conversion of all line breaks to CRLF <em class="bcp14">MUST NOT</em> be done before computing or checking the digest: the line break convention used in the text actually transmitted <em class="bcp14">MUST</em> be left unaltered when computing the digest. |
---|
[97] | 1334 | </p> |
---|
[563] | 1335 | <div class="note"> |
---|
| 1336 | <p> <b>Note:</b> while the definition of Content-MD5 is exactly the same for HTTP as in RFC 1864 for MIME entity-bodies, there are several |
---|
[97] | 1337 | ways in which the application of Content-MD5 to HTTP entity-bodies differs from its application to MIME entity-bodies. One |
---|
| 1338 | is that HTTP, unlike MIME, does not use Content-Transfer-Encoding, and does use Transfer-Encoding and Content-Encoding. Another |
---|
| 1339 | is that HTTP more frequently uses binary content types than MIME, so it is worth noting that, in such cases, the byte order |
---|
| 1340 | used to compute the digest is the transmission byte order defined for the type. Lastly, HTTP allows transmission of text types |
---|
| 1341 | with any of several line break conventions and not just the canonical form using CRLF. |
---|
[563] | 1342 | </p> |
---|
| 1343 | </div> |
---|
[673] | 1344 | <div id="rfc.iref.c.11"></div> |
---|
[97] | 1345 | <div id="rfc.iref.h.9"></div> |
---|
[424] | 1346 | <h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> <a id="header.content-type" href="#header.content-type">Content-Type</a></h2> |
---|
| 1347 | <p id="rfc.section.5.9.p.1">The entity-header field "Content-Type" indicates the media type of the entity-body sent to the recipient or, in the case of |
---|
[97] | 1348 | the HEAD method, the media type that would have been sent had the request been a GET. |
---|
| 1349 | </p> |
---|
[613] | 1350 | <div id="rfc.figure.u.33"></div><pre class="inline"><span id="rfc.iref.g.35"></span><span id="rfc.iref.g.36"></span> <a href="#header.content-type" class="smpl">Content-Type</a> = "Content-Type" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#header.content-type" class="smpl">Content-Type-v</a> |
---|
[357] | 1351 | <a href="#header.content-type" class="smpl">Content-Type-v</a> = <a href="#media.types" class="smpl">media-type</a> |
---|
[424] | 1352 | </pre><p id="rfc.section.5.9.p.3">Media types are defined in <a href="#media.types" title="Media Types">Section 2.3</a>. An example of the field is |
---|
[97] | 1353 | </p> |
---|
[459] | 1354 | <div id="rfc.figure.u.34"></div><pre class="text"> Content-Type: text/html; charset=ISO-8859-4 |
---|
[424] | 1355 | </pre><p id="rfc.section.5.9.p.5">Further discussion of methods for identifying the media type of an entity is provided in <a href="#type" title="Type">Section 3.2.1</a>. |
---|
[97] | 1356 | </p> |
---|
[424] | 1357 | <h1 id="rfc.section.6"><a href="#rfc.section.6">6.</a> <a id="IANA.considerations" href="#IANA.considerations">IANA Considerations</a></h1> |
---|
| 1358 | <h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a> <a id="message.header.registration" href="#message.header.registration">Message Header Registration</a></h2> |
---|
| 1359 | <p id="rfc.section.6.1.p.1">The Message Header Registry located at <<a href="http://www.iana.org/assignments/message-headers/message-header-index.html">http://www.iana.org/assignments/message-headers/message-header-index.html</a>> should be updated with the permanent registrations below (see <a href="#RFC3864" id="rfc.xref.RFC3864.1"><cite title="Registration Procedures for Message Header Fields">[RFC3864]</cite></a>): |
---|
[203] | 1360 | </p> |
---|
[290] | 1361 | <div id="rfc.table.1"> |
---|
| 1362 | <div id="iana.header.registration.table"></div> |
---|
[663] | 1363 | <table class="tt full left" cellpadding="3" cellspacing="0"> |
---|
[253] | 1364 | <thead> |
---|
| 1365 | <tr> |
---|
| 1366 | <th>Header Field Name</th> |
---|
| 1367 | <th>Protocol</th> |
---|
| 1368 | <th>Status</th> |
---|
| 1369 | <th>Reference</th> |
---|
| 1370 | </tr> |
---|
| 1371 | </thead> |
---|
| 1372 | <tbody> |
---|
| 1373 | <tr> |
---|
| 1374 | <td>Accept</td> |
---|
| 1375 | <td>http</td> |
---|
| 1376 | <td>standard</td> |
---|
[424] | 1377 | <td> <a href="#header.accept" id="rfc.xref.header.accept.3" title="Accept">Section 5.1</a> |
---|
[253] | 1378 | </td> |
---|
| 1379 | </tr> |
---|
| 1380 | <tr> |
---|
| 1381 | <td>Accept-Charset</td> |
---|
| 1382 | <td>http</td> |
---|
| 1383 | <td>standard</td> |
---|
[424] | 1384 | <td> <a href="#header.accept-charset" id="rfc.xref.header.accept-charset.2" title="Accept-Charset">Section 5.2</a> |
---|
[253] | 1385 | </td> |
---|
| 1386 | </tr> |
---|
| 1387 | <tr> |
---|
| 1388 | <td>Accept-Encoding</td> |
---|
| 1389 | <td>http</td> |
---|
| 1390 | <td>standard</td> |
---|
[424] | 1391 | <td> <a href="#header.accept-encoding" id="rfc.xref.header.accept-encoding.3" title="Accept-Encoding">Section 5.3</a> |
---|
[253] | 1392 | </td> |
---|
| 1393 | </tr> |
---|
| 1394 | <tr> |
---|
| 1395 | <td>Accept-Language</td> |
---|
| 1396 | <td>http</td> |
---|
| 1397 | <td>standard</td> |
---|
[424] | 1398 | <td> <a href="#header.accept-language" id="rfc.xref.header.accept-language.2" title="Accept-Language">Section 5.4</a> |
---|
[253] | 1399 | </td> |
---|
| 1400 | </tr> |
---|
| 1401 | <tr> |
---|
| 1402 | <td>Content-Disposition</td> |
---|
| 1403 | <td>http</td> |
---|
[291] | 1404 | <td></td> |
---|
[253] | 1405 | <td> <a href="#content-disposition" id="rfc.xref.content-disposition.1" title="Content-Disposition">Appendix B.1</a> |
---|
| 1406 | </td> |
---|
| 1407 | </tr> |
---|
| 1408 | <tr> |
---|
| 1409 | <td>Content-Encoding</td> |
---|
| 1410 | <td>http</td> |
---|
| 1411 | <td>standard</td> |
---|
[424] | 1412 | <td> <a href="#header.content-encoding" id="rfc.xref.header.content-encoding.4" title="Content-Encoding">Section 5.5</a> |
---|
[253] | 1413 | </td> |
---|
| 1414 | </tr> |
---|
| 1415 | <tr> |
---|
| 1416 | <td>Content-Language</td> |
---|
| 1417 | <td>http</td> |
---|
| 1418 | <td>standard</td> |
---|
[424] | 1419 | <td> <a href="#header.content-language" id="rfc.xref.header.content-language.2" title="Content-Language">Section 5.6</a> |
---|
[253] | 1420 | </td> |
---|
| 1421 | </tr> |
---|
| 1422 | <tr> |
---|
| 1423 | <td>Content-Location</td> |
---|
| 1424 | <td>http</td> |
---|
| 1425 | <td>standard</td> |
---|
[424] | 1426 | <td> <a href="#header.content-location" id="rfc.xref.header.content-location.2" title="Content-Location">Section 5.7</a> |
---|
[253] | 1427 | </td> |
---|
| 1428 | </tr> |
---|
| 1429 | <tr> |
---|
| 1430 | <td>Content-MD5</td> |
---|
| 1431 | <td>http</td> |
---|
| 1432 | <td>standard</td> |
---|
[424] | 1433 | <td> <a href="#header.content-md5" id="rfc.xref.header.content-md5.2" title="Content-MD5">Section 5.8</a> |
---|
[253] | 1434 | </td> |
---|
| 1435 | </tr> |
---|
| 1436 | <tr> |
---|
| 1437 | <td>Content-Type</td> |
---|
| 1438 | <td>http</td> |
---|
| 1439 | <td>standard</td> |
---|
[424] | 1440 | <td> <a href="#header.content-type" id="rfc.xref.header.content-type.3" title="Content-Type">Section 5.9</a> |
---|
[253] | 1441 | </td> |
---|
| 1442 | </tr> |
---|
[291] | 1443 | <tr> |
---|
| 1444 | <td>MIME-Version</td> |
---|
| 1445 | <td>http</td> |
---|
| 1446 | <td></td> |
---|
| 1447 | <td> <a href="#mime-version" id="rfc.xref.mime-version.1" title="MIME-Version">Appendix A.1</a> |
---|
| 1448 | </td> |
---|
| 1449 | </tr> |
---|
[253] | 1450 | </tbody> |
---|
| 1451 | </table> |
---|
| 1452 | </div> |
---|
[424] | 1453 | <p id="rfc.section.6.1.p.2">The change controller is: "IETF (iesg@ietf.org) - Internet Engineering Task Force".</p> |
---|
[673] | 1454 | <h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a> <a id="content.coding.registration" href="#content.coding.registration">Content Coding Registry</a></h2> |
---|
| 1455 | <p id="rfc.section.6.2.p.1">The registration procedure for HTTP Content Codings is now defined by <a href="#content.coding.registry" title="Content Coding Registry">Section 2.2.1</a> of this document. |
---|
[667] | 1456 | </p> |
---|
[673] | 1457 | <p id="rfc.section.6.2.p.2">The HTTP Content Codings Registry located at <<a href="http://www.iana.org/assignments/http-parameters">http://www.iana.org/assignments/http-parameters</a>> should be updated with the registration below: |
---|
| 1458 | </p> |
---|
[667] | 1459 | <div id="rfc.table.2"> |
---|
[668] | 1460 | <div id="iana.content.coding.registration.table"></div> |
---|
| 1461 | <table class="tt full left" cellpadding="3" cellspacing="0"> |
---|
| 1462 | <thead> |
---|
| 1463 | <tr> |
---|
[670] | 1464 | <th>Name</th> |
---|
[668] | 1465 | <th>Description</th> |
---|
| 1466 | <th>Reference</th> |
---|
| 1467 | </tr> |
---|
| 1468 | </thead> |
---|
| 1469 | <tbody> |
---|
| 1470 | <tr> |
---|
| 1471 | <td>compress</td> |
---|
| 1472 | <td>UNIX "compress" program method</td> |
---|
[673] | 1473 | <td> <a href="p1-messaging.html#compress.coding" title="Compress Coding">Section 2.10.2.2.1</a> of <a href="#Part1" id="rfc.xref.Part1.19"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> |
---|
[668] | 1474 | </td> |
---|
| 1475 | </tr> |
---|
| 1476 | <tr> |
---|
| 1477 | <td>deflate</td> |
---|
[673] | 1478 | <td>"zlib" format <a href="#RFC1950" id="rfc.xref.RFC1950.1"><cite title="ZLIB Compressed Data Format Specification version 3.3">[RFC1950]</cite></a> with "deflate" compression |
---|
[668] | 1479 | </td> |
---|
[673] | 1480 | <td> <a href="p1-messaging.html#deflate.coding" title="Deflate Coding">Section 2.10.2.2.2</a> of <a href="#Part1" id="rfc.xref.Part1.20"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> |
---|
[668] | 1481 | </td> |
---|
| 1482 | </tr> |
---|
| 1483 | <tr> |
---|
| 1484 | <td>gzip</td> |
---|
[673] | 1485 | <td>Same as GNU zip <a href="#RFC1952" id="rfc.xref.RFC1952.1"><cite title="GZIP file format specification version 4.3">[RFC1952]</cite></a></td> |
---|
| 1486 | <td> <a href="p1-messaging.html#gzip.coding" title="Gzip Coding">Section 2.10.2.2.3</a> of <a href="#Part1" id="rfc.xref.Part1.21"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a> |
---|
[668] | 1487 | </td> |
---|
| 1488 | </tr> |
---|
| 1489 | <tr> |
---|
| 1490 | <td>identity</td> |
---|
| 1491 | <td>No transformation</td> |
---|
| 1492 | <td> <a href="#content.codings" title="Content Codings">Section 2.2</a> |
---|
| 1493 | </td> |
---|
| 1494 | </tr> |
---|
| 1495 | </tbody> |
---|
| 1496 | </table> |
---|
| 1497 | </div> |
---|
[424] | 1498 | <h1 id="rfc.section.7"><a href="#rfc.section.7">7.</a> <a id="security.considerations" href="#security.considerations">Security Considerations</a></h1> |
---|
| 1499 | <p id="rfc.section.7.p.1">This section is meant to inform application developers, information providers, and users of the security limitations in HTTP/1.1 |
---|
[97] | 1500 | as described by this document. The discussion does not include definitive solutions to the problems revealed, though it does |
---|
| 1501 | make some suggestions for reducing security risks. |
---|
| 1502 | </p> |
---|
[424] | 1503 | <h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> <a id="privacy.issues.connected.to.accept.headers" href="#privacy.issues.connected.to.accept.headers">Privacy Issues Connected to Accept Headers</a></h2> |
---|
| 1504 | <p id="rfc.section.7.1.p.1">Accept request-headers can reveal information about the user to all servers which are accessed. The Accept-Language header |
---|
[97] | 1505 | in particular can reveal information the user would consider to be of a private nature, because the understanding of particular |
---|
| 1506 | languages is often strongly correlated to the membership of a particular ethnic group. User agents which offer the option |
---|
| 1507 | to configure the contents of an Accept-Language header to be sent in every request are strongly encouraged to let the configuration |
---|
| 1508 | process include a message which makes the user aware of the loss of privacy involved. |
---|
| 1509 | </p> |
---|
[424] | 1510 | <p id="rfc.section.7.1.p.2">An approach that limits the loss of privacy would be for a user agent to omit the sending of Accept-Language headers by default, |
---|
[97] | 1511 | and to ask the user whether or not to start sending Accept-Language headers to a server if it detects, by looking for any |
---|
| 1512 | Vary response-header fields generated by the server, that such sending could improve the quality of service. |
---|
| 1513 | </p> |
---|
[424] | 1514 | <p id="rfc.section.7.1.p.3">Elaborate user-customized accept header fields sent in every request, in particular if these include quality values, can be |
---|
[97] | 1515 | used by servers as relatively reliable and long-lived user identifiers. Such user identifiers would allow content providers |
---|
| 1516 | to do click-trail tracking, and would allow collaborating content providers to match cross-server click-trails or form submissions |
---|
| 1517 | of individual users. Note that for many users not behind a proxy, the network address of the host running the user agent will |
---|
| 1518 | also serve as a long-lived user identifier. In environments where proxies are used to enhance privacy, user agents ought to |
---|
| 1519 | be conservative in offering accept header configuration options to end users. As an extreme privacy measure, proxies could |
---|
| 1520 | filter the accept headers in relayed requests. General purpose user agents which provide a high degree of header configurability <em class="bcp14">SHOULD</em> warn users about the loss of privacy which can be involved. |
---|
| 1521 | </p> |
---|
[424] | 1522 | <h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> <a id="content-disposition.issues" href="#content-disposition.issues">Content-Disposition Issues</a></h2> |
---|
| 1523 | <p id="rfc.section.7.2.p.1"> <a href="#RFC2183" id="rfc.xref.RFC2183.1"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>, from which the often implemented Content-Disposition (see <a href="#content-disposition" id="rfc.xref.content-disposition.2" title="Content-Disposition">Appendix B.1</a>) header in HTTP is derived, has a number of very serious security considerations. Content-Disposition is not part of the |
---|
[269] | 1524 | HTTP standard, but since it is widely implemented, we are documenting its use and risks for implementors. See <a href="http://tools.ietf.org/html/rfc2183#section-5">Section 5</a> of <a href="#RFC2183" id="rfc.xref.RFC2183.2"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a> for details. |
---|
[97] | 1525 | </p> |
---|
[424] | 1526 | <h1 id="rfc.section.8"><a href="#rfc.section.8">8.</a> <a id="ack" href="#ack">Acknowledgments</a></h1> |
---|
| 1527 | <h1 id="rfc.references"><a id="rfc.section.9" href="#rfc.section.9">9.</a> References |
---|
[97] | 1528 | </h1> |
---|
[424] | 1529 | <h2 id="rfc.references.1"><a href="#rfc.section.9.1" id="rfc.section.9.1">9.1</a> Normative References |
---|
[119] | 1530 | </h2> |
---|
[673] | 1531 | <table summary="Normative References"> |
---|
[97] | 1532 | <tr> |
---|
[121] | 1533 | <td class="reference"><b id="ISO-8859-1">[ISO-8859-1]</b></td> |
---|
[446] | 1534 | <td class="top">International Organization for Standardization, “Information technology -- 8-bit single-byte coded graphic character sets -- Part 1: Latin alphabet No. 1”, ISO/IEC 8859-1:1998, 1998.</td> |
---|
[121] | 1535 | </tr> |
---|
| 1536 | <tr> |
---|
[97] | 1537 | <td class="reference"><b id="Part1">[Part1]</b></td> |
---|
[662] | 1538 | <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-latest">HTTP/1.1, part 1: URIs, Connections, and Message Parsing</a>”, Internet-Draft draft-ietf-httpbis-p1-messaging-latest (work in progress), August 2009. |
---|
[97] | 1539 | </td> |
---|
| 1540 | </tr> |
---|
| 1541 | <tr> |
---|
| 1542 | <td class="reference"><b id="Part2">[Part2]</b></td> |
---|
[662] | 1543 | <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-latest">HTTP/1.1, part 2: Message Semantics</a>”, Internet-Draft draft-ietf-httpbis-p2-semantics-latest (work in progress), August 2009. |
---|
[97] | 1544 | </td> |
---|
| 1545 | </tr> |
---|
| 1546 | <tr> |
---|
| 1547 | <td class="reference"><b id="Part4">[Part4]</b></td> |
---|
[662] | 1548 | <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-latest">HTTP/1.1, part 4: Conditional Requests</a>”, Internet-Draft draft-ietf-httpbis-p4-conditional-latest (work in progress), August 2009. |
---|
[97] | 1549 | </td> |
---|
| 1550 | </tr> |
---|
| 1551 | <tr> |
---|
| 1552 | <td class="reference"><b id="Part5">[Part5]</b></td> |
---|
[662] | 1553 | <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-latest">HTTP/1.1, part 5: Range Requests and Partial Responses</a>”, Internet-Draft draft-ietf-httpbis-p5-range-latest (work in progress), August 2009. |
---|
[97] | 1554 | </td> |
---|
| 1555 | </tr> |
---|
| 1556 | <tr> |
---|
| 1557 | <td class="reference"><b id="Part6">[Part6]</b></td> |
---|
[662] | 1558 | <td class="top"><a title="Day Software">Fielding, R., Ed.</a>, <a title="One Laptop per Child">Gettys, J.</a>, <a title="Hewlett-Packard Company">Mogul, J.</a>, <a title="Microsoft Corporation">Frystyk, H.</a>, <a title="Adobe Systems, Incorporated">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, <a title="World Wide Web Consortium">Berners-Lee, T.</a>, <a title="World Wide Web Consortium">Lafon, Y., Ed.</a>, <a>Nottingham, M., Ed.</a>, and <a title="greenbytes GmbH">J. F. Reschke, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-latest">HTTP/1.1, part 6: Caching</a>”, Internet-Draft draft-ietf-httpbis-p6-cache-latest (work in progress), August 2009. |
---|
[97] | 1559 | </td> |
---|
| 1560 | </tr> |
---|
| 1561 | <tr> |
---|
[131] | 1562 | <td class="reference"><b id="RFC1864">[RFC1864]</b></td> |
---|
| 1563 | <td class="top"><a title="Carnegie Mellon University">Myers, J.</a> and <a title="Dover Beach Consulting, Inc.">M. Rose</a>, “<a href="http://tools.ietf.org/html/rfc1864">The Content-MD5 Header Field</a>”, RFC 1864, October 1995. |
---|
| 1564 | </td> |
---|
| 1565 | </tr> |
---|
| 1566 | <tr> |
---|
[122] | 1567 | <td class="reference"><b id="RFC1950">[RFC1950]</b></td> |
---|
[277] | 1568 | <td class="top"><a title="Aladdin Enterprises">Deutsch, L.P.</a> and J-L. Gailly, “<a href="http://tools.ietf.org/html/rfc1950">ZLIB Compressed Data Format Specification version 3.3</a>”, RFC 1950, May 1996.<br>RFC 1950 is an Informational RFC, thus it may be less stable than this specification. On the other hand, this downward reference |
---|
| 1569 | was present since the publication of RFC 2068 in 1997 (<a href="#RFC2068" id="rfc.xref.RFC2068.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a>), therefore it is unlikely to cause problems in practice. See also <a href="#BCP97" id="rfc.xref.BCP97.1"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>. |
---|
[122] | 1570 | </td> |
---|
| 1571 | </tr> |
---|
| 1572 | <tr> |
---|
| 1573 | <td class="reference"><b id="RFC1952">[RFC1952]</b></td> |
---|
[277] | 1574 | <td class="top"><a title="Aladdin Enterprises">Deutsch, P.</a>, <a>Gailly, J-L.</a>, <a>Adler, M.</a>, <a>Deutsch, L.P.</a>, and <a>G. Randers-Pehrson</a>, “<a href="http://tools.ietf.org/html/rfc1952">GZIP file format specification version 4.3</a>”, RFC 1952, May 1996.<br>RFC 1952 is an Informational RFC, thus it may be less stable than this specification. On the other hand, this downward reference |
---|
[673] | 1575 | was present since the publication of RFC 2068 in 1997 (<a href="#RFC2068" id="rfc.xref.RFC2068.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a>), therefore it is unlikely to cause problems in practice. See also <a href="#BCP97" id="rfc.xref.BCP97.2"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>. |
---|
[122] | 1576 | </td> |
---|
| 1577 | </tr> |
---|
| 1578 | <tr> |
---|
[131] | 1579 | <td class="reference"><b id="RFC2045">[RFC2045]</b></td> |
---|
| 1580 | <td class="top"><a title="Innosoft International, Inc.">Freed, N.</a> and <a title="First Virtual Holdings">N.S. Borenstein</a>, “<a href="http://tools.ietf.org/html/rfc2045">Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies</a>”, RFC 2045, November 1996. |
---|
| 1581 | </td> |
---|
| 1582 | </tr> |
---|
| 1583 | <tr> |
---|
| 1584 | <td class="reference"><b id="RFC2046">[RFC2046]</b></td> |
---|
| 1585 | <td class="top"><a title="Innosoft International, Inc.">Freed, N.</a> and <a title="First Virtual Holdings">N. Borenstein</a>, “<a href="http://tools.ietf.org/html/rfc2046">Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types</a>”, RFC 2046, November 1996. |
---|
| 1586 | </td> |
---|
| 1587 | </tr> |
---|
| 1588 | <tr> |
---|
[119] | 1589 | <td class="reference"><b id="RFC2119">[RFC2119]</b></td> |
---|
| 1590 | <td class="top"><a title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP 14, RFC 2119, March 1997. |
---|
| 1591 | </td> |
---|
| 1592 | </tr> |
---|
[303] | 1593 | <tr> |
---|
[613] | 1594 | <td class="reference"><b id="RFC4646bis">[RFC4646bis]</b></td> |
---|
| 1595 | <td class="top"><a title="Lab126">Phillips, A., Ed.</a> and <a title="Google">M. Davis, Ed.</a>, “<a href="http://tools.ietf.org/html/draft-ietf-ltru-4646bis-23">Tags for Identifying Languages</a>”, Internet-Draft draft-ietf-ltru-4646bis-23 (work in progress), June 2009. |
---|
| 1596 | </td> |
---|
| 1597 | </tr> |
---|
| 1598 | <tr> |
---|
[303] | 1599 | <td class="reference"><b id="RFC4647">[RFC4647]</b></td> |
---|
| 1600 | <td class="top"><a title="Yahoo! Inc.">Phillips, A., Ed.</a> and <a title="Google">M. Davis, Ed.</a>, “<a href="http://tools.ietf.org/html/rfc4647">Matching of Language Tags</a>”, BCP 47, RFC 4647, September 2006. |
---|
| 1601 | </td> |
---|
| 1602 | </tr> |
---|
[425] | 1603 | <tr> |
---|
| 1604 | <td class="reference"><b id="RFC5234">[RFC5234]</b></td> |
---|
| 1605 | <td class="top"><a title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD 68, RFC 5234, January 2008. |
---|
| 1606 | </td> |
---|
| 1607 | </tr> |
---|
[119] | 1608 | </table> |
---|
[424] | 1609 | <h2 id="rfc.references.2"><a href="#rfc.section.9.2" id="rfc.section.9.2">9.2</a> Informative References |
---|
[119] | 1610 | </h2> |
---|
[670] | 1611 | <table summary="Informative References"> |
---|
[119] | 1612 | <tr> |
---|
[277] | 1613 | <td class="reference"><b id="BCP97">[BCP97]</b></td> |
---|
| 1614 | <td class="top"><a>Klensin, J.</a> and <a title="MIT">S. Hartman</a>, “<a href="http://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>”, BCP 97, RFC 4897, June 2007. |
---|
| 1615 | </td> |
---|
| 1616 | </tr> |
---|
| 1617 | <tr> |
---|
[129] | 1618 | <td class="reference"><b id="RFC1945">[RFC1945]</b></td> |
---|
| 1619 | <td class="top"><a title="MIT, Laboratory for Computer Science">Berners-Lee, T.</a>, <a title="University of California, Irvine, Department of Information and Computer Science">Fielding, R.T.</a>, and <a title="W3 Consortium, MIT Laboratory for Computer Science">H.F. Nielsen</a>, “<a href="http://tools.ietf.org/html/rfc1945">Hypertext Transfer Protocol -- HTTP/1.0</a>”, RFC 1945, May 1996. |
---|
[119] | 1620 | </td> |
---|
| 1621 | </tr> |
---|
| 1622 | <tr> |
---|
[129] | 1623 | <td class="reference"><b id="RFC2049">[RFC2049]</b></td> |
---|
| 1624 | <td class="top"><a title="Innosoft International, Inc.">Freed, N.</a> and <a title="First Virtual Holdings">N.S. Borenstein</a>, “<a href="http://tools.ietf.org/html/rfc2049">Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples</a>”, RFC 2049, November 1996. |
---|
[97] | 1625 | </td> |
---|
| 1626 | </tr> |
---|
| 1627 | <tr> |
---|
[129] | 1628 | <td class="reference"><b id="RFC2068">[RFC2068]</b></td> |
---|
| 1629 | <td class="top"><a title="University of California, Irvine, Department of Information and Computer Science">Fielding, R.</a>, <a title="MIT Laboratory for Computer Science">Gettys, J.</a>, <a title="Digital Equipment Corporation, Western Research Laboratory">Mogul, J.</a>, <a title="MIT Laboratory for Computer Science">Nielsen, H.</a>, and <a title="MIT Laboratory for Computer Science">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2068">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2068, January 1997. |
---|
[97] | 1630 | </td> |
---|
| 1631 | </tr> |
---|
| 1632 | <tr> |
---|
[129] | 1633 | <td class="reference"><b id="RFC2076">[RFC2076]</b></td> |
---|
| 1634 | <td class="top"><a title="Stockholm University/KTH">Palme, J.</a>, “<a href="http://tools.ietf.org/html/rfc2076">Common Internet Message Headers</a>”, RFC 2076, February 1997. |
---|
[97] | 1635 | </td> |
---|
| 1636 | </tr> |
---|
| 1637 | <tr> |
---|
[129] | 1638 | <td class="reference"><b id="RFC2183">[RFC2183]</b></td> |
---|
| 1639 | <td class="top"><a title="New Century Systems">Troost, R.</a>, <a title="QUALCOMM Incorporated">Dorner, S.</a>, and <a title="Department of Computer Science">K. Moore</a>, “<a href="http://tools.ietf.org/html/rfc2183">Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field</a>”, RFC 2183, August 1997. |
---|
[97] | 1640 | </td> |
---|
| 1641 | </tr> |
---|
| 1642 | <tr> |
---|
[129] | 1643 | <td class="reference"><b id="RFC2277">[RFC2277]</b></td> |
---|
| 1644 | <td class="top"><a title="UNINETT">Alvestrand, H.T.</a>, “<a href="http://tools.ietf.org/html/rfc2277">IETF Policy on Character Sets and Languages</a>”, BCP 18, RFC 2277, January 1998. |
---|
[97] | 1645 | </td> |
---|
| 1646 | </tr> |
---|
| 1647 | <tr> |
---|
[129] | 1648 | <td class="reference"><b id="RFC2388">[RFC2388]</b></td> |
---|
[446] | 1649 | <td class="top"><a title="Xerox Palo Alto Research Center">Masinter, L.</a>, “<a href="http://tools.ietf.org/html/rfc2388">Returning Values from Forms: multipart/form-data</a>”, RFC 2388, August 1998. |
---|
[97] | 1650 | </td> |
---|
| 1651 | </tr> |
---|
| 1652 | <tr> |
---|
[129] | 1653 | <td class="reference"><b id="RFC2557">[RFC2557]</b></td> |
---|
| 1654 | <td class="top"><a title="Stockholm University and KTH">Palme, F.</a>, <a title="Microsoft Corporation">Hopmann, A.</a>, <a title="Lotus Development Corporation">Shelness, N.</a>, and <a>E. Stefferud</a>, “<a href="http://tools.ietf.org/html/rfc2557">MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)</a>”, RFC 2557, March 1999. |
---|
[97] | 1655 | </td> |
---|
| 1656 | </tr> |
---|
| 1657 | <tr> |
---|
[129] | 1658 | <td class="reference"><b id="RFC2616">[RFC2616]</b></td> |
---|
| 1659 | <td class="top"><a title="University of California, Irvine">Fielding, R.</a>, <a title="W3C">Gettys, J.</a>, <a title="Compaq Computer Corporation">Mogul, J.</a>, <a title="MIT Laboratory for Computer Science">Frystyk, H.</a>, <a title="Xerox Corporation">Masinter, L.</a>, <a title="Microsoft Corporation">Leach, P.</a>, and <a title="W3C">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2616, June 1999. |
---|
[97] | 1660 | </td> |
---|
| 1661 | </tr> |
---|
| 1662 | <tr> |
---|
[133] | 1663 | <td class="reference"><b id="RFC3629">[RFC3629]</b></td> |
---|
| 1664 | <td class="top"><a title="Alis Technologies">Yergeau, F.</a>, “<a href="http://tools.ietf.org/html/rfc3629">UTF-8, a transformation format of ISO 10646</a>”, RFC 3629, STD 63, November 2003. |
---|
[97] | 1665 | </td> |
---|
| 1666 | </tr> |
---|
[200] | 1667 | <tr> |
---|
[253] | 1668 | <td class="reference"><b id="RFC3864">[RFC3864]</b></td> |
---|
| 1669 | <td class="top"><a title="Nine by Nine">Klyne, G.</a>, <a title="BEA Systems">Nottingham, M.</a>, and <a title="HP Labs">J. Mogul</a>, “<a href="http://tools.ietf.org/html/rfc3864">Registration Procedures for Message Header Fields</a>”, BCP 90, RFC 3864, September 2004. |
---|
| 1670 | </td> |
---|
| 1671 | </tr> |
---|
| 1672 | <tr> |
---|
[200] | 1673 | <td class="reference"><b id="RFC4288">[RFC4288]</b></td> |
---|
| 1674 | <td class="top"><a title="Sun Microsystems">Freed, N.</a> and <a>J. Klensin</a>, “<a href="http://tools.ietf.org/html/rfc4288">Media Type Specifications and Registration Procedures</a>”, BCP 13, RFC 4288, December 2005. |
---|
| 1675 | </td> |
---|
| 1676 | </tr> |
---|
[327] | 1677 | <tr> |
---|
[670] | 1678 | <td class="reference"><b id="RFC5226">[RFC5226]</b></td> |
---|
| 1679 | <td class="top"><a title="IBM">Narten, T.</a> and <a title="Google">H. Alvestrand</a>, “<a href="http://tools.ietf.org/html/rfc5226">Guidelines for Writing an IANA Considerations Section in RFCs</a>”, BCP 26, RFC 5226, May 2008. |
---|
| 1680 | </td> |
---|
| 1681 | </tr> |
---|
| 1682 | <tr> |
---|
[327] | 1683 | <td class="reference"><b id="RFC5322">[RFC5322]</b></td> |
---|
| 1684 | <td class="top">Resnick, P., “<a href="http://tools.ietf.org/html/rfc5322">Internet Message Format</a>”, RFC 5322, October 2008. |
---|
| 1685 | </td> |
---|
| 1686 | </tr> |
---|
[129] | 1687 | </table> |
---|
[662] | 1688 | <div class="avoidbreak"> |
---|
| 1689 | <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1> |
---|
| 1690 | <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span> |
---|
| 1691 | (editor) |
---|
| 1692 | <span class="n hidden"><span class="family-name">Fielding</span><span class="given-name">Roy T.</span></span></span><span class="org vcardline">Day Software</span><span class="adr"><span class="street-address vcardline">23 Corporate Plaza DR, Suite 280</span><span class="vcardline"><span class="locality">Newport Beach</span>, <span class="region">CA</span> <span class="postal-code">92660</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline tel">Phone: <a href="tel:+1-949-706-5300"><span class="value">+1-949-706-5300</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+1-949-706-5305"><span class="value">+1-949-706-5305</span></a></span><span class="vcardline">EMail: <a><span class="email">fielding@gbiv.com</span></a></span><span class="vcardline">URI: <a href="http://roy.gbiv.com/" class="url">http://roy.gbiv.com/</a></span></address> |
---|
| 1693 | <address class="vcard"><span class="vcardline"><span class="fn">Jim Gettys</span><span class="n hidden"><span class="family-name">Gettys</span><span class="given-name">Jim</span></span></span><span class="org vcardline">One Laptop per Child</span><span class="adr"><span class="street-address vcardline">21 Oak Knoll Road</span><span class="vcardline"><span class="locality">Carlisle</span>, <span class="region">MA</span> <span class="postal-code">01741</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">jg@laptop.org</span></a></span><span class="vcardline">URI: <a href="http://www.laptop.org/" class="url">http://www.laptop.org/</a></span></address> |
---|
| 1694 | <address class="vcard"><span class="vcardline"><span class="fn">Jeffrey C. Mogul</span><span class="n hidden"><span class="family-name">Mogul</span><span class="given-name">Jeffrey C.</span></span></span><span class="org vcardline">Hewlett-Packard Company</span><span class="adr"><span class="street-address vcardline">HP Labs, Large Scale Systems Group</span><span class="street-address vcardline">1501 Page Mill Road, MS 1177</span><span class="vcardline"><span class="locality">Palo Alto</span>, <span class="region">CA</span> <span class="postal-code">94304</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">JeffMogul@acm.org</span></a></span></address> |
---|
| 1695 | <address class="vcard"><span class="vcardline"><span class="fn">Henrik Frystyk Nielsen</span><span class="n hidden"><span class="family-name">Frystyk</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span> <span class="postal-code">98052</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">henrikn@microsoft.com</span></a></span></address> |
---|
| 1696 | <address class="vcard"><span class="vcardline"><span class="fn">Larry Masinter</span><span class="n hidden"><span class="family-name">Masinter</span><span class="given-name">Larry</span></span></span><span class="org vcardline">Adobe Systems, Incorporated</span><span class="adr"><span class="street-address vcardline">345 Park Ave</span><span class="vcardline"><span class="locality">San Jose</span>, <span class="region">CA</span> <span class="postal-code">95110</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">LMM@acm.org</span></a></span><span class="vcardline">URI: <a href="http://larry.masinter.net/" class="url">http://larry.masinter.net/</a></span></address> |
---|
| 1697 | <address class="vcard"><span class="vcardline"><span class="fn">Paul J. Leach</span><span class="n hidden"><span class="family-name">Leach</span><span class="given-name">Paul J.</span></span></span><span class="org vcardline">Microsoft Corporation</span><span class="adr"><span class="street-address vcardline">1 Microsoft Way</span><span class="vcardline"><span class="locality">Redmond</span>, <span class="region">WA</span> <span class="postal-code">98052</span></span></span><span class="vcardline">EMail: <a><span class="email">paulle@microsoft.com</span></a></span></address> |
---|
| 1698 | <address class="vcard"><span class="vcardline"><span class="fn">Tim Berners-Lee</span><span class="n hidden"><span class="family-name">Berners-Lee</span><span class="given-name">Tim</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">MIT Computer Science and Artificial Intelligence Laboratory</span><span class="street-address vcardline">The Stata Center, Building 32</span><span class="street-address vcardline">32 Vassar Street</span><span class="vcardline"><span class="locality">Cambridge</span>, <span class="region">MA</span> <span class="postal-code">02139</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">EMail: <a><span class="email">timbl@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.w3.org/People/Berners-Lee/" class="url">http://www.w3.org/People/Berners-Lee/</a></span></address> |
---|
| 1699 | <address class="vcard"><span class="vcardline"><span class="fn">Yves Lafon</span> |
---|
| 1700 | (editor) |
---|
| 1701 | <span class="n hidden"><span class="family-name">Lafon</span><span class="given-name">Yves</span></span></span><span class="org vcardline">World Wide Web Consortium</span><span class="adr"><span class="street-address vcardline">W3C / ERCIM</span><span class="street-address vcardline">2004, rte des Lucioles</span><span class="vcardline"><span class="locality">Sophia-Antipolis</span>, <span class="region">AM</span> <span class="postal-code">06902</span></span><span class="country-name vcardline">France</span></span><span class="vcardline">EMail: <a><span class="email">ylafon@w3.org</span></a></span><span class="vcardline">URI: <a href="http://www.raubacapeu.net/people/yves/" class="url">http://www.raubacapeu.net/people/yves/</a></span></address> |
---|
| 1702 | <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span> |
---|
| 1703 | (editor) |
---|
| 1704 | <span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address> |
---|
| 1705 | </div> |
---|
| 1706 | <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a> <a id="differences.between.http.entities.and.rfc.2045.entities" href="#differences.between.http.entities.and.rfc.2045.entities">Differences Between HTTP Entities and RFC 2045 Entities</a></h1> |
---|
[327] | 1707 | <p id="rfc.section.A.p.1">HTTP/1.1 uses many of the constructs defined for Internet Mail (<a href="#RFC5322" id="rfc.xref.RFC5322.1"><cite title="Internet Message Format">[RFC5322]</cite></a>) and the Multipurpose Internet Mail Extensions (MIME <a href="#RFC2045" id="rfc.xref.RFC2045.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies">[RFC2045]</cite></a>) to allow entities to be transmitted in an open variety of representations and with extensible mechanisms. However, RFC 2045 |
---|
[97] | 1708 | discusses mail, and HTTP has a few features that are different from those described in RFC 2045. These differences were carefully |
---|
| 1709 | chosen to optimize performance over binary connections, to allow greater freedom in the use of new media types, to make date |
---|
| 1710 | comparisons easier, and to acknowledge the practice of some early HTTP servers and clients. |
---|
| 1711 | </p> |
---|
| 1712 | <p id="rfc.section.A.p.2">This appendix describes specific areas where HTTP differs from RFC 2045. Proxies and gateways to strict MIME environments <em class="bcp14">SHOULD</em> be aware of these differences and provide the appropriate conversions where necessary. Proxies and gateways from MIME environments |
---|
| 1713 | to HTTP also need to be aware of the differences because some conversions might be required. |
---|
| 1714 | </p> |
---|
[291] | 1715 | <div id="rfc.iref.m.1"></div> |
---|
| 1716 | <div id="rfc.iref.h.10"></div> |
---|
[97] | 1717 | <h2 id="rfc.section.A.1"><a href="#rfc.section.A.1">A.1</a> <a id="mime-version" href="#mime-version">MIME-Version</a></h2> |
---|
| 1718 | <p id="rfc.section.A.1.p.1">HTTP is not a MIME-compliant protocol. However, HTTP/1.1 messages <em class="bcp14">MAY</em> include a single MIME-Version general-header field to indicate what version of the MIME protocol was used to construct the |
---|
| 1719 | message. Use of the MIME-Version header field indicates that the message is in full compliance with the MIME protocol (as |
---|
[115] | 1720 | defined in <a href="#RFC2045" id="rfc.xref.RFC2045.2"><cite title="Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies">[RFC2045]</cite></a>). Proxies/gateways are responsible for ensuring full compliance (where possible) when exporting HTTP messages to strict MIME |
---|
[97] | 1721 | environments. |
---|
| 1722 | </p> |
---|
[613] | 1723 | <div id="rfc.figure.u.35"></div><pre class="inline"><span id="rfc.iref.g.37"></span><span id="rfc.iref.g.38"></span> <a href="#mime-version" class="smpl">MIME-Version</a> = "MIME-Version" ":" <a href="#core.rules" class="smpl">OWS</a> <a href="#mime-version" class="smpl">MIME-Version-v</a> |
---|
[425] | 1724 | <a href="#mime-version" class="smpl">MIME-Version-v</a> = 1*<a href="#notation" class="smpl">DIGIT</a> "." 1*<a href="#notation" class="smpl">DIGIT</a> |
---|
[97] | 1725 | </pre><p id="rfc.section.A.1.p.3">MIME version "1.0" is the default for use in HTTP/1.1. However, HTTP/1.1 message parsing and semantics are defined by this |
---|
| 1726 | document and not the MIME specification. |
---|
| 1727 | </p> |
---|
| 1728 | <h2 id="rfc.section.A.2"><a href="#rfc.section.A.2">A.2</a> <a id="conversion.to.canonical.form" href="#conversion.to.canonical.form">Conversion to Canonical Form</a></h2> |
---|
[572] | 1729 | <p id="rfc.section.A.2.p.1"> <a href="#RFC2045" id="rfc.xref.RFC2045.3"><cite title="Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies">[RFC2045]</cite></a> requires that an Internet mail entity be converted to canonical form prior to being transferred, as described in <a href="http://tools.ietf.org/html/rfc2049#section-4">Section 4</a> of <a href="#RFC2049" id="rfc.xref.RFC2049.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples">[RFC2049]</cite></a>. <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 2.3.1</a> of this document describes the forms allowed for subtypes of the "text" media type when transmitted over HTTP. <a href="#RFC2046" id="rfc.xref.RFC2046.4"><cite title="Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types">[RFC2046]</cite></a> requires that content with a type of "text" represent line breaks as CRLF and forbids the use of CR or LF outside of line |
---|
[97] | 1730 | break sequences. HTTP allows CRLF, bare CR, and bare LF to indicate a line break within text content when a message is transmitted |
---|
| 1731 | over HTTP. |
---|
| 1732 | </p> |
---|
[424] | 1733 | <p id="rfc.section.A.2.p.2">Where it is possible, a proxy or gateway from HTTP to a strict MIME environment <em class="bcp14">SHOULD</em> translate all line breaks within the text media types described in <a href="#canonicalization.and.text.defaults" title="Canonicalization and Text Defaults">Section 2.3.1</a> of this document to the RFC 2049 canonical form of CRLF. Note, however, that this might be complicated by the presence of |
---|
[97] | 1734 | a Content-Encoding and by the fact that HTTP allows the use of some character sets which do not use octets 13 and 10 to represent |
---|
| 1735 | CR and LF, as is the case for some multi-byte character sets. |
---|
| 1736 | </p> |
---|
| 1737 | <p id="rfc.section.A.2.p.3">Implementors should note that conversion will break any cryptographic checksums applied to the original content unless the |
---|
| 1738 | original content is already in canonical form. Therefore, the canonical form is recommended for any content that uses such |
---|
| 1739 | checksums in HTTP. |
---|
| 1740 | </p> |
---|
[385] | 1741 | <h2 id="rfc.section.A.3"><a href="#rfc.section.A.3">A.3</a> <a id="conversion.of.date.formats" href="#conversion.of.date.formats">Conversion of Date Formats</a></h2> |
---|
[673] | 1742 | <p id="rfc.section.A.3.p.1">HTTP/1.1 uses a restricted set of date formats (<a href="p1-messaging.html#date.time.formats.full.date" title="Date/Time Formats: Full Date">Section 2.10.1</a> of <a href="#Part1" id="rfc.xref.Part1.22"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>) to simplify the process of date comparison. Proxies and gateways from other protocols <em class="bcp14">SHOULD</em> ensure that any Date header field present in a message conforms to one of the HTTP/1.1 formats and rewrite the date if necessary. |
---|
[385] | 1743 | </p> |
---|
| 1744 | <h2 id="rfc.section.A.4"><a href="#rfc.section.A.4">A.4</a> <a id="introduction.of.content-encoding" href="#introduction.of.content-encoding">Introduction of Content-Encoding</a></h2> |
---|
| 1745 | <p id="rfc.section.A.4.p.1">RFC 2045 does not include any concept equivalent to HTTP/1.1's Content-Encoding header field. Since this acts as a modifier |
---|
[97] | 1746 | on the media type, proxies and gateways from HTTP to MIME-compliant protocols <em class="bcp14">MUST</em> either change the value of the Content-Type header field or decode the entity-body before forwarding the message. (Some experimental |
---|
| 1747 | applications of Content-Type for Internet mail have used a media-type parameter of ";conversions=<content-coding>" to perform |
---|
| 1748 | a function equivalent to Content-Encoding. However, this parameter is not part of RFC 2045). |
---|
| 1749 | </p> |
---|
[385] | 1750 | <h2 id="rfc.section.A.5"><a href="#rfc.section.A.5">A.5</a> <a id="no.content-transfer-encoding" href="#no.content-transfer-encoding">No Content-Transfer-Encoding</a></h2> |
---|
| 1751 | <p id="rfc.section.A.5.p.1">HTTP does not use the Content-Transfer-Encoding field of RFC 2045. Proxies and gateways from MIME-compliant protocols to HTTP <em class="bcp14">MUST</em> remove any Content-Transfer-Encoding prior to delivering the response message to an HTTP client. |
---|
[97] | 1752 | </p> |
---|
[385] | 1753 | <p id="rfc.section.A.5.p.2">Proxies and gateways from HTTP to MIME-compliant protocols are responsible for ensuring that the message is in the correct |
---|
[97] | 1754 | format and encoding for safe transport on that protocol, where "safe transport" is defined by the limitations of the protocol |
---|
| 1755 | being used. Such a proxy or gateway <em class="bcp14">SHOULD</em> label the data with an appropriate Content-Transfer-Encoding if doing so will improve the likelihood of safe transport over |
---|
| 1756 | the destination protocol. |
---|
| 1757 | </p> |
---|
[385] | 1758 | <h2 id="rfc.section.A.6"><a href="#rfc.section.A.6">A.6</a> <a id="introduction.of.transfer-encoding" href="#introduction.of.transfer-encoding">Introduction of Transfer-Encoding</a></h2> |
---|
[673] | 1759 | <p id="rfc.section.A.6.p.1">HTTP/1.1 introduces the Transfer-Encoding header field (<a href="p1-messaging.html#header.transfer-encoding" title="Transfer-Encoding">Section 3.7</a> of <a href="#Part1" id="rfc.xref.Part1.23"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>). Proxies/gateways <em class="bcp14">MUST</em> remove any transfer-coding prior to forwarding a message via a MIME-compliant protocol. |
---|
[97] | 1760 | </p> |
---|
[385] | 1761 | <h2 id="rfc.section.A.7"><a href="#rfc.section.A.7">A.7</a> <a id="mhtml.line.length" href="#mhtml.line.length">MHTML and Line Length Limitations</a></h2> |
---|
| 1762 | <p id="rfc.section.A.7.p.1">HTTP implementations which share code with MHTML <a href="#RFC2557" id="rfc.xref.RFC2557.1"><cite title="MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)">[RFC2557]</cite></a> implementations need to be aware of MIME line length limitations. Since HTTP does not have this limitation, HTTP does not |
---|
[97] | 1763 | fold long lines. MHTML messages being transported by HTTP follow all conventions of MHTML, including line length limitations |
---|
[424] | 1764 | and folding, canonicalization, etc., since HTTP transports all message-bodies as payload (see <a href="#multipart.types" title="Multipart Types">Section 2.3.2</a>) and does not interpret the content or any MIME header lines that might be contained therein. |
---|
[97] | 1765 | </p> |
---|
| 1766 | <h1 id="rfc.section.B"><a href="#rfc.section.B">B.</a> <a id="additional.features" href="#additional.features">Additional Features</a></h1> |
---|
[673] | 1767 | <p id="rfc.section.B.p.1"> <a href="#RFC1945" id="rfc.xref.RFC1945.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.0">[RFC1945]</cite></a> and <a href="#RFC2068" id="rfc.xref.RFC2068.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a> document protocol elements used by some existing HTTP implementations, but not consistently and correctly across most HTTP/1.1 |
---|
[97] | 1768 | applications. Implementors are advised to be aware of these features, but cannot rely upon their presence in, or interoperability |
---|
| 1769 | with, other HTTP/1.1 applications. Some of these describe proposed experimental features, and some describe features that |
---|
| 1770 | experimental deployment found lacking that are now addressed in the base HTTP/1.1 specification. |
---|
| 1771 | </p> |
---|
| 1772 | <p id="rfc.section.B.p.2">A number of other headers, such as Content-Disposition and Title, from SMTP and MIME are also often implemented (see <a href="#RFC2076" id="rfc.xref.RFC2076.1"><cite title="Common Internet Message Headers">[RFC2076]</cite></a>). |
---|
| 1773 | </p> |
---|
[291] | 1774 | <div id="rfc.iref.h.11"></div> |
---|
[673] | 1775 | <div id="rfc.iref.c.12"></div> |
---|
[97] | 1776 | <h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a> <a id="content-disposition" href="#content-disposition">Content-Disposition</a></h2> |
---|
| 1777 | <p id="rfc.section.B.1.p.1">The Content-Disposition response-header field has been proposed as a means for the origin server to suggest a default filename |
---|
| 1778 | if the user requests that the content is saved to a file. This usage is derived from the definition of Content-Disposition |
---|
[269] | 1779 | in <a href="#RFC2183" id="rfc.xref.RFC2183.3"><cite title="Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field">[RFC2183]</cite></a>. |
---|
[97] | 1780 | </p> |
---|
[613] | 1781 | <div id="rfc.figure.u.36"></div><pre class="inline"><span id="rfc.iref.g.39"></span><span id="rfc.iref.g.40"></span><span id="rfc.iref.g.41"></span><span id="rfc.iref.g.42"></span><span id="rfc.iref.g.43"></span><span id="rfc.iref.g.44"></span><span id="rfc.iref.g.45"></span> <a href="#content-disposition" class="smpl">content-disposition</a> = "Content-Disposition" ":" <a href="#core.rules" class="smpl">OWS</a> |
---|
[357] | 1782 | <a href="#content-disposition" class="smpl">content-disposition-v</a> |
---|
[376] | 1783 | <a href="#content-disposition" class="smpl">content-disposition-v</a> = <a href="#content-disposition" class="smpl">disposition-type</a> |
---|
[424] | 1784 | *( <a href="#core.rules" class="smpl">OWS</a> ";" <a href="#core.rules" class="smpl">OWS</a> <a href="#content-disposition" class="smpl">disposition-parm</a> ) |
---|
[334] | 1785 | <a href="#content-disposition" class="smpl">disposition-type</a> = "attachment" / <a href="#content-disposition" class="smpl">disp-extension-token</a> |
---|
| 1786 | <a href="#content-disposition" class="smpl">disposition-parm</a> = <a href="#content-disposition" class="smpl">filename-parm</a> / <a href="#content-disposition" class="smpl">disp-extension-parm</a> |
---|
[424] | 1787 | <a href="#content-disposition" class="smpl">filename-parm</a> = "filename" "=" <a href="#core.rules" class="smpl">quoted-string</a> |
---|
| 1788 | <a href="#content-disposition" class="smpl">disp-extension-token</a> = <a href="#core.rules" class="smpl">token</a> |
---|
| 1789 | <a href="#content-disposition" class="smpl">disp-extension-parm</a> = <a href="#core.rules" class="smpl">token</a> "=" ( <a href="#core.rules" class="smpl">token</a> / <a href="#core.rules" class="smpl">quoted-string</a> ) |
---|
[97] | 1790 | </pre><p id="rfc.section.B.1.p.3">An example is</p> |
---|
[459] | 1791 | <div id="rfc.figure.u.37"></div><pre class="text"> Content-Disposition: attachment; filename="fname.ext" |
---|
[97] | 1792 | </pre><p id="rfc.section.B.1.p.5">The receiving user agent <em class="bcp14">SHOULD NOT</em> respect any directory path information present in the filename-parm parameter, which is the only parameter believed to apply |
---|
| 1793 | to HTTP implementations at this time. The filename <em class="bcp14">SHOULD</em> be treated as a terminal component only. |
---|
| 1794 | </p> |
---|
| 1795 | <p id="rfc.section.B.1.p.6">If this header is used in a response with the application/octet-stream content-type, the implied suggestion is that the user |
---|
| 1796 | agent should not display the response, but directly enter a `save response as...' dialog. |
---|
| 1797 | </p> |
---|
[424] | 1798 | <p id="rfc.section.B.1.p.7">See <a href="#content-disposition.issues" title="Content-Disposition Issues">Section 7.2</a> for Content-Disposition security issues. |
---|
[97] | 1799 | </p> |
---|
[99] | 1800 | <h1 id="rfc.section.C"><a href="#rfc.section.C">C.</a> <a id="compatibility" href="#compatibility">Compatibility with Previous Versions</a></h1> |
---|
| 1801 | <h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a> <a id="changes.from.rfc.2068" href="#changes.from.rfc.2068">Changes from RFC 2068</a></h2> |
---|
[138] | 1802 | <p id="rfc.section.C.1.p.1">Transfer-coding and message lengths all interact in ways that required fixing exactly when chunked encoding is used (to allow |
---|
| 1803 | for transfer encoding that may not be self delimiting); it was important to straighten out exactly how message lengths are |
---|
[673] | 1804 | computed. (<a href="#entity.length" title="Entity Length">Section 3.2.2</a>, see also <a href="#Part1" id="rfc.xref.Part1.24"><cite title="HTTP/1.1, part 1: URIs, Connections, and Message Parsing">[Part1]</cite></a>, <a href="#Part5" id="rfc.xref.Part5.4"><cite title="HTTP/1.1, part 5: Range Requests and Partial Responses">[Part5]</cite></a> and <a href="#Part6" id="rfc.xref.Part6.5"><cite title="HTTP/1.1, part 6: Caching">[Part6]</cite></a>). |
---|
[97] | 1805 | </p> |
---|
[424] | 1806 | <p id="rfc.section.C.1.p.2">Charset wildcarding is introduced to avoid explosion of character set names in accept headers. (<a href="#header.accept-charset" id="rfc.xref.header.accept-charset.3" title="Accept-Charset">Section 5.2</a>) |
---|
[138] | 1807 | </p> |
---|
| 1808 | <p id="rfc.section.C.1.p.3">Content-Base was deleted from the specification: it was not implemented widely, and there is no simple, safe way to introduce |
---|
[129] | 1809 | it without a robust extension mechanism. In addition, it is used in a similar, but not identical fashion in MHTML <a href="#RFC2557" id="rfc.xref.RFC2557.2"><cite title="MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)">[RFC2557]</cite></a>. |
---|
[97] | 1810 | </p> |
---|
[424] | 1811 | <p id="rfc.section.C.1.p.4">A content-coding of "identity" was introduced, to solve problems discovered in caching. (<a href="#content.codings" title="Content Codings">Section 2.2</a>) |
---|
[97] | 1812 | </p> |
---|
[673] | 1813 | <p id="rfc.section.C.1.p.5">The Alternates<span id="rfc.iref.a.5"></span><span id="rfc.iref.h.12"></span>, Content-Version<span id="rfc.iref.c.13"></span><span id="rfc.iref.h.13"></span>, Derived-From<span id="rfc.iref.d.2"></span><span id="rfc.iref.h.14"></span>, Link<span id="rfc.iref.l.1"></span><span id="rfc.iref.h.15"></span>, URI<span id="rfc.iref.u.1"></span><span id="rfc.iref.h.16"></span>, Public<span id="rfc.iref.p.1"></span><span id="rfc.iref.h.17"></span> and Content-Base<span id="rfc.iref.c.14"></span><span id="rfc.iref.h.18"></span> header fields were defined in previous versions of this specification, but not commonly implemented. See <a href="http://tools.ietf.org/html/rfc2068#section-19.6.2">Section 19.6.2</a> of <a href="#RFC2068" id="rfc.xref.RFC2068.4"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2068]</cite></a>. |
---|
[97] | 1814 | </p> |
---|
[99] | 1815 | <h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a> <a id="changes.from.rfc.2616" href="#changes.from.rfc.2616">Changes from RFC 2616</a></h2> |
---|
[424] | 1816 | <p id="rfc.section.C.2.p.1">Clarify contexts that charset is used in. (<a href="#character.sets" title="Character Sets">Section 2.1</a>) |
---|
[102] | 1817 | </p> |
---|
[385] | 1818 | <p id="rfc.section.C.2.p.2">Remove reference to non-existant identity transfer-coding value tokens. (<a href="#no.content-transfer-encoding" title="No Content-Transfer-Encoding">Appendix A.5</a>) |
---|
[104] | 1819 | </p> |
---|
[421] | 1820 | <h1 id="rfc.section.D"><a href="#rfc.section.D">D.</a> <a id="collected.abnf" href="#collected.abnf">Collected ABNF</a></h1> |
---|
[459] | 1821 | <div id="rfc.figure.u.38"></div> <pre class="inline"><a href="#header.accept" class="smpl">Accept</a> = "Accept:" OWS Accept-v |
---|
[427] | 1822 | <a href="#header.accept-charset" class="smpl">Accept-Charset</a> = "Accept-Charset:" OWS Accept-Charset-v |
---|
| 1823 | <a href="#header.accept-charset" class="smpl">Accept-Charset-v</a> = *( "," OWS ) ( charset / "*" ) [ OWS ";" OWS "q=" |
---|
[421] | 1824 | qvalue ] *( OWS "," [ OWS ( charset / "*" ) [ OWS ";" OWS "q=" |
---|
| 1825 | qvalue ] ] ) |
---|
[427] | 1826 | <a href="#header.accept-encoding" class="smpl">Accept-Encoding</a> = "Accept-Encoding:" OWS Accept-Encoding-v |
---|
| 1827 | <a href="#header.accept-encoding" class="smpl">Accept-Encoding-v</a> = [ ( "," / ( codings [ OWS ";" OWS "q=" qvalue ] ) |
---|
[421] | 1828 | ) *( OWS "," [ OWS codings [ OWS ";" OWS "q=" qvalue ] ] ) ] |
---|
[427] | 1829 | <a href="#header.accept-language" class="smpl">Accept-Language</a> = "Accept-Language:" OWS Accept-Language-v |
---|
| 1830 | <a href="#header.accept-language" class="smpl">Accept-Language-v</a> = *( "," OWS ) language-range [ OWS ";" OWS "q=" |
---|
[421] | 1831 | qvalue ] *( OWS "," [ OWS language-range [ OWS ";" OWS "q=" qvalue ] |
---|
| 1832 | ] ) |
---|
[427] | 1833 | <a href="#header.accept" class="smpl">Accept-v</a> = [ ( "," / ( media-range [ accept-params ] ) ) *( OWS "," [ |
---|
[421] | 1834 | OWS media-range [ accept-params ] ] ) ] |
---|
[428] | 1835 | |
---|
[427] | 1836 | <a href="#header.content-encoding" class="smpl">Content-Encoding</a> = "Content-Encoding:" OWS Content-Encoding-v |
---|
| 1837 | <a href="#header.content-encoding" class="smpl">Content-Encoding-v</a> = *( "," OWS ) content-coding *( OWS "," [ OWS |
---|
[421] | 1838 | content-coding ] ) |
---|
[427] | 1839 | <a href="#header.content-language" class="smpl">Content-Language</a> = "Content-Language:" OWS Content-Language-v |
---|
| 1840 | <a href="#header.content-language" class="smpl">Content-Language-v</a> = *( "," OWS ) language-tag *( OWS "," [ OWS |
---|
[421] | 1841 | language-tag ] ) |
---|
[653] | 1842 | <a href="#abnf.dependencies" class="smpl">Content-Length</a> = <Content-Length, defined in [Part1], Section 3.2> |
---|
[427] | 1843 | <a href="#header.content-location" class="smpl">Content-Location</a> = "Content-Location:" OWS Content-Location-v |
---|
| 1844 | <a href="#header.content-location" class="smpl">Content-Location-v</a> = absolute-URI / partial-URI |
---|
| 1845 | <a href="#header.content-md5" class="smpl">Content-MD5</a> = "Content-MD5:" OWS Content-MD5-v |
---|
| 1846 | <a href="#header.content-md5" class="smpl">Content-MD5-v</a> = <base64 of 128 bit MD5 digest as per [RFC1864]> |
---|
| 1847 | <a href="#abnf.dependencies" class="smpl">Content-Range</a> = <Content-Range, defined in [Part5], Section 5.2> |
---|
| 1848 | <a href="#header.content-type" class="smpl">Content-Type</a> = "Content-Type:" OWS Content-Type-v |
---|
| 1849 | <a href="#header.content-type" class="smpl">Content-Type-v</a> = media-type |
---|
| 1850 | |
---|
[538] | 1851 | <a href="#abnf.dependencies" class="smpl">Expires</a> = <Expires, defined in [Part6], Section 3.3> |
---|
[427] | 1852 | |
---|
| 1853 | <a href="#abnf.dependencies" class="smpl">Last-Modified</a> = <Last-Modified, defined in [Part4], Section 6.6> |
---|
| 1854 | |
---|
| 1855 | <a href="#mime-version" class="smpl">MIME-Version</a> = "MIME-Version:" OWS MIME-Version-v |
---|
| 1856 | <a href="#mime-version" class="smpl">MIME-Version-v</a> = 1*DIGIT "." 1*DIGIT |
---|
| 1857 | |
---|
| 1858 | <a href="#core.rules" class="smpl">OWS</a> = <OWS, defined in [Part1], Section 1.2.2> |
---|
| 1859 | |
---|
[648] | 1860 | <a href="#abnf.dependencies" class="smpl">absolute-URI</a> = <absolute-URI, defined in [Part1], Section 2.6> |
---|
[427] | 1861 | <a href="#header.accept" class="smpl">accept-ext</a> = OWS ";" OWS token [ "=" ( token / quoted-string ) ] |
---|
| 1862 | <a href="#header.accept" class="smpl">accept-params</a> = OWS ";" OWS "q=" qvalue *accept-ext |
---|
| 1863 | <a href="#rule.parameter" class="smpl">attribute</a> = token |
---|
| 1864 | |
---|
| 1865 | <a href="#rule.charset" class="smpl">charset</a> = token |
---|
| 1866 | <a href="#header.accept-encoding" class="smpl">codings</a> = ( content-coding / "*" ) |
---|
| 1867 | <a href="#content.codings" class="smpl">content-coding</a> = token |
---|
| 1868 | <a href="#content-disposition" class="smpl">content-disposition</a> = "Content-Disposition:" OWS |
---|
[421] | 1869 | content-disposition-v |
---|
[427] | 1870 | <a href="#content-disposition" class="smpl">content-disposition-v</a> = disposition-type *( OWS ";" OWS |
---|
[421] | 1871 | disposition-parm ) |
---|
[428] | 1872 | |
---|
[427] | 1873 | <a href="#content-disposition" class="smpl">disp-extension-parm</a> = token "=" ( token / quoted-string ) |
---|
| 1874 | <a href="#content-disposition" class="smpl">disp-extension-token</a> = token |
---|
| 1875 | <a href="#content-disposition" class="smpl">disposition-parm</a> = filename-parm / disp-extension-parm |
---|
| 1876 | <a href="#content-disposition" class="smpl">disposition-type</a> = "attachment" / disp-extension-token |
---|
| 1877 | |
---|
| 1878 | <a href="#entity.body" class="smpl">entity-body</a> = *OCTET |
---|
| 1879 | <a href="#entity.header.fields" class="smpl">entity-header</a> = Content-Encoding / Content-Language / Content-Length |
---|
[421] | 1880 | / Content-Location / Content-MD5 / Content-Range / Content-Type / |
---|
| 1881 | Expires / Last-Modified / extension-header |
---|
[647] | 1882 | <a href="#entity.header.fields" class="smpl">extension-header</a> = header-field |
---|
[427] | 1883 | |
---|
| 1884 | <a href="#content-disposition" class="smpl">filename-parm</a> = "filename=" quoted-string |
---|
| 1885 | |
---|
[653] | 1886 | <a href="#abnf.dependencies" class="smpl">header-field</a> = <header-field, defined in [Part1], Section 2.7.2> |
---|
[648] | 1887 | |
---|
[427] | 1888 | <a href="#header.accept-language" class="smpl">language-range</a> = <language-range, defined in [RFC4647], Section 2.1> |
---|
[613] | 1889 | <a href="#language.tags" class="smpl">language-tag</a> = <Language-Tag, defined in [RFC4646bis], Section 2.1> |
---|
[427] | 1890 | |
---|
| 1891 | <a href="#header.accept" class="smpl">media-range</a> = ( "*/*" / ( type "/*" ) / ( type "/" subtype ) ) *( OWS |
---|
[421] | 1892 | ";" OWS parameter ) |
---|
[427] | 1893 | <a href="#media.types" class="smpl">media-type</a> = type "/" subtype *( OWS ";" OWS parameter ) |
---|
| 1894 | |
---|
| 1895 | <a href="#rule.parameter" class="smpl">parameter</a> = attribute "=" value |
---|
[648] | 1896 | <a href="#abnf.dependencies" class="smpl">partial-URI</a> = <partial-URI, defined in [Part1], Section 2.6> |
---|
[427] | 1897 | |
---|
| 1898 | <a href="#core.rules" class="smpl">quoted-string</a> = <quoted-string, defined in [Part1], Section 1.2.2> |
---|
[653] | 1899 | <a href="#abnf.dependencies" class="smpl">qvalue</a> = <qvalue, defined in [Part1], Section 2.10.4> |
---|
[427] | 1900 | |
---|
| 1901 | <a href="#media.types" class="smpl">subtype</a> = token |
---|
| 1902 | |
---|
| 1903 | <a href="#core.rules" class="smpl">token</a> = <token, defined in [Part1], Section 1.2.2> |
---|
| 1904 | <a href="#media.types" class="smpl">type</a> = token |
---|
| 1905 | |
---|
| 1906 | <a href="#rule.parameter" class="smpl">value</a> = token / quoted-string |
---|
[459] | 1907 | </pre> <div id="rfc.figure.u.39"></div> |
---|
[454] | 1908 | <p>ABNF diagnostics:</p><pre class="inline">; Accept defined but not used |
---|
[421] | 1909 | ; Accept-Charset defined but not used |
---|
| 1910 | ; Accept-Encoding defined but not used |
---|
| 1911 | ; Accept-Language defined but not used |
---|
| 1912 | ; MIME-Version defined but not used |
---|
| 1913 | ; content-disposition defined but not used |
---|
| 1914 | ; entity-body defined but not used |
---|
| 1915 | ; entity-header defined but not used |
---|
[454] | 1916 | </pre><h1 id="rfc.section.E"><a href="#rfc.section.E">E.</a> <a id="change.log" href="#change.log">Change Log (to be removed by RFC Editor before publication)</a></h1> |
---|
[421] | 1917 | <h2 id="rfc.section.E.1"><a href="#rfc.section.E.1">E.1</a> Since RFC2616 |
---|
[115] | 1918 | </h2> |
---|
[421] | 1919 | <p id="rfc.section.E.1.p.1">Extracted relevant partitions from <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>. |
---|
[115] | 1920 | </p> |
---|
[421] | 1921 | <h2 id="rfc.section.E.2"><a href="#rfc.section.E.2">E.2</a> Since draft-ietf-httpbis-p3-payload-00 |
---|
[115] | 1922 | </h2> |
---|
[421] | 1923 | <p id="rfc.section.E.2.p.1">Closed issues: </p> |
---|
[116] | 1924 | <ul> |
---|
[324] | 1925 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/8">http://tools.ietf.org/wg/httpbis/trac/ticket/8</a>>: "Media Type Registrations" (<<a href="http://purl.org/NET/http-errata#media-reg">http://purl.org/NET/http-errata#media-reg</a>>) |
---|
[116] | 1926 | </li> |
---|
[324] | 1927 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/14">http://tools.ietf.org/wg/httpbis/trac/ticket/14</a>>: "Clarification regarding quoting of charset values" (<<a href="http://purl.org/NET/http-errata#charactersets">http://purl.org/NET/http-errata#charactersets</a>>) |
---|
[116] | 1928 | </li> |
---|
[324] | 1929 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/16">http://tools.ietf.org/wg/httpbis/trac/ticket/16</a>>: "Remove 'identity' token references" (<<a href="http://purl.org/NET/http-errata#identity">http://purl.org/NET/http-errata#identity</a>>) |
---|
[116] | 1930 | </li> |
---|
[324] | 1931 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/25">http://tools.ietf.org/wg/httpbis/trac/ticket/25</a>>: "Accept-Encoding BNF" |
---|
[126] | 1932 | </li> |
---|
[324] | 1933 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/35">http://tools.ietf.org/wg/httpbis/trac/ticket/35</a>>: "Normative and Informative references" |
---|
[152] | 1934 | </li> |
---|
[324] | 1935 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/46">http://tools.ietf.org/wg/httpbis/trac/ticket/46</a>>: "RFC1700 references" |
---|
[116] | 1936 | </li> |
---|
[324] | 1937 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/55">http://tools.ietf.org/wg/httpbis/trac/ticket/55</a>>: "Updating to RFC4288" |
---|
[200] | 1938 | </li> |
---|
[324] | 1939 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/65">http://tools.ietf.org/wg/httpbis/trac/ticket/65</a>>: "Informative references" |
---|
[129] | 1940 | </li> |
---|
[324] | 1941 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/66">http://tools.ietf.org/wg/httpbis/trac/ticket/66</a>>: "ISO-8859-1 Reference" |
---|
[123] | 1942 | </li> |
---|
[324] | 1943 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/68">http://tools.ietf.org/wg/httpbis/trac/ticket/68</a>>: "Encoding References Normative" |
---|
[122] | 1944 | </li> |
---|
[324] | 1945 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/86">http://tools.ietf.org/wg/httpbis/trac/ticket/86</a>>: "Normative up-to-date references" |
---|
[131] | 1946 | </li> |
---|
[116] | 1947 | </ul> |
---|
[421] | 1948 | <h2 id="rfc.section.E.3"><a href="#rfc.section.E.3">E.3</a> Since draft-ietf-httpbis-p3-payload-01 |
---|
[170] | 1949 | </h2> |
---|
[421] | 1950 | <p id="rfc.section.E.3.p.1">Ongoing work on ABNF conversion (<<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>>): |
---|
[205] | 1951 | </p> |
---|
| 1952 | <ul> |
---|
| 1953 | <li>Add explicit references to BNF syntax and rules imported from other parts of the specification.</li> |
---|
| 1954 | </ul> |
---|
[421] | 1955 | <h2 id="rfc.section.E.4"><a href="#rfc.section.E.4">E.4</a> <a id="changes.since.02" href="#changes.since.02">Since draft-ietf-httpbis-p3-payload-02</a></h2> |
---|
| 1956 | <p id="rfc.section.E.4.p.1">Closed issues: </p> |
---|
[232] | 1957 | <ul> |
---|
[324] | 1958 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/67">http://tools.ietf.org/wg/httpbis/trac/ticket/67</a>>: "Quoting Charsets" |
---|
[251] | 1959 | </li> |
---|
[324] | 1960 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/105">http://tools.ietf.org/wg/httpbis/trac/ticket/105</a>>: "Classification for Allow header" |
---|
[232] | 1961 | </li> |
---|
[324] | 1962 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/115">http://tools.ietf.org/wg/httpbis/trac/ticket/115</a>>: "missing default for qvalue in description of Accept-Encoding" |
---|
[248] | 1963 | </li> |
---|
[232] | 1964 | </ul> |
---|
[421] | 1965 | <p id="rfc.section.E.4.p.2">Ongoing work on IANA Message Header Registration (<<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/40">http://tools.ietf.org/wg/httpbis/trac/ticket/40</a>>): |
---|
[253] | 1966 | </p> |
---|
| 1967 | <ul> |
---|
| 1968 | <li>Reference RFC 3984, and update header registrations for headers defined in this document.</li> |
---|
| 1969 | </ul> |
---|
[421] | 1970 | <h2 id="rfc.section.E.5"><a href="#rfc.section.E.5">E.5</a> <a id="changes.since.03" href="#changes.since.03">Since draft-ietf-httpbis-p3-payload-03</a></h2> |
---|
| 1971 | <p id="rfc.section.E.5.p.1">Closed issues: </p> |
---|
[269] | 1972 | <ul> |
---|
[297] | 1973 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/67">http://tools.ietf.org/wg/httpbis/trac/ticket/67</a>>: "Quoting Charsets" |
---|
| 1974 | </li> |
---|
[303] | 1975 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/113">http://tools.ietf.org/wg/httpbis/trac/ticket/113</a>>: "language tag matching (Accept-Language) vs RFC4647" |
---|
| 1976 | </li> |
---|
[277] | 1977 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/121">http://tools.ietf.org/wg/httpbis/trac/ticket/121</a>>: "RFC 1806 has been replaced by RFC2183" |
---|
[269] | 1978 | </li> |
---|
| 1979 | </ul> |
---|
[421] | 1980 | <p id="rfc.section.E.5.p.2">Other changes: </p> |
---|
[277] | 1981 | <ul> |
---|
[673] | 1982 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/68">http://tools.ietf.org/wg/httpbis/trac/ticket/68</a>>: "Encoding References Normative" -- rephrase the annotation and reference <a href="#BCP97" id="rfc.xref.BCP97.3"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>. |
---|
[277] | 1983 | </li> |
---|
| 1984 | </ul> |
---|
[421] | 1985 | <h2 id="rfc.section.E.6"><a href="#rfc.section.E.6">E.6</a> <a id="changes.since.04" href="#changes.since.04">Since draft-ietf-httpbis-p3-payload-04</a></h2> |
---|
| 1986 | <p id="rfc.section.E.6.p.1">Closed issues: </p> |
---|
[327] | 1987 | <ul> |
---|
| 1988 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/132">http://tools.ietf.org/wg/httpbis/trac/ticket/132</a>>: "RFC 2822 is updated by RFC 5322" |
---|
| 1989 | </li> |
---|
| 1990 | </ul> |
---|
[421] | 1991 | <p id="rfc.section.E.6.p.2">Ongoing work on ABNF conversion (<<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>>): |
---|
[334] | 1992 | </p> |
---|
| 1993 | <ul> |
---|
| 1994 | <li>Use "/" instead of "|" for alternatives.</li> |
---|
[357] | 1995 | <li>Introduce new ABNF rules for "bad" whitespace ("BWS"), optional whitespace ("OWS") and required whitespace ("RWS").</li> |
---|
| 1996 | <li>Rewrite ABNFs to spell out whitespace rules, factor out header value format definitions.</li> |
---|
[334] | 1997 | </ul> |
---|
[421] | 1998 | <h2 id="rfc.section.E.7"><a href="#rfc.section.E.7">E.7</a> <a id="changes.since.05" href="#changes.since.05">Since draft-ietf-httpbis-p3-payload-05</a></h2> |
---|
| 1999 | <p id="rfc.section.E.7.p.1">Closed issues: </p> |
---|
[385] | 2000 | <ul> |
---|
| 2001 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/118">http://tools.ietf.org/wg/httpbis/trac/ticket/118</a>>: "Join "Differences Between HTTP Entities and RFC 2045 Entities"?" |
---|
| 2002 | </li> |
---|
| 2003 | </ul> |
---|
[543] | 2004 | <p id="rfc.section.E.7.p.2">Final work on ABNF conversion (<<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/36">http://tools.ietf.org/wg/httpbis/trac/ticket/36</a>>): |
---|
[421] | 2005 | </p> |
---|
| 2006 | <ul> |
---|
[424] | 2007 | <li>Add appendix containing collected and expanded ABNF, reorganize ABNF introduction.</li> |
---|
[421] | 2008 | </ul> |
---|
[457] | 2009 | <p id="rfc.section.E.7.p.3">Other changes: </p> |
---|
| 2010 | <ul> |
---|
| 2011 | <li>Move definition of quality values into Part 1.</li> |
---|
| 2012 | </ul> |
---|
[547] | 2013 | <h2 id="rfc.section.E.8"><a href="#rfc.section.E.8">E.8</a> <a id="changes.since.06" href="#changes.since.06">Since draft-ietf-httpbis-p3-payload-06</a></h2> |
---|
[577] | 2014 | <p id="rfc.section.E.8.p.1">Closed issues: </p> |
---|
| 2015 | <ul> |
---|
| 2016 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/80">http://tools.ietf.org/wg/httpbis/trac/ticket/80</a>>: "Content-Location isn't special" |
---|
| 2017 | </li> |
---|
[592] | 2018 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/155">http://tools.ietf.org/wg/httpbis/trac/ticket/155</a>>: "Content Sniffing" |
---|
| 2019 | </li> |
---|
[577] | 2020 | </ul> |
---|
[604] | 2021 | <h2 id="rfc.section.E.9"><a href="#rfc.section.E.9">E.9</a> <a id="changes.since.07" href="#changes.since.07">Since draft-ietf-httpbis-p3-payload-07</a></h2> |
---|
[613] | 2022 | <p id="rfc.section.E.9.p.1">Closed issues: </p> |
---|
| 2023 | <ul> |
---|
[670] | 2024 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/13">http://tools.ietf.org/wg/httpbis/trac/ticket/13</a>>: "Updated reference for language tags" |
---|
[613] | 2025 | </li> |
---|
[663] | 2026 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/155">http://tools.ietf.org/wg/httpbis/trac/ticket/155</a>>: "Content Sniffing" |
---|
| 2027 | </li> |
---|
[670] | 2028 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/188">http://tools.ietf.org/wg/httpbis/trac/ticket/188</a>>: "pick IANA policy (RFC5226) for Transfer Coding / Content Coding" |
---|
| 2029 | </li> |
---|
[673] | 2030 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/189">http://tools.ietf.org/wg/httpbis/trac/ticket/189</a>>: "move definitions of gzip/deflate/compress to part 1" |
---|
| 2031 | </li> |
---|
[613] | 2032 | </ul> |
---|
[667] | 2033 | <p id="rfc.section.E.9.p.2">Partly resolved issues: </p> |
---|
| 2034 | <ul> |
---|
| 2035 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/148">http://tools.ietf.org/wg/httpbis/trac/ticket/148</a>>: "update IANA requirements wrt Transfer-Coding values" (add the IANA Considerations subsection) |
---|
| 2036 | </li> |
---|
[668] | 2037 | <li> <<a href="http://tools.ietf.org/wg/httpbis/trac/ticket/149">http://tools.ietf.org/wg/httpbis/trac/ticket/149</a>>: "update IANA requirements wrt Content-Coding values" (add the IANA Considerations subsection) |
---|
| 2038 | </li> |
---|
[667] | 2039 | </ul> |
---|
[97] | 2040 | <h1 id="rfc.index"><a href="#rfc.index">Index</a></h1> |
---|
[660] | 2041 | <p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.U">U</a> <a href="#rfc.index.V">V</a> |
---|
[97] | 2042 | </p> |
---|
| 2043 | <div class="print2col"> |
---|
| 2044 | <ul class="ind"> |
---|
| 2045 | <li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"> |
---|
[424] | 2046 | <li class="indline1">Accept header <a class="iref" href="#rfc.xref.header.accept.1">2.3</a>, <a class="iref" href="#rfc.xref.header.accept.2">4.1</a>, <a class="iref" href="#rfc.iref.a.1"><b>5.1</b></a>, <a class="iref" href="#rfc.xref.header.accept.3">6.1</a></li> |
---|
| 2047 | <li class="indline1">Accept-Charset header <a class="iref" href="#rfc.xref.header.accept-charset.1">4.1</a>, <a class="iref" href="#rfc.iref.a.2"><b>5.2</b></a>, <a class="iref" href="#rfc.xref.header.accept-charset.2">6.1</a>, <a class="iref" href="#rfc.xref.header.accept-charset.3">C.1</a></li> |
---|
| 2048 | <li class="indline1">Accept-Encoding header <a class="iref" href="#rfc.xref.header.accept-encoding.1">2.2</a>, <a class="iref" href="#rfc.xref.header.accept-encoding.2">4.1</a>, <a class="iref" href="#rfc.iref.a.3"><b>5.3</b></a>, <a class="iref" href="#rfc.xref.header.accept-encoding.3">6.1</a></li> |
---|
| 2049 | <li class="indline1">Accept-Language header <a class="iref" href="#rfc.xref.header.accept-language.1">4.1</a>, <a class="iref" href="#rfc.iref.a.4"><b>5.4</b></a>, <a class="iref" href="#rfc.xref.header.accept-language.2">6.1</a></li> |
---|
[99] | 2050 | <li class="indline1">Alternates header <a class="iref" href="#rfc.iref.a.5"><b>C.1</b></a></li> |
---|
[97] | 2051 | </ul> |
---|
| 2052 | </li> |
---|
[277] | 2053 | <li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"> |
---|
[673] | 2054 | <li class="indline1"><em>BCP97</em> <a class="iref" href="#rfc.xref.BCP97.1">9.1</a>, <a class="iref" href="#rfc.xref.BCP97.2">9.1</a>, <a class="iref" href="#BCP97"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.BCP97.3">E.5</a></li> |
---|
[277] | 2055 | </ul> |
---|
| 2056 | </li> |
---|
[97] | 2057 | <li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"> |
---|
[673] | 2058 | <li class="indline1">Coding Format |
---|
| 2059 | <ul class="ind"> |
---|
| 2060 | <li class="indline1">compress <a class="iref" href="#rfc.iref.c.3">2.2</a></li> |
---|
| 2061 | <li class="indline1">deflate <a class="iref" href="#rfc.iref.c.4">2.2</a></li> |
---|
| 2062 | <li class="indline1">gzip <a class="iref" href="#rfc.iref.c.5">2.2</a></li> |
---|
| 2063 | <li class="indline1">identity <a class="iref" href="#rfc.iref.c.6">2.2</a></li> |
---|
| 2064 | </ul> |
---|
| 2065 | </li> |
---|
| 2066 | <li class="indline1">compress (Coding Format) <a class="iref" href="#rfc.iref.c.2">2.2</a></li> |
---|
[660] | 2067 | <li class="indline1">content negotiation <a class="iref" href="#rfc.iref.c.1">1.1</a></li> |
---|
[673] | 2068 | <li class="indline1">Content-Base header <a class="iref" href="#rfc.iref.c.14"><b>C.1</b></a></li> |
---|
| 2069 | <li class="indline1">Content-Disposition header <a class="iref" href="#rfc.xref.content-disposition.1">6.1</a>, <a class="iref" href="#rfc.xref.content-disposition.2">7.2</a>, <a class="iref" href="#rfc.iref.c.12"><b>B.1</b></a>, <a class="iref" href="#rfc.extref.c.32">B.1</a>, <a class="iref" href="#rfc.extref.c.50">D</a></li> |
---|
| 2070 | <li class="indline1">Content-Encoding header <a class="iref" href="#rfc.xref.header.content-encoding.1">2.2</a>, <a class="iref" href="#rfc.xref.header.content-encoding.2">3.1</a>, <a class="iref" href="#rfc.iref.c.7"><b>5.5</b></a>, <a class="iref" href="#rfc.xref.header.content-encoding.3">5.5</a>, <a class="iref" href="#rfc.xref.header.content-encoding.4">6.1</a></li> |
---|
| 2071 | <li class="indline1">Content-Language header <a class="iref" href="#rfc.xref.header.content-language.1">3.1</a>, <a class="iref" href="#rfc.iref.c.8"><b>5.6</b></a>, <a class="iref" href="#rfc.xref.header.content-language.2">6.1</a></li> |
---|
| 2072 | <li class="indline1">Content-Location header <a class="iref" href="#rfc.xref.header.content-location.1">3.1</a>, <a class="iref" href="#rfc.iref.c.9"><b>5.7</b></a>, <a class="iref" href="#rfc.xref.header.content-location.2">6.1</a></li> |
---|
| 2073 | <li class="indline1">Content-MD5 header <a class="iref" href="#rfc.xref.header.content-md5.1">3.1</a>, <a class="iref" href="#rfc.iref.c.10"><b>5.8</b></a>, <a class="iref" href="#rfc.xref.header.content-md5.2">6.1</a></li> |
---|
| 2074 | <li class="indline1">Content-Type header <a class="iref" href="#rfc.xref.header.content-type.1">2.3</a>, <a class="iref" href="#rfc.xref.header.content-type.2">3.1</a>, <a class="iref" href="#rfc.iref.c.11"><b>5.9</b></a>, <a class="iref" href="#rfc.xref.header.content-type.3">6.1</a></li> |
---|
| 2075 | <li class="indline1">Content-Version header <a class="iref" href="#rfc.iref.c.13"><b>C.1</b></a></li> |
---|
[97] | 2076 | </ul> |
---|
| 2077 | </li> |
---|
| 2078 | <li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"> |
---|
[673] | 2079 | <li class="indline1">deflate (Coding Format) <a class="iref" href="#rfc.iref.d.1">2.2</a></li> |
---|
[99] | 2080 | <li class="indline1">Derived-From header <a class="iref" href="#rfc.iref.d.2"><b>C.1</b></a></li> |
---|
[97] | 2081 | </ul> |
---|
| 2082 | </li> |
---|
[660] | 2083 | <li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"> |
---|
| 2084 | <li class="indline1">entity <a class="iref" href="#rfc.iref.e.1">1.1</a></li> |
---|
| 2085 | </ul> |
---|
| 2086 | </li> |
---|
[97] | 2087 | <li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"> |
---|
| 2088 | <li class="indline1"><tt>Grammar</tt> |
---|
| 2089 | <ul class="ind"> |
---|
[613] | 2090 | <li class="indline1"><tt>Accept</tt> <a class="iref" href="#rfc.iref.g.14"><b>5.1</b></a></li> |
---|
| 2091 | <li class="indline1"><tt>Accept-Charset</tt> <a class="iref" href="#rfc.iref.g.19"><b>5.2</b></a></li> |
---|
| 2092 | <li class="indline1"><tt>Accept-Charset-v</tt> <a class="iref" href="#rfc.iref.g.20"><b>5.2</b></a></li> |
---|
| 2093 | <li class="indline1"><tt>Accept-Encoding</tt> <a class="iref" href="#rfc.iref.g.21"><b>5.3</b></a></li> |
---|
| 2094 | <li class="indline1"><tt>Accept-Encoding-v</tt> <a class="iref" href="#rfc.iref.g.22"><b>5.3</b></a></li> |
---|
| 2095 | <li class="indline1"><tt>accept-ext</tt> <a class="iref" href="#rfc.iref.g.18"><b>5.1</b></a></li> |
---|
| 2096 | <li class="indline1"><tt>Accept-Language</tt> <a class="iref" href="#rfc.iref.g.24"><b>5.4</b></a></li> |
---|
| 2097 | <li class="indline1"><tt>Accept-Language-v</tt> <a class="iref" href="#rfc.iref.g.25"><b>5.4</b></a></li> |
---|
| 2098 | <li class="indline1"><tt>accept-params</tt> <a class="iref" href="#rfc.iref.g.17"><b>5.1</b></a></li> |
---|
| 2099 | <li class="indline1"><tt>Accept-v</tt> <a class="iref" href="#rfc.iref.g.15"><b>5.1</b></a></li> |
---|
[424] | 2100 | <li class="indline1"><tt>attribute</tt> <a class="iref" href="#rfc.iref.g.8"><b>2.3</b></a></li> |
---|
| 2101 | <li class="indline1"><tt>charset</tt> <a class="iref" href="#rfc.iref.g.1"><b>2.1</b></a></li> |
---|
[613] | 2102 | <li class="indline1"><tt>codings</tt> <a class="iref" href="#rfc.iref.g.23"><b>5.3</b></a></li> |
---|
[424] | 2103 | <li class="indline1"><tt>content-coding</tt> <a class="iref" href="#rfc.iref.g.2"><b>2.2</b></a></li> |
---|
[613] | 2104 | <li class="indline1"><tt>content-disposition</tt> <a class="iref" href="#rfc.iref.g.39"><b>B.1</b></a></li> |
---|
| 2105 | <li class="indline1"><tt>content-disposition-v</tt> <a class="iref" href="#rfc.iref.g.40"><b>B.1</b></a></li> |
---|
| 2106 | <li class="indline1"><tt>Content-Encoding</tt> <a class="iref" href="#rfc.iref.g.27"><b>5.5</b></a></li> |
---|
| 2107 | <li class="indline1"><tt>Content-Encoding-v</tt> <a class="iref" href="#rfc.iref.g.28"><b>5.5</b></a></li> |
---|
| 2108 | <li class="indline1"><tt>Content-Language</tt> <a class="iref" href="#rfc.iref.g.29"><b>5.6</b></a></li> |
---|
| 2109 | <li class="indline1"><tt>Content-Language-v</tt> <a class="iref" href="#rfc.iref.g.30"><b>5.6</b></a></li> |
---|
| 2110 | <li class="indline1"><tt>Content-Location</tt> <a class="iref" href="#rfc.iref.g.31"><b>5.7</b></a></li> |
---|
| 2111 | <li class="indline1"><tt>Content-Location-v</tt> <a class="iref" href="#rfc.iref.g.32"><b>5.7</b></a></li> |
---|
| 2112 | <li class="indline1"><tt>Content-MD5</tt> <a class="iref" href="#rfc.iref.g.33"><b>5.8</b></a></li> |
---|
| 2113 | <li class="indline1"><tt>Content-MD5-v</tt> <a class="iref" href="#rfc.iref.g.34"><b>5.8</b></a></li> |
---|
| 2114 | <li class="indline1"><tt>Content-Type</tt> <a class="iref" href="#rfc.iref.g.35"><b>5.9</b></a></li> |
---|
| 2115 | <li class="indline1"><tt>Content-Type-v</tt> <a class="iref" href="#rfc.iref.g.36"><b>5.9</b></a></li> |
---|
| 2116 | <li class="indline1"><tt>disp-extension-parm</tt> <a class="iref" href="#rfc.iref.g.45"><b>B.1</b></a></li> |
---|
| 2117 | <li class="indline1"><tt>disp-extension-token</tt> <a class="iref" href="#rfc.iref.g.44"><b>B.1</b></a></li> |
---|
| 2118 | <li class="indline1"><tt>disposition-parm</tt> <a class="iref" href="#rfc.iref.g.42"><b>B.1</b></a></li> |
---|
| 2119 | <li class="indline1"><tt>disposition-type</tt> <a class="iref" href="#rfc.iref.g.41"><b>B.1</b></a></li> |
---|
| 2120 | <li class="indline1"><tt>entity-body</tt> <a class="iref" href="#rfc.iref.g.13"><b>3.2</b></a></li> |
---|
| 2121 | <li class="indline1"><tt>entity-header</tt> <a class="iref" href="#rfc.iref.g.11"><b>3.1</b></a></li> |
---|
| 2122 | <li class="indline1"><tt>extension-header</tt> <a class="iref" href="#rfc.iref.g.12"><b>3.1</b></a></li> |
---|
| 2123 | <li class="indline1"><tt>filename-parm</tt> <a class="iref" href="#rfc.iref.g.43"><b>B.1</b></a></li> |
---|
| 2124 | <li class="indline1"><tt>language-range</tt> <a class="iref" href="#rfc.iref.g.26"><b>5.4</b></a></li> |
---|
[457] | 2125 | <li class="indline1"><tt>language-tag</tt> <a class="iref" href="#rfc.iref.g.10"><b>2.4</b></a></li> |
---|
[613] | 2126 | <li class="indline1"><tt>media-range</tt> <a class="iref" href="#rfc.iref.g.16"><b>5.1</b></a></li> |
---|
[424] | 2127 | <li class="indline1"><tt>media-type</tt> <a class="iref" href="#rfc.iref.g.4"><b>2.3</b></a></li> |
---|
[613] | 2128 | <li class="indline1"><tt>MIME-Version</tt> <a class="iref" href="#rfc.iref.g.37"><b>A.1</b></a></li> |
---|
| 2129 | <li class="indline1"><tt>MIME-Version-v</tt> <a class="iref" href="#rfc.iref.g.38"><b>A.1</b></a></li> |
---|
[424] | 2130 | <li class="indline1"><tt>parameter</tt> <a class="iref" href="#rfc.iref.g.7"><b>2.3</b></a></li> |
---|
| 2131 | <li class="indline1"><tt>subtype</tt> <a class="iref" href="#rfc.iref.g.6"><b>2.3</b></a></li> |
---|
| 2132 | <li class="indline1"><tt>type</tt> <a class="iref" href="#rfc.iref.g.5"><b>2.3</b></a></li> |
---|
| 2133 | <li class="indline1"><tt>value</tt> <a class="iref" href="#rfc.iref.g.9"><b>2.3</b></a></li> |
---|
[97] | 2134 | </ul> |
---|
| 2135 | </li> |
---|
[673] | 2136 | <li class="indline1">gzip (Coding Format) <a class="iref" href="#rfc.iref.g.3">2.2</a></li> |
---|
[97] | 2137 | </ul> |
---|
| 2138 | </li> |
---|
| 2139 | <li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"> |
---|
| 2140 | <li class="indline1">Headers |
---|
| 2141 | <ul class="ind"> |
---|
[424] | 2142 | <li class="indline1">Accept <a class="iref" href="#rfc.xref.header.accept.1">2.3</a>, <a class="iref" href="#rfc.xref.header.accept.2">4.1</a>, <a class="iref" href="#rfc.iref.h.1"><b>5.1</b></a>, <a class="iref" href="#rfc.xref.header.accept.3">6.1</a></li> |
---|
| 2143 | <li class="indline1">Accept-Charset <a class="iref" href="#rfc.xref.header.accept-charset.1">4.1</a>, <a class="iref" href="#rfc.iref.h.2"><b>5.2</b></a>, <a class="iref" href="#rfc.xref.header.accept-charset.2">6.1</a>, <a class="iref" href="#rfc.xref.header.accept-charset.3">C.1</a></li> |
---|
| 2144 | <li class="indline1">Accept-Encoding <a class="iref" href="#rfc.xref.header.accept-encoding.1">2.2</a>, <a class="iref" href="#rfc.xref.header.accept-encoding.2">4.1</a>, <a class="iref" href="#rfc.iref.h.3"><b>5.3</b></a>, <a class="iref" href="#rfc.xref.header.accept-encoding.3">6.1</a></li> |
---|
| 2145 | <li class="indline1">Accept-Language <a class="iref" href="#rfc.xref.header.accept-language.1">4.1</a>, <a class="iref" href="#rfc.iref.h.4"><b>5.4</b></a>, <a class="iref" href="#rfc.xref.header.accept-language.2">6.1</a></li> |
---|
[291] | 2146 | <li class="indline1">Alternate <a class="iref" href="#rfc.iref.h.12"><b>C.1</b></a></li> |
---|
| 2147 | <li class="indline1">Content-Base <a class="iref" href="#rfc.iref.h.18"><b>C.1</b></a></li> |
---|
[427] | 2148 | <li class="indline1">Content-Disposition <a class="iref" href="#rfc.xref.content-disposition.1">6.1</a>, <a class="iref" href="#rfc.xref.content-disposition.2">7.2</a>, <a class="iref" href="#rfc.iref.h.11"><b>B.1</b></a>, <a class="iref" href="#rfc.extref.c.32">B.1</a>, <a class="iref" href="#rfc.extref.c.50">D</a></li> |
---|
[424] | 2149 | <li class="indline1">Content-Encoding <a class="iref" href="#rfc.xref.header.content-encoding.1">2.2</a>, <a class="iref" href="#rfc.xref.header.content-encoding.2">3.1</a>, <a class="iref" href="#rfc.iref.h.5"><b>5.5</b></a>, <a class="iref" href="#rfc.xref.header.content-encoding.3">5.5</a>, <a class="iref" href="#rfc.xref.header.content-encoding.4">6.1</a></li> |
---|
| 2150 | <li class="indline1">Content-Language <a class="iref" href="#rfc.xref.header.content-language.1">3.1</a>, <a class="iref" href="#rfc.iref.h.6"><b>5.6</b></a>, <a class="iref" href="#rfc.xref.header.content-language.2">6.1</a></li> |
---|
| 2151 | <li class="indline1">Content-Location <a class="iref" href="#rfc.xref.header.content-location.1">3.1</a>, <a class="iref" href="#rfc.iref.h.7"><b>5.7</b></a>, <a class="iref" href="#rfc.xref.header.content-location.2">6.1</a></li> |
---|
| 2152 | <li class="indline1">Content-MD5 <a class="iref" href="#rfc.xref.header.content-md5.1">3.1</a>, <a class="iref" href="#rfc.iref.h.8"><b>5.8</b></a>, <a class="iref" href="#rfc.xref.header.content-md5.2">6.1</a></li> |
---|
| 2153 | <li class="indline1">Content-Type <a class="iref" href="#rfc.xref.header.content-type.1">2.3</a>, <a class="iref" href="#rfc.xref.header.content-type.2">3.1</a>, <a class="iref" href="#rfc.iref.h.9"><b>5.9</b></a>, <a class="iref" href="#rfc.xref.header.content-type.3">6.1</a></li> |
---|
[291] | 2154 | <li class="indline1">Content-Version <a class="iref" href="#rfc.iref.h.13"><b>C.1</b></a></li> |
---|
| 2155 | <li class="indline1">Derived-From <a class="iref" href="#rfc.iref.h.14"><b>C.1</b></a></li> |
---|
| 2156 | <li class="indline1">Link <a class="iref" href="#rfc.iref.h.15"><b>C.1</b></a></li> |
---|
[424] | 2157 | <li class="indline1">MIME-Version <a class="iref" href="#rfc.xref.mime-version.1">6.1</a>, <a class="iref" href="#rfc.iref.h.10"><b>A.1</b></a></li> |
---|
[291] | 2158 | <li class="indline1">Public <a class="iref" href="#rfc.iref.h.17"><b>C.1</b></a></li> |
---|
| 2159 | <li class="indline1">URI <a class="iref" href="#rfc.iref.h.16"><b>C.1</b></a></li> |
---|
[97] | 2160 | </ul> |
---|
| 2161 | </li> |
---|
| 2162 | </ul> |
---|
| 2163 | </li> |
---|
| 2164 | <li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"> |
---|
[673] | 2165 | <li class="indline1">identity (Coding Format) <a class="iref" href="#rfc.iref.i.1">2.2</a></li> |
---|
[424] | 2166 | <li class="indline1"><em>ISO-8859-1</em> <a class="iref" href="#rfc.xref.ISO-8859-1.1">2.1.1</a>, <a class="iref" href="#ISO-8859-1"><b>9.1</b></a></li> |
---|
[97] | 2167 | </ul> |
---|
| 2168 | </li> |
---|
| 2169 | <li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"> |
---|
[99] | 2170 | <li class="indline1">Link header <a class="iref" href="#rfc.iref.l.1"><b>C.1</b></a></li> |
---|
[97] | 2171 | </ul> |
---|
| 2172 | </li> |
---|
[291] | 2173 | <li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"> |
---|
[424] | 2174 | <li class="indline1">MIME-Version header <a class="iref" href="#rfc.xref.mime-version.1">6.1</a>, <a class="iref" href="#rfc.iref.m.1"><b>A.1</b></a></li> |
---|
[291] | 2175 | </ul> |
---|
| 2176 | </li> |
---|
[97] | 2177 | <li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"> |
---|
[673] | 2178 | <li class="indline1"><em>Part1</em> <a class="iref" href="#rfc.xref.Part1.1">1.3</a>, <a class="iref" href="#rfc.xref.Part1.2">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.3">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.4">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.5">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.6">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.7">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.8">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.9">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.10">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.11">2.2</a>, <a class="iref" href="#rfc.xref.Part1.12">2.2</a>, <a class="iref" href="#rfc.xref.Part1.13">2.2</a>, <a class="iref" href="#rfc.xref.Part1.14">3.1</a>, <a class="iref" href="#rfc.xref.Part1.15">3.2</a>, <a class="iref" href="#rfc.xref.Part1.16">3.2.2</a>, <a class="iref" href="#rfc.xref.Part1.17">5.1</a>, <a class="iref" href="#rfc.xref.Part1.18">5.3</a>, <a class="iref" href="#rfc.xref.Part1.19">6.2</a>, <a class="iref" href="#rfc.xref.Part1.20">6.2</a>, <a class="iref" href="#rfc.xref.Part1.21">6.2</a>, <a class="iref" href="#Part1"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.Part1.22">A.3</a>, <a class="iref" href="#rfc.xref.Part1.23">A.6</a>, <a class="iref" href="#rfc.xref.Part1.24">C.1</a><ul class="ind"> |
---|
[660] | 2179 | <li class="indline1"><em>Section 1.2</em> <a class="iref" href="#rfc.xref.Part1.1">1.3</a></li> |
---|
| 2180 | <li class="indline1"><em>Section 1.2.2</em> <a class="iref" href="#rfc.xref.Part1.2">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.3">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.4">1.3.1</a>, <a class="iref" href="#rfc.xref.Part1.5">1.3.1</a></li> |
---|
| 2181 | <li class="indline1"><em>Section 2.6</em> <a class="iref" href="#rfc.xref.Part1.6">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.9">1.3.2</a></li> |
---|
| 2182 | <li class="indline1"><em>Section 2.7.2</em> <a class="iref" href="#rfc.xref.Part1.8">1.3.2</a></li> |
---|
[673] | 2183 | <li class="indline1"><em>Section 2.7.3</em> <a class="iref" href="#rfc.xref.Part1.15">3.2</a></li> |
---|
| 2184 | <li class="indline1"><em>Section 2.7.4</em> <a class="iref" href="#rfc.xref.Part1.16">3.2.2</a></li> |
---|
| 2185 | <li class="indline1"><em>Section 2.10.1</em> <a class="iref" href="#rfc.xref.Part1.22">A.3</a></li> |
---|
| 2186 | <li class="indline1"><em>Section 2.10.2.2.1</em> <a class="iref" href="#rfc.xref.Part1.11">2.2</a>, <a class="iref" href="#rfc.xref.Part1.19">6.2</a></li> |
---|
| 2187 | <li class="indline1"><em>Section 2.10.2.2.2</em> <a class="iref" href="#rfc.xref.Part1.12">2.2</a>, <a class="iref" href="#rfc.xref.Part1.20">6.2</a></li> |
---|
| 2188 | <li class="indline1"><em>Section 2.10.2.2.3</em> <a class="iref" href="#rfc.xref.Part1.13">2.2</a>, <a class="iref" href="#rfc.xref.Part1.21">6.2</a></li> |
---|
| 2189 | <li class="indline1"><em>Section 2.10.4</em> <a class="iref" href="#rfc.xref.Part1.10">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.17">5.1</a>, <a class="iref" href="#rfc.xref.Part1.18">5.3</a></li> |
---|
| 2190 | <li class="indline1"><em>Section 3.2</em> <a class="iref" href="#rfc.xref.Part1.7">1.3.2</a>, <a class="iref" href="#rfc.xref.Part1.14">3.1</a></li> |
---|
| 2191 | <li class="indline1"><em>Section 3.7</em> <a class="iref" href="#rfc.xref.Part1.23">A.6</a></li> |
---|
[97] | 2192 | </ul> |
---|
| 2193 | </li> |
---|
[424] | 2194 | <li class="indline1"><em>Part2</em> <a class="iref" href="#rfc.xref.Part2.1">4.1</a>, <a class="iref" href="#Part2"><b>9.1</b></a><ul class="ind"> |
---|
| 2195 | <li class="indline1"><em>Section 9.9</em> <a class="iref" href="#rfc.xref.Part2.1">4.1</a></li> |
---|
[97] | 2196 | </ul> |
---|
| 2197 | </li> |
---|
[660] | 2198 | <li class="indline1"><em>Part4</em> <a class="iref" href="#rfc.xref.Part4.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part4.2">3.1</a>, <a class="iref" href="#Part4"><b>9.1</b></a><ul class="ind"> |
---|
| 2199 | <li class="indline1"><em>Section 6.6</em> <a class="iref" href="#rfc.xref.Part4.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part4.2">3.1</a></li> |
---|
[97] | 2200 | </ul> |
---|
| 2201 | </li> |
---|
[660] | 2202 | <li class="indline1"><em>Part5</em> <a class="iref" href="#rfc.xref.Part5.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part5.2">2.3.2</a>, <a class="iref" href="#rfc.xref.Part5.3">3.1</a>, <a class="iref" href="#Part5"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.Part5.4">C.1</a><ul class="ind"> |
---|
| 2203 | <li class="indline1"><em>Section 5.2</em> <a class="iref" href="#rfc.xref.Part5.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part5.3">3.1</a></li> |
---|
[424] | 2204 | <li class="indline1"><em>Appendix A</em> <a class="iref" href="#rfc.xref.Part5.2">2.3.2</a></li> |
---|
[97] | 2205 | </ul> |
---|
| 2206 | </li> |
---|
[660] | 2207 | <li class="indline1"><em>Part6</em> <a class="iref" href="#rfc.xref.Part6.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part6.2">3.1</a>, <a class="iref" href="#rfc.xref.Part6.3">4.1</a>, <a class="iref" href="#rfc.xref.Part6.4">5.7</a>, <a class="iref" href="#Part6"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.Part6.5">C.1</a><ul class="ind"> |
---|
[538] | 2208 | <li class="indline1"><em>Section 2.6</em> <a class="iref" href="#rfc.xref.Part6.4">5.7</a></li> |
---|
[660] | 2209 | <li class="indline1"><em>Section 3.3</em> <a class="iref" href="#rfc.xref.Part6.1">1.3.2</a>, <a class="iref" href="#rfc.xref.Part6.2">3.1</a></li> |
---|
[538] | 2210 | <li class="indline1"><em>Section 3.5</em> <a class="iref" href="#rfc.xref.Part6.3">4.1</a></li> |
---|
[97] | 2211 | </ul> |
---|
| 2212 | </li> |
---|
[99] | 2213 | <li class="indline1">Public header <a class="iref" href="#rfc.iref.p.1"><b>C.1</b></a></li> |
---|
[97] | 2214 | </ul> |
---|
| 2215 | </li> |
---|
| 2216 | <li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"> |
---|
[660] | 2217 | <li class="indline1">representation <a class="iref" href="#rfc.iref.r.1">1.1</a></li> |
---|
[424] | 2218 | <li class="indline1"><em>RFC1864</em> <a class="iref" href="#rfc.xref.RFC1864.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC1864.2">5.8</a>, <a class="iref" href="#RFC1864"><b>9.1</b></a></li> |
---|
| 2219 | <li class="indline1"><em>RFC1945</em> <a class="iref" href="#RFC1945"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC1945.1">B</a></li> |
---|
[673] | 2220 | <li class="indline1"><em>RFC1950</em> <a class="iref" href="#rfc.xref.RFC1950.1">6.2</a>, <a class="iref" href="#RFC1950"><b>9.1</b></a></li> |
---|
| 2221 | <li class="indline1"><em>RFC1952</em> <a class="iref" href="#rfc.xref.RFC1952.1">6.2</a>, <a class="iref" href="#RFC1952"><b>9.1</b></a></li> |
---|
[424] | 2222 | <li class="indline1"><em>RFC2045</em> <a class="iref" href="#RFC2045"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.RFC2045.1">A</a>, <a class="iref" href="#rfc.xref.RFC2045.2">A.1</a>, <a class="iref" href="#rfc.xref.RFC2045.3">A.2</a></li> |
---|
[572] | 2223 | <li class="indline1"><em>RFC2046</em> <a class="iref" href="#rfc.xref.RFC2046.1">2.3</a>, <a class="iref" href="#rfc.xref.RFC2046.2">2.3.2</a>, <a class="iref" href="#rfc.xref.RFC2046.3">3.2.1</a>, <a class="iref" href="#RFC2046"><b>9.1</b></a>, <a class="iref" href="#rfc.xref.RFC2046.4">A.2</a><ul class="ind"> |
---|
| 2224 | <li class="indline1"><em>Section 4.5.1</em> <a class="iref" href="#rfc.xref.RFC2046.3">3.2.1</a></li> |
---|
[424] | 2225 | <li class="indline1"><em>Section 5.1.1</em> <a class="iref" href="#rfc.xref.RFC2046.2">2.3.2</a></li> |
---|
[97] | 2226 | </ul> |
---|
| 2227 | </li> |
---|
[424] | 2228 | <li class="indline1"><em>RFC2049</em> <a class="iref" href="#RFC2049"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2049.1">A.2</a><ul class="ind"> |
---|
[97] | 2229 | <li class="indline1"><em>Section 4</em> <a class="iref" href="#rfc.xref.RFC2049.1">A.2</a></li> |
---|
| 2230 | </ul> |
---|
| 2231 | </li> |
---|
[673] | 2232 | <li class="indline1"><em>RFC2068</em> <a class="iref" href="#rfc.xref.RFC2068.1">9.1</a>, <a class="iref" href="#rfc.xref.RFC2068.2">9.1</a>, <a class="iref" href="#RFC2068"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2068.3">B</a>, <a class="iref" href="#rfc.xref.RFC2068.4">C.1</a><ul class="ind"> |
---|
| 2233 | <li class="indline1"><em>Section 19.6.2</em> <a class="iref" href="#rfc.xref.RFC2068.4">C.1</a></li> |
---|
[268] | 2234 | </ul> |
---|
| 2235 | </li> |
---|
[424] | 2236 | <li class="indline1"><em>RFC2076</em> <a class="iref" href="#RFC2076"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2076.1">B</a></li> |
---|
[660] | 2237 | <li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">1.2</a>, <a class="iref" href="#RFC2119"><b>9.1</b></a></li> |
---|
[424] | 2238 | <li class="indline1"><em>RFC2183</em> <a class="iref" href="#rfc.xref.RFC2183.1">7.2</a>, <a class="iref" href="#rfc.xref.RFC2183.2">7.2</a>, <a class="iref" href="#RFC2183"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2183.3">B.1</a><ul class="ind"> |
---|
| 2239 | <li class="indline1"><em>Section 5</em> <a class="iref" href="#rfc.xref.RFC2183.2">7.2</a></li> |
---|
[269] | 2240 | </ul> |
---|
| 2241 | </li> |
---|
[424] | 2242 | <li class="indline1"><em>RFC2277</em> <a class="iref" href="#rfc.xref.RFC2277.1">2.1</a>, <a class="iref" href="#RFC2277"><b>9.2</b></a></li> |
---|
| 2243 | <li class="indline1"><em>RFC2388</em> <a class="iref" href="#rfc.xref.RFC2388.1">2.3.2</a>, <a class="iref" href="#RFC2388"><b>9.2</b></a></li> |
---|
| 2244 | <li class="indline1"><em>RFC2557</em> <a class="iref" href="#RFC2557"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2557.1">A.7</a>, <a class="iref" href="#rfc.xref.RFC2557.2">C.1</a></li> |
---|
| 2245 | <li class="indline1"><em>RFC2616</em> <a class="iref" href="#rfc.xref.RFC2616.1">1</a>, <a class="iref" href="#RFC2616"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC2616.2">E.1</a></li> |
---|
| 2246 | <li class="indline1"><em>RFC3629</em> <a class="iref" href="#rfc.xref.RFC3629.1">2.1</a>, <a class="iref" href="#RFC3629"><b>9.2</b></a></li> |
---|
| 2247 | <li class="indline1"><em>RFC3864</em> <a class="iref" href="#rfc.xref.RFC3864.1">6.1</a>, <a class="iref" href="#RFC3864"><b>9.2</b></a></li> |
---|
| 2248 | <li class="indline1"><em>RFC4288</em> <a class="iref" href="#rfc.xref.RFC4288.1">2.3</a>, <a class="iref" href="#RFC4288"><b>9.2</b></a></li> |
---|
[613] | 2249 | <li class="indline1"><em>RFC4646bis</em> <a class="iref" href="#rfc.xref.RFC4646bis.1">2.4</a>, <a class="iref" href="#rfc.xref.RFC4646bis.2">2.4</a>, <a class="iref" href="#rfc.xref.RFC4646bis.3">2.4</a>, <a class="iref" href="#RFC4646bis"><b>9.1</b></a><ul class="ind"> |
---|
| 2250 | <li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC4646bis.2">2.4</a></li> |
---|
| 2251 | </ul> |
---|
| 2252 | </li> |
---|
[424] | 2253 | <li class="indline1"><em>RFC4647</em> <a class="iref" href="#rfc.xref.RFC4647.1">5.4</a>, <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a>, <a class="iref" href="#RFC4647"><b>9.1</b></a><ul class="ind"> |
---|
| 2254 | <li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC4647.1">5.4</a></li> |
---|
| 2255 | <li class="indline1"><em>Section 3.3.1</em> <a class="iref" href="#rfc.xref.RFC4647.2">5.4</a></li> |
---|
[303] | 2256 | </ul> |
---|
| 2257 | </li> |
---|
[670] | 2258 | <li class="indline1"><em>RFC5226</em> <a class="iref" href="#rfc.xref.RFC5226.1">2.2.1</a>, <a class="iref" href="#RFC5226"><b>9.2</b></a><ul class="ind"> |
---|
| 2259 | <li class="indline1"><em>Section 4.1</em> <a class="iref" href="#rfc.xref.RFC5226.1">2.2.1</a></li> |
---|
| 2260 | </ul> |
---|
| 2261 | </li> |
---|
[660] | 2262 | <li class="indline1"><em>RFC5234</em> <a class="iref" href="#rfc.xref.RFC5234.1">1.3</a>, <a class="iref" href="#rfc.xref.RFC5234.2">1.3</a>, <a class="iref" href="#RFC5234"><b>9.1</b></a><ul class="ind"> |
---|
| 2263 | <li class="indline1"><em>Appendix B.1</em> <a class="iref" href="#rfc.xref.RFC5234.2">1.3</a></li> |
---|
[425] | 2264 | </ul> |
---|
| 2265 | </li> |
---|
[424] | 2266 | <li class="indline1"><em>RFC5322</em> <a class="iref" href="#RFC5322"><b>9.2</b></a>, <a class="iref" href="#rfc.xref.RFC5322.1">A</a></li> |
---|
[97] | 2267 | </ul> |
---|
| 2268 | </li> |
---|
| 2269 | <li class="indline0"><a id="rfc.index.U" href="#rfc.index.U"><b>U</b></a><ul class="ind"> |
---|
[99] | 2270 | <li class="indline1">URI header <a class="iref" href="#rfc.iref.u.1"><b>C.1</b></a></li> |
---|
[97] | 2271 | </ul> |
---|
| 2272 | </li> |
---|
[660] | 2273 | <li class="indline0"><a id="rfc.index.V" href="#rfc.index.V"><b>V</b></a><ul class="ind"> |
---|
| 2274 | <li class="indline1">variant <a class="iref" href="#rfc.iref.v.1">1.1</a></li> |
---|
| 2275 | </ul> |
---|
| 2276 | </li> |
---|
[97] | 2277 | </ul> |
---|
| 2278 | </div> |
---|
| 2279 | </body> |
---|
| 2280 | </html> |
---|