Fix SpdyHttpHeaders.setScheme setting the wrong header. See #417

This commit is contained in:
Norman Maurer 2012-06-28 13:36:21 +02:00
parent 8f4aa5b9e2
commit 2610a94de9

View File

@ -165,6 +165,6 @@ public final class SpdyHttpHeaders {
* Sets the {@code "X-SPDY-Scheme"} header. * Sets the {@code "X-SPDY-Scheme"} header.
*/ */
public static void setScheme(HttpMessage message, String scheme) { public static void setScheme(HttpMessage message, String scheme) {
message.setHeader(Names.URL, scheme); message.setHeader(Names.SCHEME, scheme);
} }
} }