/external/apache-http/src/org/apache/http/protocol/ |
D | RequestContent.java | 66 if (request.containsHeader(HTTP.TRANSFER_ENCODING)) { in process() 69 if (request.containsHeader(HTTP.CONTENT_LEN)) { in process() 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() 90 HTTP.CONTENT_TYPE )) { in process() 95 HTTP.CONTENT_ENCODING)) { in process()
|
D | ResponseContent.java | 66 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) { in process() 69 if (response.containsHeader(HTTP.CONTENT_LEN)) { in process() 77 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); in process() 79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process() 83 HTTP.CONTENT_TYPE )) { in process() 88 HTTP.CONTENT_ENCODING)) { in process() 96 response.addHeader(HTTP.CONTENT_LEN, "0"); in process()
|
D | ResponseConnControl.java | 79 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE); in process() 89 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE); in process() 97 Header header = request.getFirstHeader(HTTP.CONN_DIRECTIVE); in process() 99 response.setHeader(HTTP.CONN_DIRECTIVE, header.getValue()); in process()
|
D | RequestConnControl.java | 60 if (!request.containsHeader(HTTP.CONN_DIRECTIVE)) { in process() 63 request.addHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_KEEP_ALIVE); in process()
|
/external/apache-http/src/org/apache/http/impl/entity/ |
D | LaxContentLengthStrategy.java | 43 import org.apache.http.protocol.HTTP; 195 Header transferEncodingHeader = message.getFirstHeader(HTTP.TRANSFER_ENCODING); in determineLength() 196 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength() 213 && !encoding.equalsIgnoreCase(HTTP.CHUNK_CODING) in determineLength() 214 && !encoding.equalsIgnoreCase(HTTP.IDENTITY_CODING)) { in determineLength() 221 if (HTTP.IDENTITY_CODING.equalsIgnoreCase(transferEncodingHeader.getValue())) { in determineLength() 223 } else if ((len > 0) && (HTTP.CHUNK_CODING.equalsIgnoreCase( in determineLength() 234 Header[] headers = message.getHeaders(HTTP.CONTENT_LEN); in determineLength()
|
D | StrictContentLengthStrategy.java | 40 import org.apache.http.protocol.HTTP; 190 Header transferEncodingHeader = message.getFirstHeader(HTTP.TRANSFER_ENCODING); in determineLength() 191 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength() 194 if (HTTP.CHUNK_CODING.equalsIgnoreCase(s)) { in determineLength() 201 } else if (HTTP.IDENTITY_CODING.equalsIgnoreCase(s)) { in determineLength()
|
/external/apache-harmony/luni/src/test/resources/net.resources/ |
D | README.txt | 20 HTTP 22 The HTTP folder contains files to be deployed on an HTTP server. 25 placed in the normal bin directory for your HTTP server (e.g. "cgi-bin" for the 26 Apache HTTP server). The intent is that this script can be accessed with the URL 32 HTTP server)... 65 1. Install the FTP and HTTP documents to their respective server locations as 67 2. Enable proxying capability on the HTTP server. 68 3. Start the HTTP and FTP servers. 77 HTTP server where the testres231 files are hosted, the network location of the 88 that contains suitable property values if the HTTP, FTP and SOCKS servers were [all …]
|
/external/apache-http/src/org/apache/http/impl/io/ |
D | AbstractSessionInputBuffer.java | 42 import org.apache.http.protocol.HTTP; 62 private String charset = HTTP.US_ASCII; 84 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII) in init() 85 || this.charset.equalsIgnoreCase(HTTP.ASCII); in init() 157 if (this.buffer[i] == HTTP.LF) { in locateLF() 212 if (this.linebuffer.byteAt(l - 1) == HTTP.LF) { in lineFromLineBuffer() 218 if (this.linebuffer.byteAt(l - 1) == HTTP.CR) { in lineFromLineBuffer() 244 if (pos > off && this.buffer[pos - 1] == HTTP.CR) { in lineFromReadBuffer()
|
D | AbstractSessionOutputBuffer.java | 41 import org.apache.http.protocol.HTTP; 54 private static final byte[] CRLF = new byte[] {HTTP.CR, HTTP.LF}; 61 private String charset = HTTP.US_ASCII; 79 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII) in init() 80 || this.charset.equalsIgnoreCase(HTTP.ASCII); in init()
|
/external/apache-http/src/org/apache/http/entity/ |
D | StringEntity.java | 40 import org.apache.http.protocol.HTTP; 62 charset = HTTP.DEFAULT_CONTENT_CHARSET; in StringEntity() 65 setContentType(HTTP.PLAIN_TEXT_TYPE + HTTP.CHARSET_PARAM + charset); in StringEntity()
|
D | AbstractHttpEntity.java | 39 import org.apache.http.protocol.HTTP; 144 h = new BasicHeader(HTTP.CONTENT_TYPE, ctString); in setContentType() 173 h = new BasicHeader(HTTP.CONTENT_ENCODING, ceString); in setContentEncoding()
|
/external/smack/src/org/jivesoftware/smack/proxy/ |
D | HTTPProxySocketFactory.java | 108 throw new ProxyException(ProxyInfo.ProxyType.HTTP, "Recieved " + in httpProxifiedSocket() 114 throw new ProxyException(ProxyInfo.ProxyType.HTTP); in httpProxifiedSocket() 136 throw new ProxyException(ProxyInfo.ProxyType.HTTP, "Never " + in httpProxifiedSocket() 148 throw new ProxyException(ProxyInfo.ProxyType.HTTP, "Empty proxy " + in httpProxifiedSocket() 155 throw new ProxyException(ProxyInfo.ProxyType.HTTP , "Unexpected " + in httpProxifiedSocket() 163 throw new ProxyException(ProxyInfo.ProxyType.HTTP); in httpProxifiedSocket()
|
D | ProxyInfo.java | 34 HTTP, enumConstant 58 return new ProxyInfo(ProxyType.HTTP, pHost, pPort, pUser, pPass); in forHttpProxy() 114 else if(proxyType == ProxyType.HTTP) in getSocketFactory()
|
/external/okhttp/mockwebserver/ |
D | README.md | 4 A scriptable web server for testing HTTP clients 10 makes HTTP and HTTPS calls. It lets you specify which responses to return and 13 Because it exercises your full HTTP stack, you can be confident that you're 14 testing everything. You can even copy & paste HTTP responses from your real web 44 // Ask the server for its URL. You'll need this to make HTTP requests. 47 // Exercise your application code, which should make those HTTP requests. 61 // Optional: confirm that your app made the HTTP requests you were expecting. 105 Verify requests by their method, path, HTTP version, body, and headers. 109 assertEquals("POST /v1/chat/send HTTP/1.1", request.getRequestLine());
|
/external/apache-http/src/org/apache/http/impl/ |
D | DefaultConnectionReuseStrategy.java | 42 import org.apache.http.protocol.HTTP; 114 HeaderIterator hit = response.headerIterator(HTTP.CONN_DIRECTIVE); in keepAlive() 147 if (HTTP.CONN_CLOSE.equalsIgnoreCase(token)) { in keepAlive() 149 } else if (HTTP.CONN_KEEP_ALIVE.equalsIgnoreCase(token)) { in keepAlive()
|
/external/chromium_org/mojo/services/public/interfaces/network/ |
D | url_loader.mojom | 13 // The HTTP method if applicable. 16 // Additional HTTP request headers. 19 // The payload for the request body. For HTTP requests, the method must be 32 // If set to true, then the HTTP request will bypass the local cache and will 43 // The HTTP status code. 0 if not applicable. 46 // The HTTP status line. 49 // The HTTP response headers.
|
/external/apache-http/src/org/apache/http/client/entity/ |
D | UrlEncodedFormEntity.java | 38 import org.apache.http.protocol.HTTP; 71 super(URLEncodedUtils.format(parameters, HTTP.DEFAULT_CONTENT_CHARSET), in UrlEncodedFormEntity() 72 HTTP.DEFAULT_CONTENT_CHARSET); in UrlEncodedFormEntity()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | EntityEnclosingRequestWrapper.java | 38 import org.apache.http.protocol.HTTP; 74 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue() 75 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue()); in expectContinue()
|
/external/apache-http/src/org/apache/http/client/methods/ |
D | HttpEntityEnclosingRequestBase.java | 38 import org.apache.http.protocol.HTTP; 67 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue() 68 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue()); in expectContinue()
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicHttpEntityEnclosingRequest.java | 39 import org.apache.http.protocol.HTTP; 77 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue() 78 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue()); in expectContinue()
|
/external/chromium_org/components/policy/proto/ |
D | chrome_extension_policy.proto | 30 // The HTTP GET request sent to |download_url| must include an 31 // "Authorization: " HTTP header of the GoogleDMToken type. Its value is the 35 // The HTTP GET request sent to |download_url| must include an 36 // "Authorization: " HTTP header of the "OAuth" type. Its value is a valid
|
/external/apache-http/src/org/apache/http/util/ |
D | EncodingUtils.java | 35 import org.apache.http.protocol.HTTP; 135 return data.getBytes(HTTP.US_ASCII); in getAsciiBytes() 158 return new String(data, offset, length, HTTP.US_ASCII); in getAsciiString()
|
/external/chromium_org/ppapi/api/ |
D | ppb_url_response_info.idl | 27 * HTTP Request URI</a> and 38 * HTTP Status Codes - Redirection</a> documentation for further information. 43 * This corresponds to a string (PP_VARTYPE_STRING); the HTTP method to be 47 * HTTP Status Codes - Redirection</a> documentation for further information. 55 * HTTP Status Code and Reason Phrase</a> documentation for further 64 * HTTP Response Status Line</a> documentation for further information. 73 * HTTP Header Field Definitions</a> documentation for further information.
|
/external/chromium_org/net/http/ |
D | http_proxy_client_socket_pool_unittest.cc | 36 HTTP, enumerator 43 : proxy_type(HTTP), in HttpProxyClientSocketPoolTestParams() 105 GURL proxy_url(GetParam().proxy_type == HTTP ? in AddAuthToCache() 117 if (GetParam().proxy_type != HTTP) in CreateHttpProxyParams() 126 if (GetParam().proxy_type == HTTP) in CreateHttpsProxyParams() 188 if (GetParam().proxy_type != HTTP) { in Initialize() 242 HttpProxyClientSocketPoolTestParams(HTTP, kProtoDeprecatedSPDY2), 245 HttpProxyClientSocketPoolTestParams(HTTP, kProtoSPDY3), 248 HttpProxyClientSocketPoolTestParams(HTTP, kProtoSPDY31), 251 HttpProxyClientSocketPoolTestParams(HTTP, kProtoSPDY4), [all …]
|
/external/apache-http/src/org/apache/http/impl/auth/ |
D | AuthSchemeBase.java | 38 import org.apache.http.protocol.HTTP; 98 while (pos < buffer.length() && HTTP.isWhitespace(buffer.charAt(pos))) { in processChallenge() 102 while (pos < buffer.length() && !HTTP.isWhitespace(buffer.charAt(pos))) { in processChallenge()
|