Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x

This commit is contained in:
Greg Wilkins 2017-10-29 08:25:56 +11:00
commit d90eeba233
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ public abstract class AbstractProxyServlet extends HttpServlet
protected boolean expects100Continue(HttpServletRequest request) protected boolean expects100Continue(HttpServletRequest request)
{ {
return HttpHeaderValue.CONTINUE.asString().equals(request.getHeader(HttpHeader.EXPECT.asString())); return HttpHeaderValue.CONTINUE.is(request.getHeader(HttpHeader.EXPECT.asString()));
} }
protected void copyRequestHeaders(HttpServletRequest clientRequest, Request proxyRequest) protected void copyRequestHeaders(HttpServletRequest clientRequest, Request proxyRequest)