7 Jul 2004 04:15
Flute FDT inconsistent with HTTP
Justin Chapweske <justin <at> chapweske.com>
2004-07-07 02:15:23 GMT
2004-07-07 02:15:23 GMT
Hello All,
I've just noticed that the definitions for the Content-Length,
Content-Encoding, and Transfer-Length fields with the FDT in FLUTE are
inconsistent with HTTP.
>From page 13 in FLUTE:
Where the length is described, the attribute "Content-Length" MUST
be used for the purpose as defined in [6]. The transfer length is
defined to be the length of the object transported in bytes. It is
often important to convey the transfer length to receivers,
because the source block structure needs to be known for the FEC
decoder to be applied to recover source blocks of the file, and
the transfer length is often needed to properly determine the
source block structure of the file. There generally will be a
difference between the length of the original file and the
transfer length if content encoding is applied to the file before
transport, and thus the "Content-Encoding" attribute is used. If
the file is not content encoded before transport (and thus the
"Content-Encoding" attribute is not used) then the transfer length
is the length of the original file, and in this case the
"Content-Length" is also the transfer length. However, if the file
is content encoded before transport (and thus the
"Content-Encoding" attribute is used), e.g. if compression is
applied before transport to reduce the number of bytes that need
to be transferred, then the transfer length is generally different
than the length of the original file, and in this case the
attribute "Transfer-Length" MAY be used to carry the transfer
length.
(Continue reading)
RSS Feed