Merged branch 'jetty-9.4.x' into 'master'.

This commit is contained in:
Simone Bordet 2016-06-01 10:49:41 +02:00
commit 7241b1e95c
2 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,7 @@ public class FastFileServer
// Jetty DefaultServlet will cache formatted date strings, but we
// will reformat for each request here
response.setDateHeader("Last-Modified", file.lastModified());
response.setDateHeader("Content-Length", file.length());
response.setContentLengthLong(file.length());
response.setContentType(mimeTypes.getMimeByExtension(file.getName()));
// send "small" files blocking directly from an input stream

View File

@ -262,6 +262,7 @@ public class HttpClientRedirectTest extends AbstractHttpClientServerTest
}
@Test
@Ignore
public void testRedirectWithWrongScheme() throws Exception
{
start(new AbstractHandler()