Subject: Transfer-Encoding:chunked

From: [email-masked]
Date: Thu, 28 Feb 2008 19:06:50 +0100 (CET)

This part of the spec is too laconic. Several questions arise and MUST be answered:

1. WHY chunked encoding?
2. HOW chunked encoding?

3. WHY chunk-extensions?
4. WHICH chunk-extensions?

5. WHY trailer?
6. WHICH trailer lines?

Cnf. e.g. httpd-2.2.8/modules/http/chunk_filter.c :

if (eos && !f->ctx) {
    /* XXX: (2) trailers ... does not yet exist */
    e = apr_bucket_immortal_create(ASCII_ZERO ASCII_CRLF
                                   /* <trailers> */
                                   ASCII_CRLF, 5, c->bucket_alloc);
    APR_BUCKET_INSERT_BEFORE(eos, e);
}

<trailers> obviously are not sent.

Another question:

chunk-size:     MUST fit a UINT
               xor MUST fit a ULONG 
                or MAY exceed a ULONGLONG and the variable MUST be a FLOAT

winfried

Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und prickelnde Erotik in der Arcor-Videothek. Infos unter www.arcor.de/tv