Ignore:
Timestamp:
Aug 8, 2011, 1:04:39 PM (8 years ago)
Author:
fielding@…
Message:

Change multiple whitespace trimming recommendation to reflect
the common practice of using SP to erase line folding without
copying the buffer.

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

Legend:

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

    r1391 r1392  
    821821      </div>
    822822      <div id="rule.OWS">
    823          <p id="rfc.section.1.2.2.p.2">The OWS rule is used where zero or more linear whitespace octets might appear. OWS <em class="bcp14">SHOULD</em> either not be produced or be produced as a single SP. Multiple OWS octets that occur within field-content <em class="bcp14">SHOULD</em> be replaced with a single SP before interpreting the field value or forwarding the message downstream.
     823         <p id="rfc.section.1.2.2.p.2">The OWS rule is used where zero or more linear whitespace octets might appear. OWS <em class="bcp14">SHOULD</em> either not be produced or be produced as a single SP. Multiple OWS octets that occur within field-content <em class="bcp14">SHOULD</em> either be replaced with a single SP or transformed to all SP octets (each WSP octet other than SP replaced with SP) before
     824            interpreting the field value or forwarding the message downstream.
    824825         </p>
    825826      </div>
    826827      <div id="rule.RWS">
    827          <p id="rfc.section.1.2.2.p.3">RWS is used when at least one linear whitespace octet is required to separate field tokens. RWS <em class="bcp14">SHOULD</em> be produced as a single SP. Multiple RWS octets that occur within field-content <em class="bcp14">SHOULD</em> be replaced with a single SP before interpreting the field value or forwarding the message downstream.
     828         <p id="rfc.section.1.2.2.p.3">RWS is used when at least one linear whitespace octet is required to separate field tokens. RWS <em class="bcp14">SHOULD</em> be produced as a single SP. Multiple RWS octets octets that occur within field-content <em class="bcp14">SHOULD</em> either be replaced with a single SP or transformed to all SP octets (each WSP octet other than SP replaced with SP) before
     829            interpreting the field value or forwarding the message downstream.
    828830         </p>
    829831      </div>
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r1390 r1392  
    438438   The OWS rule is used where zero or more linear whitespace octets might
    439439   appear. OWS &SHOULD; either not be produced or be produced as a single
    440    SP. Multiple OWS octets that occur within field-content &SHOULD;
    441    be replaced with a single SP before interpreting the field value or
    442    forwarding the message downstream.
     440   SP. Multiple OWS octets that occur within field-content &SHOULD; either
     441   be replaced with a single SP or transformed to all SP octets (each WSP
     442   octet other than SP replaced with SP) before interpreting the field value
     443   or forwarding the message downstream.
    443444</t>
    444445<t anchor="rule.RWS">
    445446   RWS is used when at least one linear whitespace octet is required to
    446447   separate field tokens. RWS &SHOULD; be produced as a single SP.
    447    Multiple RWS octets that occur within field-content &SHOULD; be
    448    replaced with a single SP before interpreting the field value or
    449    forwarding the message downstream.
     448   Multiple RWS octets octets that occur within field-content &SHOULD; either
     449   be replaced with a single SP or transformed to all SP octets (each WSP
     450   octet other than SP replaced with SP) before interpreting the field value
     451   or forwarding the message downstream.
    450452</t>
    451453<t anchor="rule.BWS">
Note: See TracChangeset for help on using the changeset viewer.