Ignore:
Timestamp:
Apr 2, 2010, 10:14:53 AM (9 years ago)
Author:
julian.reschke@…
Message:

improve example markup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r802 r803  
    612612<figure><preamble>
    613613client request:
    614 </preamble><artwork  type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     614</preamble><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
    615615GET /hello.txt HTTP/1.1
    616616User-Agent: curl/7.16.3 libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
     
    14461446   example would be
    14471447</t>
    1448 <figure><artwork type="example">
    1449   OPTIONS * HTTP/1.1
     1448<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     1449OPTIONS * HTTP/1.1
    14501450</artwork></figure>
    14511451<t>
     
    14591459   Request-Line would be:
    14601460</t>
    1461 <figure><artwork type="example">
    1462   GET http://www.example.org/pub/WWW/TheProject.html HTTP/1.1
     1461<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     1462GET http://www.example.org/pub/WWW/TheProject.html HTTP/1.1
    14631463</artwork></figure>
    14641464<t>
     
    14811481   the lines:
    14821482</t>
    1483 <figure><artwork type="example">
    1484   GET /pub/WWW/TheProject.html HTTP/1.1
    1485   Host: www.example.org
     1483<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     1484GET /pub/WWW/TheProject.html HTTP/1.1
     1485Host: www.example.org
    14861486</artwork></figure>
    14871487<t>
     
    14981498<figure><preamble>   
    14991499   For example, the request
    1500 </preamble><artwork type="example">
    1501   OPTIONS http://www.example.org:8001 HTTP/1.1
     1500</preamble><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     1501OPTIONS http://www.example.org:8001 HTTP/1.1
    15021502</artwork></figure>
    15031503<figure><preamble>   
    15041504  would be forwarded by the proxy as
    1505 </preamble><artwork type="example">
    1506   OPTIONS * HTTP/1.1
    1507   Host: www.example.org:8001
     1505</preamble><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     1506OPTIONS * HTTP/1.1
     1507Host: www.example.org:8001
    15081508</artwork>
    15091509<postamble>
     
    28942894   &lt;http://www.example.org/pub/WWW/&gt; would properly include:
    28952895</t>
    2896 <figure><artwork type="example">
    2897   GET /pub/WWW/ HTTP/1.1
    2898   Host: www.example.org
     2896<figure><artwork type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     2897GET /pub/WWW/ HTTP/1.1
     2898Host: www.example.org
    28992899</artwork></figure>
    29002900<t>
     
    32623262</artwork></figure>
    32633263<t>
    3264         could be collapsed to
     3264  could be collapsed to
    32653265</t>
    32663266<figure><artwork type="example">
Note: See TracChangeset for help on using the changeset viewer.