Changeset 402


Ignore:
Timestamp:
Nov 15, 2008, 12:03:56 PM (11 years ago)
Author:
julian.reschke@…
Message:

make example indentation consistent

Location:
draft-ietf-httpbis/latest
Files:
2 edited

Legend:

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

    r401 r402  
    13141314         apply to a resource. One example would be
    13151315      </p>
    1316       <div id="rfc.figure.u.37"></div><pre class="text">    OPTIONS * HTTP/1.1
     1316      <div id="rfc.figure.u.37"></div><pre class="text">  OPTIONS * HTTP/1.1
    13171317</pre><p id="rfc.section.5.1.2.p.5">The absolute-URI form is <em class="bcp14">REQUIRED</em> when the request is being made to a proxy. The proxy is requested to forward the request or service it from a valid cache,
    13181318         and return the response. Note that the proxy <em class="bcp14">MAY</em> forward the request on to another proxy or directly to the server specified by the absolute-URI. In order to avoid request
     
    13201320         Request-Line would be:
    13211321      </p>
    1322       <div id="rfc.figure.u.38"></div><pre class="text">    GET http://www.example.org/pub/WWW/TheProject.html HTTP/1.1
     1322      <div id="rfc.figure.u.38"></div><pre class="text">  GET http://www.example.org/pub/WWW/TheProject.html HTTP/1.1
    13231323</pre><p id="rfc.section.5.1.2.p.7">To allow for transition to absolute-URIs in all requests in future versions of HTTP, all HTTP/1.1 servers <em class="bcp14">MUST</em> accept the absolute-URI form in requests, even though HTTP/1.1 clients will only generate them in requests to proxies.
    13241324      </p>
     
    13291329         server would create a TCP connection to port 80 of the host "www.example.org" and send the lines:
    13301330      </p>
    1331       <div id="rfc.figure.u.39"></div><pre class="text">    GET /pub/WWW/TheProject.html HTTP/1.1
    1332     Host: www.example.org
     1331      <div id="rfc.figure.u.39"></div><pre class="text">  GET /pub/WWW/TheProject.html HTTP/1.1
     1332  Host: www.example.org
    13331333</pre><p id="rfc.section.5.1.2.p.11">followed by the remainder of the Request. Note that the absolute path cannot be empty; if none is present in the original
    13341334         URI, it <em class="bcp14">MUST</em> be given as "/" (the server root).
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r401 r402  
    15181518</t>
    15191519<figure><artwork type="example">
    1520     OPTIONS * HTTP/1.1
     1520  OPTIONS * HTTP/1.1
    15211521</artwork></figure>
    15221522<t>
     
    15311531</t>
    15321532<figure><artwork type="example">
    1533     GET http://www.example.org/pub/WWW/TheProject.html HTTP/1.1
     1533  GET http://www.example.org/pub/WWW/TheProject.html HTTP/1.1
    15341534</artwork></figure>
    15351535<t>
     
    15531553</t>
    15541554<figure><artwork type="example">
    1555     GET /pub/WWW/TheProject.html HTTP/1.1
    1556     Host: www.example.org
     1555  GET /pub/WWW/TheProject.html HTTP/1.1
     1556  Host: www.example.org
    15571557</artwork></figure>
    15581558<t>
Note: See TracChangeset for help on using the changeset viewer.