Fix SpdyHttpHeaders.setScheme setting the wrong header. See #417
This commit is contained in:
parent
0a413af35d
commit
a280928731
@ -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…
x
Reference in New Issue
Block a user