Home
last modified time | relevance | path

Searched refs:CONTENT_TYPE (Results 1 – 25 of 68) sorted by relevance

123

/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_httpheaders.py32 assert 'text/plain' == CONTENT_TYPE(environ)
34 CONTENT_TYPE.update(environ,'new/type')
35 assert 'new/type' == CONTENT_TYPE(environ)
36 CONTENT_TYPE.delete(environ)
37 assert '' == CONTENT_TYPE(environ)
79 assert 'text/plain' == CONTENT_TYPE(headers)
81 assert 'text/plain' == CONTENT_TYPE(headers)
83 assert 'text/plain' == CONTENT_TYPE(headers)
86 assert 'text/plain' == CONTENT_TYPE(headers)
116 CONTENT_ENCODING, ETAG, CONTENT_TYPE, FROM,
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dhttpclient_test.py28 CONTENT_TYPE = 'content-type: image/x-icon' variable in RealHttpFetchTest
44 name_value = real_http_fetch._GetHeaderNameValue(self.CONTENT_TYPE)
68 headers = [self.CONTENT_TYPE, self.COOKIE_1, self.FIRST_LINE]
79 headers = [self.CONTENT_TYPE, self.COOKIE_1, self.COOKIE_2, self.FIRST_LINE]
91 headers = [self.CONTENT_TYPE, self.COOKIE_1, self.FIRST_LINE,
103 bad_headers = [self.CONTENT_TYPE, self.BAD_HEADER, self.COOKIE_1]
113 misplaced_headers = [self.THIRD_LINE, self.CONTENT_TYPE,
/external/apache-http/src/org/apache/http/client/entity/
DUrlEncodedFormEntity.java64 setContentType(URLEncodedUtils.CONTENT_TYPE); in UrlEncodedFormEntity()
78 setContentType(URLEncodedUtils.CONTENT_TYPE); in UrlEncodedFormEntity()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DFormEncodingBuilder.java25 private static final MediaType CONTENT_TYPE = field in FormEncodingBuilder
57 return RequestBody.create(CONTENT_TYPE, content.snapshot()); in build()
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dprotojson.py139 CONTENT_TYPE = 'application/json' variable in ProtoJson
360 CONTENT_TYPE = ProtoJson.CONTENT_TYPE variable
/external/oauth/core/src/main/java/net/oauth/http/
DHttpMessage.java97 return getCharset(getHeader(CONTENT_TYPE)); in getContentCharset()
155 public static final String CONTENT_TYPE = "Content-Type"; field in HttpMessage
/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionResponse.java83 if (CONTENT_TYPE.equalsIgnoreCase(name)) { in getHeaders()
89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection in getHeaders()
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java59 public static final String CONTENT_TYPE = "application/x-www-form-urlencoded"; field in URLEncodedUtils
119 return (contentType != null && contentType.getValue().equalsIgnoreCase(CONTENT_TYPE)); in isEncoded()
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/configs/fr-FR/
Dfr-FR_dbg.txt9 CONTENT_TYPE DEBUG
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/configs/de-DE/
Dde-DE_dbg.txt9 CONTENT_TYPE DEBUG
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/configs/en-US/
Den-US_dbg.txt9 CONTENT_TYPE DEBUG
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/configs/en-GB/
Den-GB_dbg.txt9 CONTENT_TYPE DEBUG
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/configs/it-IT/
Dit-IT_dbg.txt9 CONTENT_TYPE DEBUG
Dit-IT_ta.txt9 CONTENT_TYPE TEXTANA
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/configs/es-ES/
Des-ES_dbg.txt9 CONTENT_TYPE DEBUG
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSAttributeTableGenerator.java12 String CONTENT_TYPE = "contentType"; field
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/
Dprotorpc.js61 xhr.setRequestHeader('Content-Type', ProtoRpc.RPC.CONTENT_TYPE);
97 ProtoRpc.RPC.CONTENT_TYPE = 'application/json;charset=utf-8';
/external/apache-http/android/src/com/android/internal/http/multipart/
DPart.java103 protected static final String CONTENT_TYPE = "Content-Type: "; field in Part
107 EncodingUtils.getAsciiBytes(CONTENT_TYPE);
/external/apache-http/android/src/android/net/http/
DHeaders.java54 public final static String CONTENT_TYPE = "content-type"; field in Headers
129 CONTENT_TYPE,
209 if (name.equals(CONTENT_TYPE)) { in parseHeader()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentTypeParser.java63 this.headerName(TokenTypes.CONTENT_TYPE); in parse()
/external/apache-http/src/org/apache/http/protocol/
DHTTP.java58 public static final String CONTENT_TYPE = "Content-Type"; field in HTTP
/external/chromium-trace/catapult/third_party/Paste/paste/
Dhttpheaders.py860 mimetype = CONTENT_TYPE(collection)
861 if filename and (not mimetype or CONTENT_TYPE.UNKNOWN == mimetype):
863 if mimetype and CONTENT_TYPE.UNKNOWN != mimetype:
864 CONTENT_TYPE.update(collection, mimetype)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers.py142 _URLENCODED_CONTENT_TYPE = protourlencode.CONTENT_TYPE
143 _PROTOBUF_CONTENT_TYPE = protobuf.CONTENT_TYPE
144 _JSON_CONTENT_TYPE = protojson.CONTENT_TYPE
/external/apache-http/src/org/apache/http/entity/
DAbstractHttpEntity.java149 h = new BasicHeader(HTTP.CONTENT_TYPE, ctString); in setContentType()
/external/jetty/src/java/org/eclipse/jetty/http/
DHttpHeaders.java55 CONTENT_TYPE= "Content-Type", field in HttpHeaders
199 CONTENT_TYPE_BUFFER=CACHE.add(CONTENT_TYPE,CONTENT_TYPE_ORDINAL),

123