Home
last modified time | relevance | path

Searched refs:contentEncoding (Results 1 – 14 of 14) sorted by relevance

/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGZipIntegrationTest.java88 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentEncodingShouldBeAddedToFixedLengthResponses() local
89 assertNotNull("Content-Encoding should be set", contentEncoding); in contentEncodingShouldBeAddedToFixedLengthResponses()
90 assertEquals("gzip", contentEncoding.getValue()); in contentEncodingShouldBeAddedToFixedLengthResponses()
100 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentEncodingShouldBeAddedToChunkedResponses() local
101 assertNotNull("Content-Encoding should be set", contentEncoding); in contentEncodingShouldBeAddedToChunkedResponses()
102 assertEquals("gzip", contentEncoding.getValue()); in contentEncodingShouldBeAddedToChunkedResponses()
111 Header contentEncoding = response.getFirstHeader("content-encoding"); in shouldFindCorrectAcceptEncodingAmongMany() local
112 assertNotNull("Content-Encoding should be set", contentEncoding); in shouldFindCorrectAcceptEncodingAmongMany()
113 assertEquals("gzip", contentEncoding.getValue()); in shouldFindCorrectAcceptEncodingAmongMany()
150 Header contentEncoding = response.getFirstHeader("content-encoding"); in noGzipWithoutAcceptEncoding() local
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentEncoding.java91 protected String contentEncoding; field in ContentEncoding
106 contentEncoding = enc; in ContentEncoding()
114 return contentEncoding; in encodeBody()
122 return contentEncoding; in getEncoding()
133 contentEncoding = encoding; in setEncoding()
/external/apache-http/src/org/apache/http/entity/
DAbstractHttpEntity.java71 protected Header contentEncoding; field in AbstractHttpEntity
111 return this.contentEncoding; in getContentEncoding()
163 public void setContentEncoding(final Header contentEncoding) { in setContentEncoding() argument
164 this.contentEncoding = contentEncoding; in setContentEncoding()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DApacheHttpClient.java68 Header contentEncoding = response.getFirstHeader("Content-Encoding"); in run() local
69 if (contentEncoding != null && contentEncoding.getValue().equals("gzip")) { in run()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentEncodingParser.java50 public ContentEncodingParser(String contentEncoding) { in ContentEncodingParser() argument
51 super(contentEncoding); in ContentEncodingParser()
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptor.java246 String contentEncoding = headers.get("Content-Encoding"); in bodyEncoded() local
247 return contentEncoding != null && !contentEncoding.equalsIgnoreCase("identity"); in bodyEncoded()
/external/apache-http/android/src/android/net/http/
DRequest.java275 Header contentEncoding = entity.getContentEncoding(); in readResponse() local
280 if (contentEncoding != null && in readResponse()
281 contentEncoding.getValue().equals("gzip")) { in readResponse()
DAndroidHttpClient.java223 String contentEncoding = header.getValue(); in getUngzippedContent()
224 if (contentEncoding == null) return responseStream; in getUngzippedContent()
225 if (contentEncoding.contains("gzip")) responseStream in getUngzippedContent()
/external/nist-sip/java/javax/sip/message/
DMessage.java41 void setContentEncoding(ContentEncodingHeader contentEncoding); in setContentEncoding() argument
/external/python/apitools/samples/storage_sample/storage_v1/
Dstorage_v1_messages.py601 contentEncoding = _messages.StringField(6) variable in Object
1801 contentEncoding = _messages.StringField(2) variable in StorageObjectsInsertRequest
Dstorage_v1.py2784 request.contentEncoding = FLAGS.contentEncoding.decode('utf8')
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/
DOkApacheClientTest.java188 @Test public void contentEncoding() throws Exception { in contentEncoding() method in OkApacheClientTest
/external/syzkaller/vendor/google.golang.org/api/storage/v1/
Dstorage-gen.go8506 func (c *ObjectsInsertCall) ContentEncoding(contentEncoding string) *ObjectsInsertCall {
8507 c.urlParams_.Set("contentEncoding", contentEncoding)
/external/apache-http/api/
Dcurrent.txt2083 field @Deprecated protected org.apache.http.Header contentEncoding;