Larry Masinter writes: >You don't need content-length to search for the boundary. You can go >ahead and scan the binary data for <CR><LF>--boundary--<CR><LF>. I was responding to Mitra's point that if you don't use some sort of encoding on the data, a file could conceivably contain <CR><LF>--boundary--<CR><LF> (or whatever else you wanted to use). I can envision a situation where you couldn't download httpd using http because the file contained the boundary string. Using content-length to determine the end of a document would be 100% reliable, since the actual content couldn't possibly conflict with the protocol information. -- Jim Seidman Senior Software Engineer Spyglass, Inc.Received on Friday, 16 December 1994 12:07:16 UTC
This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:42:54 UTC