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

This commit is contained in:
Norman Maurer 2012-06-28 13:36:21 +02:00 committed by Trustin Lee
parent 0a413af35d
commit a280928731

View File

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