source: draft-ietf-httpbis/experiment/p3-payload.html @ 1633

Last change on this file since 1633 was 1630, checked in by julian.reschke@…, 8 years ago
  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/html;charset=utf-8
File size: 15.7 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}
111cite {
112  font-style: normal;
113}
114dd {
115  margin-right: 2em;
116}
117dl {
118  margin-left: 2em;
119}
120
121ul.empty {
122  list-style-type: none;
123}
124ul.empty li {
125  margin-top: .5em;
126}
127dl p {
128  margin-left: 0em;
129}
130dt {
131  margin-top: .5em;
132}
133h1 {
134  font-size: 14pt;
135  line-height: 21pt;
136  page-break-after: avoid;
137}
138h1.np {
139  page-break-before: always;
140}
141h1 a {
142  color: #333333;
143}
144h2 {
145  font-size: 12pt;
146  line-height: 15pt;
147  page-break-after: avoid;
148}
149h3, h4, h5, h6 {
150  font-size: 10pt;
151  page-break-after: avoid;
152}
153h2 a, h3 a, h4 a, h5 a, h6 a {
154  color: black;
155}
156img {
157  margin-left: 3em;
158}
159li {
160  margin-left: 2em;
161  margin-right: 2em;
162}
163ol {
164  margin-left: 2em;
165  margin-right: 2em;
166}
167ol.la {
168  list-style-type: lower-alpha;
169}
170ol.ua {
171  list-style-type: upper-alpha;
172}
173ol p {
174  margin-left: 0em;
175}
176p {
177  margin-left: 2em;
178  margin-right: 2em;
179}
180pre {
181  margin-left: 3em;
182  background-color: lightyellow;
183  padding: .25em;
184}
185pre.text2 {
186  border-style: dotted;
187  border-width: 1px;
188  background-color: #f0f0f0;
189  width: 69em;
190}
191pre.inline {
192  background-color: white;
193  padding: 0em;
194}
195pre.text {
196  border-style: dotted;
197  border-width: 1px;
198  background-color: #f8f8f8;
199  width: 69em;
200}
201pre.drawing {
202  border-style: solid;
203  border-width: 1px;
204  background-color: #f8f8f8;
205  padding: 2em;
206}
207table {
208  margin-left: 2em;
209}
210table.header {
211  border-spacing: 1px;
212  width: 95%;
213  font-size: 10pt;
214  color: white;
215}
216td.top {
217  vertical-align: top;
218}
219td.topnowrap {
220  vertical-align: top;
221  white-space: nowrap; 
222}
223table.header td {
224  background-color: gray;
225  width: 50%;
226}
227table.header a {
228  color: white;
229}
230td.reference {
231  vertical-align: top;
232  white-space: nowrap;
233  padding-right: 1em;
234}
235thead {
236  display:table-header-group;
237}
238ul.toc, ul.toc ul {
239  list-style: none;
240  margin-left: 1.5em;
241  margin-right: 0em;
242  padding-left: 0em;
243}
244ul.toc li {
245  line-height: 150%;
246  font-weight: bold;
247  font-size: 10pt;
248  margin-left: 0em;
249  margin-right: 0em;
250}
251ul.toc li li {
252  line-height: normal;
253  font-weight: normal;
254  font-size: 9pt;
255  margin-left: 0em;
256  margin-right: 0em;
257}
258li.excluded {
259  font-size: 0pt;
260}
261ul p {
262  margin-left: 0em;
263}
264
265.comment {
266  background-color: yellow;
267}
268.center {
269  text-align: center;
270}
271.error {
272  color: red;
273  font-style: italic;
274  font-weight: bold;
275}
276.figure {
277  font-weight: bold;
278  text-align: center;
279  font-size: 9pt;
280}
281.filename {
282  color: #333333;
283  font-weight: bold;
284  font-size: 12pt;
285  line-height: 21pt;
286  text-align: center;
287}
288.fn {
289  font-weight: bold;
290}
291.hidden {
292  display: none;
293}
294.left {
295  text-align: left;
296}
297.right {
298  text-align: right;
299}
300.title {
301  color: #990000;
302  font-size: 18pt;
303  line-height: 18pt;
304  font-weight: bold;
305  text-align: center;
306  margin-top: 36pt;
307}
308.vcardline {
309  display: block;
310}
311.warning {
312  font-size: 14pt;
313  background-color: yellow;
314}
315.feedback {
316  position: fixed;
317  bottom: 1%;
318  right: 1%;
319  padding: 3px 5px;
320  color: white;
321  border-radius: 5px;
322  background: #a00000;
323  border: 1px solid silver;
324}
325.fbbutton {
326  margin-left: 1em;
327  color: #303030;
328  font-size: small;
329  font-weight: normal;
330  background: #d0d000;
331  padding: 1px 4px;
332  border: 1px solid silver;
333  border-radius: 5px;
334}
335
336@media print {
337  .noprint {
338    display: none;
339  }
340 
341  a {
342    color: black;
343    text-decoration: none;
344  }
345
346  table.header {
347    width: 90%;
348  }
349
350  td.header {
351    width: 50%;
352    color: black;
353    background-color: white;
354    vertical-align: top;
355    font-size: 12pt;
356  }
357
358  ul.toc a::after {
359    content: leader('.') target-counter(attr(href), page);
360  }
361 
362  ul.ind li li a {
363    content: target-counter(attr(href), page);
364  }
365 
366  .print2col {
367    column-count: 2;
368    -moz-column-count: 2;
369    column-fill: auto;
370  }
371}
372
373@page {
374  @top-left {
375       content: "Internet-Draft"; 
376  } 
377  @top-right {
378       content: "March 2012"; 
379  } 
380  @top-center {
381       content: "HTTP/1.1, Part 3"; 
382  } 
383  @bottom-left {
384       content: "Fielding, et al."; 
385  } 
386  @bottom-center {
387       content: "Expires September 29, 2012"; 
388  } 
389  @bottom-right {
390       content: "[Page " counter(page) "]"; 
391  } 
392}
393
394@page:first { 
395    @top-left {
396      content: normal;
397    }
398    @top-right {
399      content: normal;
400    }
401    @top-center {
402      content: normal;
403    }
404}
405</style><link rel="Contents" href="#rfc.toc">
406      <link rel="Author" href="#rfc.authors">
407      <link rel="Copyright" href="#rfc.copyrightnotice">
408      <link rel="Chapter" title="1 " href="#rfc.section.1">
409      <link rel="Appendix" title="A Collected ABNF" href="#rfc.section.A">
410      <link href="p2-semantics.html" rel="prev">
411      <link href="p4-conditional.html" rel="next">
412      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.570, 2012-02-13 19:17:35, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
413      <link rel="schema.dct" href="http://purl.org/dc/terms/">
414      <meta name="dct.creator" content="Fielding, R.">
415      <meta name="dct.creator" content="Lafon, Y.">
416      <meta name="dct.creator" content="Reschke, J. F.">
417      <meta name="dct.identifier" content="urn:ietf:id:draft-ietf-httpbis-p3-payload-latest">
418      <meta name="dct.issued" scheme="ISO8601" content="2012-03-28">
419      <meta name="dct.replaces" content="urn:ietf:rfc:2616">
420      <meta name="dct.abstract" content="">
421      <meta name="description" content="">
422   </head>
423   <body onload="init();">
424      <table class="header">
425         <tbody>
426            <tr>
427               <td class="left">HTTPbis Working Group</td>
428               <td class="right">R. Fielding, Editor</td>
429            </tr>
430            <tr>
431               <td class="left">Internet-Draft</td>
432               <td class="right">Adobe</td>
433            </tr>
434            <tr>
435               <td class="left">Obsoletes: <a href="http://tools.ietf.org/html/rfc2616">2616</a> (if approved)
436               </td>
437               <td class="right">Y. Lafon, Editor</td>
438            </tr>
439            <tr>
440               <td class="left">Intended status: Standards Track</td>
441               <td class="right">W3C</td>
442            </tr>
443            <tr>
444               <td class="left">Expires: September 29, 2012</td>
445               <td class="right">J. Reschke, Editor</td>
446            </tr>
447            <tr>
448               <td class="left"></td>
449               <td class="right">greenbytes</td>
450            </tr>
451            <tr>
452               <td class="left"></td>
453               <td class="right">March 28, 2012</td>
454            </tr>
455         </tbody>
456      </table>
457      <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>
458      <h1 id="rfc.abstract"><a href="#rfc.abstract">Abstract</a></h1> 
459      <h1><a id="rfc.status" href="#rfc.status">Status of This Memo</a></h1>
460      <p>This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.</p>
461      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute
462         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>.
463      </p>
464      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other
465         documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work
466         in progress”.
467      </p>
468      <p>This Internet-Draft will expire on September 29, 2012.</p>
469      <h1><a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a></h1>
470      <p>Copyright © 2012 IETF Trust and the persons identified as the document authors. All rights reserved.</p>
471      <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
472         and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License
473         text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified
474         BSD License.
475      </p>
476      <p>This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November
477         10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to
478         allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s)
479         controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative
480         works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate
481         it into languages other than English.
482      </p>
483      <hr class="noprint">
484      <h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1>
485      <ul class="toc">
486         <li>1.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1"></a></li>
487         <li><a href="#rfc.authors">Authors' Addresses</a></li>
488         <li>A.&nbsp;&nbsp;&nbsp;<a href="#collected.abnf">Collected ABNF</a></li>
489      </ul>
490      <h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;
491      </h1>
492      <div id="rfc.figure.u.1"></div><pre class="inline">this = &lt;part does not have an ABNF anymore&gt;
493</pre><div class="avoidbreak">
494         <h1 id="rfc.authors"><a href="#rfc.authors">Authors' Addresses</a></h1>
495         <address class="vcard"><span class="vcardline"><span class="fn">Roy T. Fielding</span>
496               (editor)
497               <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>
498         <address class="vcard"><span class="vcardline"><span class="fn">Yves Lafon</span>
499               (editor)
500               <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>
501         <address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span>
502               (editor)
503               <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 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 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>
504      </div>
505      <h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a id="collected.abnf" href="#collected.abnf">Collected ABNF</a></h1>
506      <div id="rfc.figure.u.2"></div> <pre class="inline">this = &lt;part does not have an ABNF anymore&gt;
507</pre> <div id="rfc.figure.u.3"></div>
508      <p>ABNF diagnostics:</p><pre class="inline">; this defined but not used
509</pre></body>
510</html>
Note: See TracBrowser for help on using the repository browser.