>   mod_php will happily generate messages that include both a content-length
>   and a "chunked" transfer encoding *if* a script supplies a
>   "content-length" header.

    And if it sets "Transfer-Encoding: chunked" as well.  PHP
    surely does not supply that.

    The script author is in (almost) full control of what gets
    sent to the wire.  PHP does not validate HTTP headers or
    performs any kind of checks to ensure that e.g. the
    requirements of RFC 2616 are met.  It is the author's
    responsibility to write correct code which interoperates well
    with the defined environment.

    - Sascha                                     Experience IRCG
      http://schumann.cx/                http://schumann.cx/ircg

PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to