/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
D | HttpResponseCacheTest.java | 192 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in assertCached() 193 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in assertCached() 196 .addHeader("WWW-Authenticate: challenge"); in assertCached() 198 response.addHeader("Proxy-Authenticate: Basic realm=\"protected area\""); in assertCached() 200 response.addHeader("WWW-Authenticate: Basic realm=\"protected area\""); in assertCached() 232 new MockResponse().setStatus("HTTP/1.1 200 Fantastic").addHeader("fgh: ijk").setBody(body)); in responseCacheCallbackApis() 294 new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in testResponseCaching() 295 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in testResponseCaching() 329 server.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCaching() 330 .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS)) in secureResponseCaching() [all …]
|
D | URLConnectionTest.java | 201 .addHeader("A: c") in responseHeaders() 202 .addHeader("B: d") in responseHeaders() 203 .addHeader("A: e") in responseHeaders() 494 server.enqueue(new MockResponse().addHeader("abc: def")); in getResponseCodeNoResponseBody() 633 .addHeader("Content-Length: 3")); in contentDisagreesWithContentLengthHeader() 647 mockResponse.addHeader("Transfer-encoding: chunked"); in contentDisagreesWithChunkedHeader() 809 .addHeader("Proxy-Authenticate: Basic realm=\"localhost\"")); in proxyAuthenticateOnConnect() 961 MockResponse response = new MockResponse().addHeader("WWW-Authenticate: challenge") in unauthorizedResponseHandling() 981 .addHeader("Transfer-encoding: chunked")); in nonHexChunkSize() 995 .addHeader("Transfer-encoding: chunked") in missingChunkBody() [all …]
|
/external/apache-http/src/org/apache/http/protocol/ |
D | RequestContent.java | 75 request.addHeader(HTTP.CONTENT_LEN, "0"); in process() 84 request.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); in process() 86 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process() 91 request.addHeader(entity.getContentType()); in process() 96 request.addHeader(entity.getContentEncoding()); in process()
|
D | ResponseContent.java | 77 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); in process() 79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process() 84 response.addHeader(entity.getContentType()); in process() 89 response.addHeader(entity.getContentEncoding()); in process() 96 response.addHeader(HTTP.CONTENT_LEN, "0"); in process()
|
D | RequestConnControl.java | 63 request.addHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_KEEP_ALIVE); in process()
|
D | RequestUserAgent.java | 64 request.addHeader(HTTP.USER_AGENT, useragent); in process()
|
D | ResponseServer.java | 66 response.addHeader(HTTP.SERVER_HEADER, s); in process()
|
D | RequestExpectContinue.java | 72 request.addHeader(HTTP.EXPECT_DIRECTIVE, HTTP.EXPECT_CONTINUE); in process()
|
D | RequestTargetHost.java | 94 request.addHeader(HTTP.TARGET_HOST, targethost.toHostString()); in process()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 83 .addHeader("Cookie: s=square") in testMockResponseAddHeader() 84 .addHeader("Cookie", "a=android"); in testMockResponseAddHeader() 92 .addHeader("Cookie: s=square") in testMockResponseSetHeader() 93 .addHeader("Cookie: a=android") in testMockResponseSetHeader() 94 .addHeader("Cookies: delicious"); in testMockResponseSetHeader() 121 .addHeader("Location: " + server.getUrl("/new-path")) in testRedirect() 163 .addHeader("Transfer-encoding: chunked")); in testNonHexadecimalChunkSize() 179 .addHeader("Content-Length: 4")); in testResponseTimeout()
|
/external/apache-http/src/org/apache/http/message/ |
D | AbstractHttpMessage.java | 93 public void addHeader(final Header header) { in addHeader() method in AbstractHttpMessage 94 this.headergroup.addHeader(header); in addHeader() 98 public void addHeader(final String name, final String value) { in addHeader() method in AbstractHttpMessage 102 this.headergroup.addHeader(new BasicHeader(name, value)); in addHeader()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockResponse.java | 100 public MockResponse addHeader(String header) { in addHeader() method in MockResponse 109 public MockResponse addHeader(String name, Object value) { in addHeader() method in MockResponse 110 return addHeader(name + ": " + String.valueOf(value)); in addHeader() 119 return addHeader(name, value); in setHeader()
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
D | WebHTTPLoadInfo.cpp | 103 static void addHeader(HTTPHeaderMap* map, const WebString& name, const WebString& value) in addHeader() function 114 addHeader(&m_private->requestHeaders, name, value); in addRequestHeader() 120 addHeader(&m_private->responseHeaders, name, value); in addResponseHeader()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | CSSStyleSheetMapping.js | 55 this._stylesSourceMapping.addHeader(header); 56 this._sassSourceMapping.addHeader(header);
|
/external/apache-http/src/org/apache/http/ |
D | HttpMessage.java | 111 void addHeader(Header header); in addHeader() method 120 void addHeader(String name, String value); in addHeader() method
|
/external/chromium/third_party/libjingle/source/talk/p2p/client/ |
D | httpportallocator.cc | 178 request->request().addHeader("X-Talk-Google-Relay-Auth", relay_token_, true); in SendSessionRequest() 179 request->request().addHeader("X-Google-Relay-Auth", relay_token_, true); in SendSessionRequest() 180 request->request().addHeader("X-Session-Type", session_type(), true); in SendSessionRequest() 181 request->request().addHeader("X-Stream-Type", name(), true); in SendSessionRequest()
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | HttpOverSpdyTest.java | 147 server.enqueue(new MockResponse().addHeader("Content-Encoding: gzip") in gzippedResponseBody() 155 .addHeader("www-authenticate: Basic realm=\"protected area\"") in authenticate() 174 .addHeader("Location: /foo") in redirect() 202 server.enqueue(new MockResponse().addHeader("cache-control: max-age=60").setBody("A")); in responsesAreCached() 219 server.enqueue(new MockResponse().addHeader("ETag: v1").setBody("A")); in conditionalCache() 237 new MockResponse().addHeader("set-cookie: c=oreo; domain=" + server.getCookieDomain()) in acceptAndTransmitCookies()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | HttpResponseStub.java | 79 @Override public void addHeader(Header header) { in addHeader() method in HttpResponseStub 83 @Override public void addHeader(String s, String s1) { in addHeader() method in HttpResponseStub
|
/external/apache-http/src/org/apache/http/client/protocol/ |
D | RequestAddCookies.java | 164 request.addHeader(header); in process() 181 request.addHeader(header); in process()
|
D | RequestDefaultHeaders.java | 69 request.addHeader((Header) defHeader); in process()
|
D | RequestTargetAuthentication.java | 96 request.addHeader(authScheme.authenticate(creds, request)); in process()
|
D | RequestProxyAuthentication.java | 95 request.addHeader(authScheme.authenticate(creds, request)); in process()
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
D | AuthenticationHelperImpl.java | 159 reoriginatedRequest.addHeader(iterator.next()); in handleChallenge() 263 reoriginatedRequest.addHeader(authorization); in handleChallenge() 451 request.addHeader(authHeader); in setAuthenticationHeaders()
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
D | AsyncApiTest.java | 42 .addHeader("Content-Type: text/plain")); in get()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | httpcommon.h | 308 inline void addHeader(const std::string& name, const std::string& value, 354 inline void addHeader(HttpHeader header, const std::string& value, 356 addHeader(ToString(header), value, append);
|