Home
last modified time | relevance | path

Searched refs:HTTP (Results 1 – 25 of 219) sorted by relevance

123456789

/external/apache-http/src/org/apache/http/protocol/
DRequestContent.java71 if (request.containsHeader(HTTP.TRANSFER_ENCODING)) { in process()
74 if (request.containsHeader(HTTP.CONTENT_LEN)) { in process()
80 request.addHeader(HTTP.CONTENT_LEN, "0"); in process()
89 request.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); in process()
91 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
95 HTTP.CONTENT_TYPE )) { in process()
100 HTTP.CONTENT_ENCODING)) { in process()
DResponseContent.java71 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) { in process()
74 if (response.containsHeader(HTTP.CONTENT_LEN)) { in process()
82 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); in process()
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
88 HTTP.CONTENT_TYPE )) { in process()
93 HTTP.CONTENT_ENCODING)) { in process()
101 response.addHeader(HTTP.CONTENT_LEN, "0"); in process()
DResponseConnControl.java84 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE); in process()
94 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE); in process()
102 Header header = request.getFirstHeader(HTTP.CONN_DIRECTIVE); in process()
104 response.setHeader(HTTP.CONN_DIRECTIVE, header.getValue()); in process()
DRequestConnControl.java65 if (!request.containsHeader(HTTP.CONN_DIRECTIVE)) { in process()
68 request.addHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_KEEP_ALIVE); in process()
/external/apache-http/src/org/apache/http/impl/entity/
DLaxContentLengthStrategy.java43 import org.apache.http.protocol.HTTP;
200 Header transferEncodingHeader = message.getFirstHeader(HTTP.TRANSFER_ENCODING); in determineLength()
201 Header contentLengthHeader = message.getFirstHeader(HTTP.CONTENT_LEN); in determineLength()
218 && !encoding.equalsIgnoreCase(HTTP.CHUNK_CODING) in determineLength()
219 && !encoding.equalsIgnoreCase(HTTP.IDENTITY_CODING)) { in determineLength()
226 if (HTTP.IDENTITY_CODING.equalsIgnoreCase(transferEncodingHeader.getValue())) { in determineLength()
228 } else if ((len > 0) && (HTTP.CHUNK_CODING.equalsIgnoreCase( in determineLength()
239 Header[] headers = message.getHeaders(HTTP.CONTENT_LEN); in determineLength()
DStrictContentLengthStrategy.java40 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()
199 if (HTTP.CHUNK_CODING.equalsIgnoreCase(s)) { in determineLength()
206 } else if (HTTP.IDENTITY_CODING.equalsIgnoreCase(s)) { in determineLength()
/external/apache-harmony/luni/src/test/resources/net.resources/
DREADME.txt20 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/
DAbstractSessionInputBuffer.java42 import org.apache.http.protocol.HTTP;
67 private String charset = HTTP.US_ASCII;
89 this.ascii = this.charset.equalsIgnoreCase(HTTP.US_ASCII) in init()
90 || this.charset.equalsIgnoreCase(HTTP.ASCII); in init()
162 if (this.buffer[i] == HTTP.LF) { in locateLF()
217 if (this.linebuffer.byteAt(l - 1) == HTTP.LF) { in lineFromLineBuffer()
223 if (this.linebuffer.byteAt(l - 1) == HTTP.CR) { in lineFromLineBuffer()
249 if (pos > off && this.buffer[pos - 1] == HTTP.CR) { in lineFromReadBuffer()
DAbstractSessionOutputBuffer.java41 import org.apache.http.protocol.HTTP;
59 private static final byte[] CRLF = new byte[] {HTTP.CR, HTTP.LF};
66 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()
/external/chromium-trace/trace-viewer/third_party/WebOb/
DREADME.rst15 WebOb provides objects for HTTP requests and responses. Specifically
20 HTTP request and forming HTTP responses. Both objects are read/write:
21 as a result, WebOb is also a nice way to create HTTP requests and
22 parse HTTP responses.
DPKG-INFO12 The objects map much of the specified behavior of HTTP, including
32 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
33 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
34 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
/external/apache-http/src/org/apache/http/entity/
DStringEntity.java40 import org.apache.http.protocol.HTTP;
67 charset = HTTP.DEFAULT_CONTENT_CHARSET; in StringEntity()
70 setContentType(HTTP.PLAIN_TEXT_TYPE + HTTP.CHARSET_PARAM + charset); in StringEntity()
DAbstractHttpEntity.java39 import org.apache.http.protocol.HTTP;
149 h = new BasicHeader(HTTP.CONTENT_TYPE, ctString); in setContentType()
178 h = new BasicHeader(HTTP.CONTENT_ENCODING, ceString); in setContentEncoding()
/external/apache-http/src/org/apache/http/impl/
DDefaultConnectionReuseStrategy.java42 import org.apache.http.protocol.HTTP;
119 HeaderIterator hit = response.headerIterator(HTTP.CONN_DIRECTIVE); in keepAlive()
152 if (HTTP.CONN_CLOSE.equalsIgnoreCase(token)) { in keepAlive()
154 } else if (HTTP.CONN_KEEP_ALIVE.equalsIgnoreCase(token)) { in keepAlive()
/external/chromium-trace/trace-viewer/third_party/Paste/
DPKG-INFO69 * Catch HTTP-related exceptions (e.g., ``HTTPNotFound``) and turn them
72 * Several authentication techniques, including HTTP (Basic and
126 Classifier: Topic :: Internet :: WWW/HTTP
127 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
129 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
130 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
131 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
132 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
/external/chromium-trace/trace-viewer/third_party/Paste/Paste.egg-info/
DPKG-INFO69 * Catch HTTP-related exceptions (e.g., ``HTTPNotFound``) and turn them
72 * Several authentication techniques, including HTTP (Basic and
126 Classifier: Topic :: Internet :: WWW/HTTP
127 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
129 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
130 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
131 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
132 Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
/external/okhttp/mockwebserver/
DREADME.md4 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/client/entity/
DUrlEncodedFormEntity.java38 import org.apache.http.protocol.HTTP;
76 super(URLEncodedUtils.format(parameters, HTTP.DEFAULT_CONTENT_CHARSET), in UrlEncodedFormEntity()
77 HTTP.DEFAULT_CONTENT_CHARSET); in UrlEncodedFormEntity()
/external/apache-http/src/org/apache/http/impl/client/
DEntityEnclosingRequestWrapper.java38 import org.apache.http.protocol.HTTP;
79 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue()
80 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue()); in expectContinue()
/external/jetty/src/resources/org/eclipse/jetty/server/jmx/
DServer-mbean.properties1 Server: Jetty HTTP Servlet server
2 connectors: MObject:HTTP Connectors for this server
4 sendServerVersion: If true include the server version in HTTP headers
/external/apache-http/src/org/apache/http/client/methods/
DHttpEntityEnclosingRequestBase.java38 import org.apache.http.protocol.HTTP;
72 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue()
73 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue()); in expectContinue()
/external/apache-http/src/org/apache/http/message/
DBasicHttpEntityEnclosingRequest.java39 import org.apache.http.protocol.HTTP;
82 Header expect = getFirstHeader(HTTP.EXPECT_DIRECTIVE); in expectContinue()
83 return expect != null && HTTP.EXPECT_CONTINUE.equalsIgnoreCase(expect.getValue()); in expectContinue()
/external/libxml2/result/
Ddav7.rdr18 3 3 #text 0 1 HTTP/1.1 200 OK
34 3 3 #text 0 1 HTTP/1.1 420 Method Failure
50 3 3 #text 0 1 HTTP/1.1 412 Precondition Failed
Ddav7.rde18 3 3 #text 0 1 HTTP/1.1 200 OK
34 3 3 #text 0 1 HTTP/1.1 420 Method Failure
50 3 3 #text 0 1 HTTP/1.1 412 Precondition Failed
/external/apache-http/src/org/apache/http/util/
DEncodingUtils.java35 import org.apache.http.protocol.HTTP;
140 return data.getBytes(HTTP.US_ASCII); in getAsciiBytes()
163 return new String(data, offset, length, HTTP.US_ASCII); in getAsciiString()

123456789