Ignore:
Timestamp:
Jul 27, 2009, 10:40:30 AM (11 years ago)
Author:
julian.reschke@…
Message:

Pimp up the example markup

File:
1 edited

Legend:

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

    r630 r633  
    557557   finally the payload body (if any).
    558558</t>
    559 <figure><preamble>
     559<t>
    560560   The following example illustrates a typical message exchange for a
    561561   GET request on the URI "http://www.example.com/hello.txt":
    562 </preamble><artwork type="drawing">
     562</t>
     563<figure><preamble>
    563564client request:
    564 
    565   GET /hello.txt HTTP/1.1
    566   User-Agent: curl/7.16.3 libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
    567   Host: www.example.com
    568   Accept: */*
    569 
     565</preamble><artwork  type="message/http; msgtype=&#34;request&#34;" x:indent-with="  ">
     566GET /hello.txt HTTP/1.1
     567User-Agent: curl/7.16.3 libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
     568Host: www.example.com
     569Accept: */*
     570</artwork></figure>
     571<figure><preamble>
    570572server response:
    571 
    572   HTTP/1.1 200 OK
    573   Date: Mon, 27 Jul 2009 12:28:53 GMT
    574   Server: Apache
    575   Last-Modified: Wed, 22 Jul 2009 19:15:56 GMT
    576   ETag: "34aa387-d-1568eb00"
    577   Accept-Ranges: bytes
    578   Content-Length: 13
    579   Vary: Accept-Encoding
    580   Content-Type: text/plain
    581  
    582   Hello World!
    583 </artwork></figure>
     573</preamble><artwork type="message/http; msgtype=&#34;response&#34;" x:indent-with="  ">
     574HTTP/1.1 200 OK
     575Date: Mon, 27 Jul 2009 12:28:53 GMT
     576Server: Apache
     577Last-Modified: Wed, 22 Jul 2009 19:15:56 GMT
     578ETag: "34aa387-d-1568eb00"
     579Accept-Ranges: bytes
     580Content-Length: <x:length-of target="exbody"/>
     581Vary: Accept-Encoding
     582Content-Type: text/plain
     583
     584<x:span anchor="exbody">Hello World!
     585</x:span></artwork></figure>
    584586</section>
    585587
Note: See TracChangeset for help on using the changeset viewer.