Searched refs:hostHeader (Results 1 – 10 of 10) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverHttp2Test.java | 32 this.hostHeader = ":authority"; in HttpOverHttp2Test() 52 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in serverSendsPushPromise_GET() 76 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in serverSendsPushPromise_HEAD()
|
D | HttpOverSpdyTest.java | 72 protected String hostHeader = ":host"; field in HttpOverSpdyTest 108 assertEquals(server.getHostName() + ":" + server.getPort(), request.getHeader(hostHeader)); in get()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | Http2xStream.java | 165 result.add(new Header(TARGET_HOST, Util.hostHeader(request.httpUrl(), false))); in spdy3HeadersList() 204 result.add(new Header(TARGET_AUTHORITY, Util.hostHeader(request.httpUrl(), false))); // Optional in http2HeadersList()
|
D | HttpEngine.java | 522 result.header("Host", Util.hostHeader(request.httpUrl(), false)); in networkRequest()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | Http2xStream.java | 167 result.add(new Header(TARGET_HOST, Util.hostHeader(request.httpUrl(), false))); in spdy3HeadersList() 206 result.add(new Header(TARGET_AUTHORITY, Util.hostHeader(request.httpUrl(), false))); // Optional in http2HeadersList()
|
D | HttpEngine.java | 534 result.header("Host", Util.hostHeader(request.httpUrl(), false)); in networkRequest()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/ |
D | RealConnection.java | 267 String requestLine = "CONNECT " + Util.hostHeader(url, true) + " HTTP/1.1"; in createTunnel() 319 .header("Host", Util.hostHeader(route.getAddress().url(), true)) in createTunnelRequest()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/ |
D | RealConnection.java | 263 String requestLine = "CONNECT " + Util.hostHeader(url, true) + " HTTP/1.1"; in createTunnel() 315 .header("Host", Util.hostHeader(route.getAddress().url(), true)) in createTunnelRequest()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/ |
D | Util.java | 265 public static String hostHeader(HttpUrl url, boolean includeDefaultPort) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Util.java | 259 public static String hostHeader(HttpUrl url, boolean includeDefaultPort) {
|