Home
last modified time | relevance | path

Searched refs:contenttype (Results 1 – 12 of 12) sorted by relevance

/external/curl/lib/
Dformdata.c71 char *contenttype, in AddHttpPost() argument
88 post->contenttype = contenttype; in AddHttpPost()
127 char *contenttype, in AddFormInfo() argument
135 if(contenttype) in AddFormInfo()
136 form_info->contenttype = contenttype; in AddFormInfo()
444 const char *contenttype = in FormAdd() local
446 if(current_form->contenttype) { in FormAdd()
448 if(contenttype) { in FormAdd()
449 char *type = strdup(contenttype); in FormAdd()
472 if(contenttype) { in FormAdd()
[all …]
Dmime.c1781 static bool content_type_match(const char *contenttype, const char *target) in content_type_match() argument
1785 if(contenttype && strncasecompare(contenttype, target, len)) in content_type_match()
1786 switch(contenttype[len]) { in content_type_match()
1799 const char *contenttype, in Curl_mime_prepare_headers() argument
1822 contenttype = customct; in Curl_mime_prepare_headers()
1825 if(!contenttype) { in Curl_mime_prepare_headers()
1828 contenttype = MULTIPART_CONTENTTYPE_DEFAULT; in Curl_mime_prepare_headers()
1831 contenttype = Curl_mime_contenttype(part->filename); in Curl_mime_prepare_headers()
1832 if(!contenttype) in Curl_mime_prepare_headers()
1833 contenttype = Curl_mime_contenttype(part->data); in Curl_mime_prepare_headers()
[all …]
Dformdata.h37 char *contenttype; member
Dgetinfo.c71 free(info->contenttype); in Curl_initinfo()
72 info->contenttype = NULL; in Curl_initinfo()
128 *param_charp = data->info.contenttype; in getinfo_char()
Dmime.h146 const char *contenttype,
Dhttp.c3785 char *contenttype = Curl_copy_header_value(headp); in Curl_http_readwrite_headers() local
3786 if(!contenttype) in Curl_http_readwrite_headers()
3788 if(!*contenttype) in Curl_http_readwrite_headers()
3790 free(contenttype); in Curl_http_readwrite_headers()
3792 Curl_safefree(data->info.contenttype); in Curl_http_readwrite_headers()
3793 data->info.contenttype = contenttype; in Curl_http_readwrite_headers()
Durldata.h1115 char *contenttype; /* the content type of the object */ member
Durl.c417 Curl_safefree(data->info.contenttype); in Curl_close()
/external/curl/docs/examples/
Dcurlx.c282 char *contenttype; in main() local
495 contenttype = malloc(15 + strlen(mimetype)); in main()
496 snprintf(contenttype, 15 + strlen(mimetype), "Content-type: %s", mimetype); in main()
497 headers = curl_slist_append(headers, contenttype); in main()
/external/google-breakpad/src/third_party/curl/
Dcurl.h146 char *contenttype; /* Content-Type */ member
/external/curl/include/curl/
Dcurl.h178 char *contenttype; /* Content-Type */ member
/external/curl/packages/OS400/
Dcurl.inc.in1991 d contenttype * char *