Merged branch 'jetty-9.4.x' into 'master'.
This commit is contained in:
commit
7241b1e95c
|
@ -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
|
||||
|
|
|
@ -262,6 +262,7 @@ public class HttpClientRedirectTest extends AbstractHttpClientServerTest
|
|||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testRedirectWithWrongScheme() throws Exception
|
||||
{
|
||||
start(new AbstractHandler()
|
||||
|
|
Loading…
Reference in New Issue