W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2009

Re: [closed] Re: Wrong CRLF in http-request-006 on tests.xproc.org

From: Florent Georges <fgeorges@fgeorges.org>
Date: Tue, 14 Apr 2009 16:43:56 +0200
Message-ID: <ebaca5bf0904140743v60776865v10a3874d056be7ce@mail.gmail.com>
To: Norman Walsh <ndw@nwalsh.com>
Cc: XProc Dev <xproc-dev@w3.org>
2009/4/14 Florent Georges wrote:

>  The entity content for textual media types in this resources does
> use LF as end line delimiter (for instance the first part, of type
> text/html.)  I am not sure those should be translated to CR/LF as
> well...

  http://tools.ietf.org/html/rfc2616#section-19.4.2 gives some
thoughts on the subject:

    19.4.2 Conversion to Canonical Form


    RFC 2045 [7] requires that an Internet mail entity be
    converted to canonical form prior to being transferred, as
    described in section 4 of RFC 2049 [48]. Section 3.7.1 of
    this document describes the forms allowed for subtypes of the
    "text" media type when transmitted over HTTP. RFC 2046
    requires that content with a type of "text" represent line
    breaks as CRLF and forbids the use of CR or LF outside of
    line break sequences. HTTP allows CRLF, bare CR, and bare LF
    to indicate a line break within text content when a message
    is transmitted over HTTP.

  So I would say the test is correct now :-)

  Hope that helps,

-- 
Florent Georges
http://www.fgeorges.org/
Received on Tuesday, 14 April 2009 14:44:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 14 April 2009 14:44:37 GMT