Home
last modified time | relevance | path

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

/curl/lib/
H A Dformdata.c74 char *contenttype, in AddHttpPost() argument
96 post->contenttype = contenttype; in AddHttpPost()
144 if(contenttype) in AddFormInfo()
145 form_info->contenttype = contenttype; in AddFormInfo()
447 const char *contenttype = in FormAdd() local
451 if(contenttype) { in FormAdd()
475 if(contenttype) { in FormAdd()
476 current_form->contenttype = strdup(contenttype); in FormAdd()
574 !form->contenttype) { in FormAdd()
586 if(!form->contenttype) { in FormAdd()
[all …]
H A Dformdata.h37 char *contenttype; member
H A Dmime.c1750 if(contenttype && strncasecompare(contenttype, target, len)) in content_type_match()
1751 switch(contenttype[len]) { in content_type_match()
1788 contenttype = customct; in Curl_mime_prepare_headers()
1791 if(!contenttype) { in Curl_mime_prepare_headers()
1798 if(!contenttype) in Curl_mime_prepare_headers()
1800 if(!contenttype && part->filename) in Curl_mime_prepare_headers()
1801 contenttype = FILE_CONTENTTYPE_DEFAULT; in Curl_mime_prepare_headers()
1814 else if(contenttype && !customct && in Curl_mime_prepare_headers()
1817 contenttype = NULL; in Curl_mime_prepare_headers()
1823 (contenttype && !strncasecompare(contenttype, "multipart/", 10))) in Curl_mime_prepare_headers()
[all …]
H A Dmime.h151 const char *contenttype,
H A Dgetinfo.c74 free(info->contenttype); in Curl_initinfo()
75 info->contenttype = NULL; in Curl_initinfo()
132 *param_charp = data->info.contenttype; in getinfo_char()
H A Dhttp.c2893 char *contenttype = Curl_copy_header_value(hd); in Curl_http_header() local
2894 if(!contenttype) in Curl_http_header()
2896 if(!*contenttype) in Curl_http_header()
2898 free(contenttype); in Curl_http_header()
2900 Curl_safefree(data->info.contenttype); in Curl_http_header()
2901 data->info.contenttype = contenttype; in Curl_http_header()
H A Durldata.h1030 char *contenttype; /* the content type of the object */ member
H A Durl.c293 Curl_safefree(data->info.contenttype); in Curl_close()
/curl/docs/libcurl/
H A Dcurl_formadd.md238 /* Add simple name/content/contenttype section */
252 /* Add name/ptrcontent/contenttype section */
262 /* Add file/contenttype section */
/curl/include/curl/
H A Dcurl.h189 char *contenttype; /* Content-Type */ member
/curl/packages/OS400/
H A Dcurl.inc.in2342 d contenttype * char *

Completed in 59 milliseconds