> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Henrik Nordstrom > Sent: Thursday, March 20, 2003 4:58 PM > To: Jason Hihn > Cc: [EMAIL PROTECTED] > Subject: Re: Content size headers changed by squid? > > > Jason Hihn wrote: > > > These files are only a few Kbytes in size, so it can't be a > memory thing. > > From what I can tell, it looks like squid is changing the content-length > > header. > > Squid does not change content-length headers, but it does enforce the > length if you have set one.
What do you mean by 'enforce'? Truncate? > Some other proxies allow the response to be larger than what is > indicated by the content-length header. > > When writing servers on WIN32 you need to be careful about reading files > in ascii or binary mode. When reading files in ascii mode the read > length may be different than the file length due to conversion of line > endings. Thanks for the help! I'm looking into it!
