Fix SpdyHttpHeaders.setScheme setting the wrong header. See #417
This commit is contained in:
parent
8f4aa5b9e2
commit
2610a94de9
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user