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

This commit is contained in:
Simone Bordet 2014-04-24 11:25:09 +02:00
commit 28d966a6f5
1 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,6 @@ import org.eclipse.jetty.client.api.Result;
import org.eclipse.jetty.client.util.InputStreamContentProvider;
import org.eclipse.jetty.http.HttpField;
import org.eclipse.jetty.http.HttpHeader;
import org.eclipse.jetty.http.HttpMethod;
import org.eclipse.jetty.http.HttpVersion;
import org.eclipse.jetty.util.HttpCookieStore;
import org.eclipse.jetty.util.log.Log;
@ -391,7 +390,7 @@ public class ProxyServlet extends HttpServlet
}
final Request proxyRequest = _client.newRequest(rewrittenURI)
.method(HttpMethod.fromString(request.getMethod()))
.method(request.getMethod())
.version(HttpVersion.fromString(request.getProtocol()));
// Copy headers