Searched refs:CONTENT_TYPE (Results 1 - 25 of 47) sorted by relevance

12

/external/chromium-trace/trace-viewer/third_party/Paste/tests/
H A Dtest_httpheaders.py29 environ = {'CONTENT_TYPE': 'text/plain', 'wsgi.version': '1.0',
32 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(header
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DFormEncodingBuilder.java27 private static final MediaType CONTENT_TYPE = field in class:FormEncodingBuilder
51 return RequestBody.create(CONTENT_TYPE, content.snapshot());
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DCMSAttributeTableGenerator.java12 static final String CONTENT_TYPE = "contentType"; field in interface:CMSAttributeTableGenerator
H A DDefaultSignedAttributeTableGenerator.java68 parameters.get(CMSAttributeTableGenerator.CONTENT_TYPE));
/external/apache-http/src/org/apache/http/client/entity/
H A DUrlEncodedFormEntity.java64 setContentType(URLEncodedUtils.CONTENT_TYPE);
78 setContentType(URLEncodedUtils.CONTENT_TYPE);
/external/apache-http/src/org/apache/http/protocol/
H A DHTTP.java58 public static final String CONTENT_TYPE = "Content-Type"; field in class:HTTP
H A DRequestContent.java95 HTTP.CONTENT_TYPE )) {
H A DResponseContent.java88 HTTP.CONTENT_TYPE )) {
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DContentTypeParser.java63 this.headerName(TokenTypes.CONTENT_TYPE);
H A DTokenTypes.java75 public static final int CONTENT_TYPE = START + 38; field in interface:TokenTypes
/external/apache-http/src/org/apache/http/entity/
H A DAbstractHttpEntity.java149 h = new BasicHeader(HTTP.CONTENT_TYPE, ctString);
/external/apache-http/src/org/apache/http/client/utils/
H A DURLEncodedUtils.java59 public static final String CONTENT_TYPE = "application/x-www-form-urlencoded"; field in class:URLEncodedUtils
119 return (contentType != null && contentType.getValue().equalsIgnoreCase(CONTENT_TYPE));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/
H A DbugTools.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/releng/ org/eclipse/releng/util/ ...
/external/oauth/core/src/main/java/net/oauth/client/
H A DURLConnectionResponse.java83 if (CONTENT_TYPE.equalsIgnoreCase(name)) {
89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection
/external/oauth/core/src/main/java/net/oauth/http/
H A DHttpMessage.java97 return getCharset(getHeader(CONTENT_TYPE));
155 public static final String CONTENT_TYPE = "Content-Type"; field in class:HttpMessage
/external/apache-http/src/org/apache/http/impl/entity/
H A DEntityDeserializer.java97 Header contentTypeHeader = message.getFirstHeader(HTTP.CONTENT_TYPE);
/external/apache-http/android/src/com/android/internal/http/multipart/
H A DMultipartEntity.java200 return new BasicHeader(HTTP.CONTENT_TYPE, buffer.toString());
H A DPart.java103 protected static final String CONTENT_TYPE = "Content-Type: "; field in class:Part
107 EncodingUtils.getAsciiBytes(CONTENT_TYPE);
/external/guava/guava/src/com/google/common/net/
H A DHttpHeaders.java47 public static final String CONTENT_TYPE = "Content-Type"; field in class:HttpHeaders
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DContentType.java79 super(CONTENT_TYPE);
H A DNameMap.java125 putNameMap(CONTENT_TYPE, ContentType.class.getName()); //24
H A DSIPHeaderNames.java72 public static final String CONTENT_TYPE = ContentTypeHeader.NAME; //24 field in interface:SIPHeaderNames
/external/jetty/src/java/org/eclipse/jetty/http/
H A DHttpHeaders.java55 CONTENT_TYPE= "Content-Type", field in class:HttpHeaders
199 CONTENT_TYPE_BUFFER=CACHE.add(CONTENT_TYPE,CONTENT_TYPE_ORDINAL),
/external/apache-http/android/src/android/net/http/
H A DHeaders.java54 public final static String CONTENT_TYPE = "content-type"; field in class:Headers
129 CONTENT_TYPE,
209 if (name.equals(CONTENT_TYPE)) {
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
H A Dhttpheaders.py28 a single string value: ``CONTENT_TYPE("text/html","text/plain")``
767 _environ_name = 'CONTENT_TYPE'
860 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)

Completed in 839 milliseconds

12