IPP Mail Archive: Re: IPP>PRO - http comments

Re: IPP>PRO - http comments

Keith Moore (moore@cs.utk.edu)
Thu, 01 May 1997 02:09:14 -0400

> If there is a Content-Length header with a value of n, can the program
> skip over n bytes without looking for an erroneous boundary-string
> within the n bytes?

it's bad engineering to have more than one dimension for the same
quantity.

within a multipart, content-length should *always* be ignored --
or at most used as a "hint" (say, to allocate memory in one
big chunk instead of lots of little chunks).

but the reader should work correctly even if content-length is
completely bogus.

Keith