IPP>PRO - http comments

IPP>PRO - http comments

Keith Moore moore at cs.utk.edu
Thu May 1 02:09:14 EDT 1997


> 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



More information about the Ipp mailing list