8d9c086fa4
* FastFileServer throws exception on any GET file due to wrong Content-Length value Any GET file request, e.g. curl http://localhost:8080/pom.xml results in FastFileServer returning a "HTTP/1.1 500 Server Error". The root-cause for the error is the following line in handle() response.setDateHeader("Content-Length", file.length()); which attempts to set the content-length header using a date-function. Explicitly setting the response Content-Length in servlet-code. Signed-off-by: Hauke Wulff <hauk3wu1ff@gmail.com> Reviewed-by: Simone Bordet <simone.bordet@gmail.com> |
||
---|---|---|
.. | ||
src | ||
pom.xml | ||
prodDb.properties | ||
prodDb.script |