Re: IPP>PRO - http comments

Robert Herriot (Robert.Herriot@eng.sun.com)
Thu, 1 May 1997 12:45:57 -0700


	I agree with the first part but not the second.
	
	If you see a content length the obvious thing to do is to avoid the
	computationaly intensive check of each byte (yes O(1) is less than
	anything Boyer-Moore can do and that is not subjective). You
	hop straight to the boundary.
	
	If you see a boundary marker ther, then its OK other wise you signal
	an error.
	
	Note that if there are additional boundaries within the content length
	delimited block you don't see them. 
	
	So content length should take priority but you may in some cases be 
	able to detect an error.
	
	>Senders that are at all uncertain about the length of the data should
	>omit content-length and rely on the boundary alone.
	
	Yep