15/11/08 20:03:56 (14 years ago)

make example indentation consistent

1 edited


  • 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).
Note: See TracChangeset for help on using the changeset viewer.