Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/gettext/gnulib-local/lib/libxml/
Dnanohttp.c172 char *contentType; /* the MIME type for the input */ member
461 if (ctxt->contentType != NULL) xmlFree(ctxt->contentType); in xmlNanoHTTPFreeCtxt()
776 if (ctxt->contentType != NULL) in xmlNanoHTTPScanAnswer()
777 xmlFree(ctxt->contentType); in xmlNanoHTTPScanAnswer()
778 ctxt->contentType = xmlMemStrdup(cur); in xmlNanoHTTPScanAnswer()
787 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset="); in xmlNanoHTTPScanAnswer()
801 if (ctxt->contentType != NULL) return; in xmlNanoHTTPScanAnswer()
803 ctxt->contentType = xmlMemStrdup(cur); in xmlNanoHTTPScanAnswer()
812 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset="); in xmlNanoHTTPScanAnswer()
1264 xmlNanoHTTPOpen(const char *URL, char **contentType) { in xmlNanoHTTPOpen() argument
[all …]
Dnanohttp.in.h59 char **contentType);
64 char **contentType,
71 char **contentType,
77 char **contentType);
80 char **contentType,
/third_party/libxml2/
Dnanohttp.c143 char *contentType; /* the MIME type for the input */ member
432 if (ctxt->contentType != NULL) xmlFree(ctxt->contentType); in xmlNanoHTTPFreeCtxt()
747 if (ctxt->contentType != NULL) in xmlNanoHTTPScanAnswer()
748 xmlFree(ctxt->contentType); in xmlNanoHTTPScanAnswer()
749 ctxt->contentType = xmlMemStrdup(cur); in xmlNanoHTTPScanAnswer()
758 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset="); in xmlNanoHTTPScanAnswer()
772 if (ctxt->contentType != NULL) return; in xmlNanoHTTPScanAnswer()
774 ctxt->contentType = xmlMemStrdup(cur); in xmlNanoHTTPScanAnswer()
783 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset="); in xmlNanoHTTPScanAnswer()
1235 xmlNanoHTTPOpen(const char *URL, char **contentType) { in xmlNanoHTTPOpen() argument
[all …]
/third_party/libxml2/include/libxml/
Dnanohttp.h30 char **contentType);
35 char **contentType,
42 char **contentType,
48 char **contentType);
51 char **contentType,
/third_party/node/lib/internal/
Dblob.js167 slice(start = 0, end = this[kLength], contentType = '') { argument
182 contentType = `${contentType}`;
183 if (RegExpPrototypeTest(disallowedTypeCharacters, contentType)) {
184 contentType = '';
186 contentType = StringPrototypeToLowerCase(contentType);
192 this[kHandle].slice(start, start + span), span, contentType);
/third_party/node/deps/npm/node_modules/form-data/lib/
Dform_data.js178 var contentType = this._getContentType(value, options);
185 'Content-Type': [].concat(contentType || [])
259 if (!contentType && value.readable && value.hasOwnProperty('httpVersion')) {
260 contentType = value.headers['content-type'];
264 if (!contentType && (options.filepath || options.filename)) {
265 contentType = mime.lookup(options.filepath || options.filename);
269 if (!contentType && typeof value == 'object') {
270 contentType = FormData.DEFAULT_CONTENT_TYPE;
273 return contentType;
/third_party/node/test/parallel/
Dtest-http-header-read.js31 const contentType = 'Content-Type';
33 res.setHeader(contentType, plain);
40 assert.strictEqual(plain, res.getHeader(contentType));
/third_party/node/deps/npm/node_modules/request/lib/
Dhawk.js12 function calculatePayloadHash (payload, algorithm, contentType) { argument
15 hash.update((contentType ? contentType.split(';')[0].trim().toLowerCase() : '') + '\n')
71 artifacts.hash = calculatePayloadHash(opts.payload, credentials.algorithm, opts.contentType)
Doauth.js106 var contentType = headers.get('content-type') || ''
110 if (contentType.slice(0, formContentType.length) === formContentType) {
111 contentType = formContentType
117 if (transport === 'body' && (method !== 'POST' || contentType !== formContentType)) {
Dhar.js175 if (!param.fileName && !param.fileName && !param.contentType) {
190 contentType: param.contentType ? param.contentType : null property
/third_party/openssl/crypto/cms/
Dcms_lib.c24 return cms->contentType; in IMPLEMENT_ASN1_PRINT_FUNCTION()
32 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in cms_Data_create()
67 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit()
131 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataFinal()
159 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content()
198 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type()
204 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
210 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type()
343 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF()
420 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF()
Dcms_cd.c46 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_compressedData); in cms_CompressedData_create()
67 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) { in cms_CompressedData_init_bio()
Dcms_enc.c179 ec->contentType = OBJ_nid2obj(NID_pkcs7_data); in cms_EncryptedContent_init()
197 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted); in CMS_EncryptedData_set1_key()
199 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) { in CMS_EncryptedData_set1_key()
Dcms_local.h48 ASN1_OBJECT *contentType; member
119 ASN1_OBJECT *contentType; member
338 ASN1_OBJECT *contentType; member
Dcms_asn1.c93 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentType, ASN1_OBJECT),
278 } ASN1_ADB_END(CMS_ContentInfo, 0, contentType, 0, &cms_default_tt, NULL);
313 ASN1_SIMPLE(CMS_ContentInfo, contentType, ASN1_OBJECT),
353 ASN1_SIMPLE(CMS_Receipt, contentType, ASN1_OBJECT),
/third_party/node/deps/npm/node_modules/mime-types/
Dindex.js33 exports.contentType = contentType
77 function contentType (str) { function
DREADME.md59 ### mime.contentType(type)
64 mime.contentType('markdown') // 'text/x-markdown; charset=utf-8'
65 mime.contentType('file.json') // 'application/json; charset=utf-8'
68 mime.contentType(path.extname('/path/to/file.json')) // 'application/json; charset=utf-8'
/third_party/libxml2/os400/libxmlrpg/
Dnanohttp.rpgle39 d contentType * value char * *
48 d contentType * value char * *
56 d contentType * char *(*)
61 d contentType * value char * *
/third_party/flutter/skia/tools/
DUrlDataManager.cpp16 SkString UrlDataManager::addData(SkData* data, const char* contentType) { in addData() argument
25 urlData->fContentType.set(contentType); in addData()
/third_party/node/deps/npm/node_modules/node-fetch-npm/src/
Drequest.js70 const contentType = extractContentType(this)
71 if (contentType !== null && !this.headers.has('Content-Type')) {
72 this.headers.append('Content-Type', contentType)
/third_party/skia/tools/
DUrlDataManager.cpp18 SkString UrlDataManager::addData(SkData* data, const char* contentType) { in addData() argument
27 urlData->fContentType.set(contentType); in addData()
/third_party/node/lib/internal/source_map/
Dsource_map_cache.js157 const contentType = splitFormat[0];
159 if (contentType === 'application/json') {
170 debug(`unknown content-type ${contentType}`);
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStreamBuilder.h231 AudioStreamBuilder *setContentType(ContentType contentType) { in setContentType() argument
232 mContentType = contentType; in setContentType()
/third_party/uboot/u-boot-2020.01/lib/crypto/
Dpkcs7.asn12 contentType ContentType ({ pkcs7_check_content_type }),
24 contentType ContentType ({ pkcs7_note_OID }),
/third_party/jsframework/runtime/main/model/
Ddirective.ts78 contentType: ContentType property
1067 contentType: ContentType.CONTENT_STRING constant
1091 contentType: ContentType.CONTENT_OPEN_QUOTE constant
1099 contentType: ContentType.CONTENT_CLOSE_QUOTE constant
1110 contentType: ContentType.CONTENT_ATTR constant
1119 contentType: ContentType.CONTENT_COUNTER constant
1135 const contentType = finallyItems[i].contentType; constant
1136 switch (contentType) {

1234