diff --git a/jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java b/jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java index 4c3a7c20bd1..ea8e35837b3 100644 --- a/jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java +++ b/jetty-spdy/spdy-http-server/src/main/java/org/eclipse/jetty/spdy/server/http/HttpTransportOverSPDY.java @@ -118,8 +118,7 @@ public class HttpTransportOverSPDY implements HttpTransport // info!=null content!=null lastContent==true reply, commit with content and complete short version = stream.getSession().getVersion(); - boolean isHeadRequest = HttpMethod.HEAD.name().equals(requestHeaders.get(HTTPSPDYHeader.METHOD.name(version)) - .value()); + boolean isHeadRequest = HttpMethod.HEAD.name().equalsIgnoreCase(requestHeaders.get(HTTPSPDYHeader.METHOD.name(version)).value()); boolean hasContent = BufferUtil.hasContent(content) && !isHeadRequest; if (info != null)