source: draft-ietf-httpbis/latest/p3-payload.html @ 1799

Last change on this file since 1799 was 1799, checked in by fielding@…, 11 years ago

p4: Add a section for precedence of conditional request fields and remove

paragraphs that say it isn't defined. Addresses #241
Clarify that If-Modified-Since only applies to GET and HEAD. Addresses #371

also generated HTML

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/html;charset=utf-8
File size: 15.0 KB
Line 
1<!DOCTYPE html
2  PUBLIC "-//W3C//DTD HTML 4.01//EN">
3<html lang="en">
4   <head profile="http://www.w3.org/2006/03/hcard http://dublincore.org/documents/2008/08/04/dc-html/">
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><script>
7var buttonsAdded = false;
8
9function init() {
10  var fb = document.createElement("div");
11  fb.className = "feedback noprint";
12  fb.setAttribute("onclick", "feedback();");
13  fb.appendChild(document.createTextNode("feedback"));
14
15  var bodyl = document.getElementsByTagName("body");
16  bodyl.item(0).appendChild(fb);
17}
18
19function feedback() {
20  toggleButtonsToElementsByName("h1");
21  toggleButtonsToElementsByName("h2");
22  toggleButtonsToElementsByName("h3");
23  toggleButtonsToElementsByName("h4");
24 
25  buttonsAdded = !buttonsAdded;
26}
27
28function toggleButtonsToElementsByName(name) {
29  var list = document.getElementsByTagName(name);
30  for (var i = 0; i < list.length; i++) {
31    toggleButton(list.item(i));
32  }
33}
34
35function toggleButton(node) {
36  if (! buttonsAdded) {
37 
38    // docname
39    var template = "mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:";
40
41    var id = node.getAttribute("id");
42    // better id available?
43    var titlelinks = node.getElementsByTagName("a");
44    for (var i = 0; i < titlelinks.length; i++) {
45      var tl = titlelinks.item(i);
46      if (tl.getAttribute("id")) {
47        id = tl.getAttribute("id");
48      }
49    }
50
51    // ref
52    var ref = window.location.toString();
53    var hash = ref.indexOf("#");
54    if (hash != -1) {
55      ref = ref.substring(0, hash);
56    }
57    if (id != "") {
58      ref += "#" + id;
59    }
60   
61    // docname
62    var docname = "draft-ietf-httpbis-p3-payload-latest";
63
64    // section
65    var section = node.textContent;
66    section = section.replace("\u00a0", " ");
67   
68    // build URI from template
69    var uri = template.replace("{docname}", encodeURIComponent(docname));
70    uri = uri.replace("{section}", encodeURIComponent(section));
71    uri = uri.replace("{ref}", encodeURIComponent(ref));
72 
73    var button = document.createElement("a");
74    button.className = "fbbutton noprint";
75    button.setAttribute("href", uri);
76    button.appendChild(document.createTextNode("send feedback"));
77    node.appendChild(button);
78  }
79  else {
80    var buttons = node.getElementsByTagName("a");
81    for (var i = 0; i < buttons.length; i++) {
82      var b = buttons.item(i);
83      if (b.className == "fbbutton noprint") {
84        node.removeChild(b);
85      }
86    }
87  }
88}</script><style type="text/css" title="Xml2Rfc (sans serif)">
89a {
90  text-decoration: none;
91}
92a.smpl {
93  color: black;
94}
95a:hover {
96  text-decoration: underline;
97}
98a:active {
99  text-decoration: underline;
100}
101address {
102  margin-top: 1em;
103  margin-left: 2em;
104  font-style: normal;
105}
106body {
107  color: black;
108  font-family: verdana, helvetica, arial, sans-serif;
109  font-size: 10pt;
110  margin-right: 2em;
111}
112cite {
113  font-style: normal;
114}
115dl {
116  margin-left: 2em;
117}
118ul.empty {
119  list-style-type: none;
120}
121ul.empty li {
122  margin-top: .5em;
123}
124dl p {
125  margin-left: 0em;
126}
127dt {
128  margin-top: .5em;
129}
130h1 {
131  font-size: 14pt;
132  line-height: 21pt;
133  page-break-after: avoid;
134}
135h1.np {
136  page-break-before: always;
137}
138h1 a {
139  color: #333333;
140}
141h2 {
142  font-size: 12pt;
143  line-height: 15pt;
144  page-break-after: avoid;
145}
146h3, h4, h5, h6 {
147  font-size: 10pt;
148  page-break-after: avoid;
149}
150h2 a, h3 a, h4 a, h5 a, h6 a {
151  color: black;
152}
153img {
154  margin-left: 3em;
155}
156li {
157  margin-left: 2em;
158}
159ol {
160  margin-left: 2em;
161}
162ol.la {
163  list-style-type: lower-alpha;
164}
165ol.ua {
166  list-style-type: upper-alpha;
167}
168ol p {
169  margin-left: 0em;
170}
171p {
172  margin-left: 2em;
173}
174pre {
175  margin-left: 3em;
176  background-color: lightyellow;
177  padding: .25em;
178  page-break-inside: avoid;
179}
180pre.text2 {
181  border-style: dotted;
182  border-width: 1px;
183  background-color: #f0f0f0;
184  width: 69em;
185}
186pre.inline {
187  background-color: white;
188  padding: 0em;
189}
190pre.text {
191  border-style: dotted;
192  border-width: 1px;
193  background-color: #f8f8f8;
194  width: 69em;
195}
196pre.drawing {
197  border-style: solid;
198  border-width: 1px;
199  background-color: #f8f8f8;
200  padding: 2em;
201}
202table {
203  margin-left: 2em;
204}
205table.header {
206  border-spacing: 1px;
207  width: 95%;
208  font-size: 10pt;
209  color: white;
210}
211td.top {
212  vertical-align: top;
213}
214td.topnowrap {
215  vertical-align: top;
216  white-space: nowrap;
217}
218table.header td {
219  background-color: gray;
220  width: 50%;
221}
222td.reference {
223  vertical-align: top;
224  white-space: nowrap;
225  padding-right: 1em;
226}
227thead {
228  display:table-header-group;
229}
230ul.toc, ul.toc ul {
231  list-style: none;
232  margin-left: 1.5em;
233  padding-left: 0em;
234}
235ul.toc li {
236  line-height: 150%;
237  font-weight: bold;
238  font-size: 10pt;
239  margin-left: 0em;
240}
241ul.toc li li {
242  line-height: normal;
243  font-weight: normal;
244  font-size: 9pt;
245  margin-left: 0em;
246}
247li.excluded {
248  font-size: 0pt;
249}
250ul p {
251  margin-left: 0em;
252}
253
254.comment {
255  background-color: yellow;
256}
257.center {
258  text-align: center;
259}
260.error {
261  color: red;
262  font-style: italic;
263  font-weight: bold;
264}
265.figure {
266  font-weight: bold;
267  text-align: center;
268  font-size: 9pt;
269}
270.filename {
271  color: #333333;
272  font-weight: bold;
273  font-size: 12pt;
274  line-height: 21pt;
275  text-align: center;
276}
277.fn {
278  font-weight: bold;
279}
280.hidden {
281  display: none;
282}
283.left {
284  text-align: left;
285}
286.right {
287  text-align: right;
288}
289.title {
290  color: #990000;
291  font-size: 18pt;
292  line-height: 18pt;
293  font-weight: bold;
294  text-align: center;
295  margin-top: 36pt;
296}
297.vcardline {
298  display: block;
299}
300.warning {
301  font-size: 14pt;
302  background-color: yellow;
303}
304.feedback {
305  position: fixed;
306  bottom: 1%;
307  right: 1%;
308  padding: 3px 5px;
309  color: white;
310  border-radius: 5px;
311  background: #a00000;
312  border: 1px solid silver;
313}
314.fbbutton {
315  margin-left: 1em;
316  color: #303030;
317  font-size: small;
318  font-weight: normal;
319  background: #d0d000;
320  padding: 1px 4px;
321  border: 1px solid silver;
322  border-radius: 5px;
323}
324
325@media print {
326  .noprint {
327    display: none;
328  }
329 
330  a {
331    color: black;
332    text-decoration: none;
333  }
334
335  table.header {
336    width: 90%;
337  }
338
339  td.header {
340    width: 50%;
341    color: black;
342    background-color: white;
343    vertical-align: top;
344    font-size: 12pt;
345  }
346
347  ul.toc a::after {
348    content: leader('.') target-counter(attr(href), page);
349  }
350 
351  ul.ind li li a {
352    content: target-counter(attr(href), page);
353  }
354 
355  .print2col {
356    column-count: 2;
357    -moz-column-count: 2;
358    column-fill: auto;
359  }
360}
361
362@page {
363  @top-left {
364       content: "Internet-Draft";
365  }
366  @top-right {
367       content: "July 2012";
368  }
369  @top-center {
370       content: "HTTP/1.1, Part 3";
371  }
372  @bottom-left {
373       content: "Fielding, et al.";
374  }
375  @bottom-center {
376       content: "Expires January 16, 2013";
377  }
378  @bottom-right {
379       content: "[Page " counter(page) "]";
380  }
381}
382
383@page:first {
384    @top-left {
385      content: normal;
386    }
387    @top-right {
388      content: normal;
389    }
390    @top-center {
391      content: normal;
392    }
393}
394</style><link rel="Contents" href="#rfc.toc">
395      <link rel="Author" href="#rfc.authors">
396      <link rel="Copyright" href="#rfc.copyrightnotice">
397      <link rel="Chapter" title="1 Introduction" href="#rfc.section.1">
398      <link href="p2-semantics.html" rel="prev">
399      <link href="p4-conditional.html" rel="next">
400      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.584, 2012-06-24 15:59:38, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
401      <link rel="schema.dct" href="http://purl.org/dc/terms/">
402      <meta name="dct.creator" content="Fielding, R.">
403      <meta name="dct.creator" content="Lafon, Y.">
404      <meta name="dct.creator" content="Reschke, J. F.">
405      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p3-payload-latest">
406      <meta name="dct.issued" scheme="ISO8601" content="2012-07-15">
407      <meta name="dct.abstract" content="This part is now obsolete. Please see HTTPbis, Part 2.">
408      <meta name="description" content="This part is now obsolete. Please see HTTPbis, Part 2.">
409   </head>
410   <body onload="init();">
411      <table class="header">
412         <tbody>
413            <tr>
414               <td class="left">HTTPbis Working Group</td>
415               <td class="right">R. Fielding, Editor</td>
416            </tr>
417            <tr>
418               <td class="left">Internet-Draft</td>
419               <td class="right">Adobe</td>
420            </tr>
421            <tr>
422               <td class="left">Intended status: Standards Track</td>
423               <td class="right">Y. Lafon, Editor</td>
424            </tr>
425            <tr>
426               <td class="left">Expires: January 16, 2013</td>
427               <td class="right">W3C</td>
428            </tr>
429            <tr>
430               <td class="left"></td>
431               <td class="right">J. Reschke, Editor</td>
432            </tr>
433            <tr>
434               <td class="left"></td>
435               <td class="right">greenbytes</td>
436            </tr>
437            <tr>
438               <td class="left"></td>
439               <td class="right">July 15, 2012</td>
440            </tr>
441         </tbody>
442      </table>
443      <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>
444      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1>
445      <p>This part is now obsolete. Please see HTTPbis, Part 2.</p>
446      <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1>
447      <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
448      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
449         working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>.
450      </p>
451      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
452         documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
453         in progress”.
454      </p>
455      <p>This Internet-Draft will expire on January 16, 2013.</p>
456      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
457      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
458      <p>This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights
459         and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
460         text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
461         BSD License.
462      </p>
463      <p>This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November
464         10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to
465         allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s)
466         controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative
467         works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate
468         it into languages other than English.
469      </p>
470      <hr class="noprint">
471      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
472      <ul class="toc">
473         <li>1.&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li>
474         <li><a href="#rfc.authors">Authors' Addresses</a></li>
475      </ul>
476      <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="introduction" href="#introduction">Introduction</a></h1>
477      <p id="rfc.section.1.p.1">This part is now obsolete. Please see HTTPbis, Part 2. See also &lt;<a href="http://trac.tools.ietf.org/wg/httpbis/trac/ticket/351">http://trac.tools.ietf.org/wg/httpbis/trac/ticket/351</a>&gt;.
478      </p>
479      <div class="avoidbreak">
480         <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
481         <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span>
482               (editor)
483               <span class="n hidden"><span class="family-name">Fielding</span><span class="given-name">Roy T.</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>&nbsp;<span class="postal-code">95110</span></span><span class="country-name vcardline">USA</span></span><span class="vcardline">Email: <a href="mailto:fielding@gbiv.com"><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>
484         <address class="vcard"><span class="vcardline"><span class="fn">Yves Lafon</span>
485               (editor)
486               <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>&nbsp;<span class="postal-code">06902</span></span><span class="country-name vcardline">France</span></span><span class="vcardline">Email: <a href="mailto:ylafon@w3.org"><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>
487         <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span>
488               (editor)
489               <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>&nbsp;<span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline">Email: <a href="mailto:julian.reschke@greenbytes.de"><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>
490      </div>
491   </body>
492</html>
Note: See TracBrowser for help on using the repository browser.