Home
last modified time | relevance | path

Searched refs:hostHeader (Results 1 – 10 of 10) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverHttp2Test.java32 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()
DHttpOverSpdyTest.java72 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/
DHttp2xStream.java165 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()
DHttpEngine.java522 result.header("Host", Util.hostHeader(request.httpUrl(), false)); in networkRequest()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttp2xStream.java167 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()
DHttpEngine.java534 result.header("Host", Util.hostHeader(request.httpUrl(), false)); in networkRequest()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java267 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/
DRealConnection.java263 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/
DUtil.java265 public static String hostHeader(HttpUrl url, boolean includeDefaultPort) {
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DUtil.java259 public static String hostHeader(HttpUrl url, boolean includeDefaultPort) {