ASStreamOut: fix bug in chunk counting code.
HTTPResponse: add Content-Length header if missing.
UnknownFileTypeServlet: always add Content-Length
and Last-Modified headers, not just on HEAD requests.
Patch against today's CVS.
Logged In: YES
The portion of the patch for ASStreamOut has been applied.
The portion that deals with always setting Content-Length
NOT been applied. The reason is that I think that you can
not specify a
Content-Length header unless you know for sure what the
is, and we don't know that if we're buffering output. I
back around to think this through and must have veered off
On part three, UnknownFileTypeServlet, it looks like Chuck
applied something from Ken on the same day this patch was
sure what the connection is there. The patch in SF for
this file is
very small and looks to be just a cleanup.
So at this point, if there is still additional work to be
done, Ken should probably submit a new patch based on the
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.