Home
last modified time | relevance | path

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

/curl/lib/
H A Dformdata.c72 char *contenttype, in AddHttpPost() argument
94 post->contenttype = contenttype; in AddHttpPost()
142 if(contenttype) in AddFormInfo()
143 form_info->contenttype = contenttype; in AddFormInfo()
444 const char *contenttype = in FormAdd() local
448 if(contenttype) { in FormAdd()
472 if(contenttype) { in FormAdd()
473 current_form->contenttype = strdup(contenttype); in FormAdd()
571 !form->contenttype) { in FormAdd()
583 if(!form->contenttype) { in FormAdd()
[all …]
H A Dformdata.h37 char *contenttype; member
H A Dmime.c1744 if(contenttype && strncasecompare(contenttype, target, len)) in content_type_match()
1745 switch(contenttype[len]) { in content_type_match()
1782 contenttype = customct; in Curl_mime_prepare_headers()
1785 if(!contenttype) { in Curl_mime_prepare_headers()
1792 if(!contenttype) in Curl_mime_prepare_headers()
1794 if(!contenttype && part->filename) in Curl_mime_prepare_headers()
1795 contenttype = FILE_CONTENTTYPE_DEFAULT; in Curl_mime_prepare_headers()
1808 else if(contenttype && !customct && in Curl_mime_prepare_headers()
1811 contenttype = NULL; in Curl_mime_prepare_headers()
1817 (contenttype && !strncasecompare(contenttype, "multipart/", 10))) in Curl_mime_prepare_headers()
[all …]
H A Dmime.h151 const char *contenttype,
H A Dgetinfo.c73 free(info->contenttype); in Curl_initinfo()
74 info->contenttype = NULL; in Curl_initinfo()
132 *param_charp = data->info.contenttype; in getinfo_char()
H A Dhttp.c2912 char *contenttype = Curl_copy_header_value(hd); in Curl_http_header() local
2913 if(!contenttype) in Curl_http_header()
2915 if(!*contenttype) in Curl_http_header()
2917 free(contenttype); in Curl_http_header()
2919 Curl_safefree(data->info.contenttype); in Curl_http_header()
2920 data->info.contenttype = contenttype; in Curl_http_header()
H A Durldata.h1042 char *contenttype; /* the content type of the object */ member
H A Durl.c294 Curl_safefree(data->info.contenttype); in Curl_close()
/curl/docs/libcurl/
H A Dcurl_formadd.md235 /* Add simple name/content/contenttype section */
249 /* Add name/ptrcontent/contenttype section */
259 /* Add file/contenttype section */
/curl/include/curl/
H A Dcurl.h193 char *contenttype; /* Content-Type */ member
/curl/packages/OS400/
H A Dcurl.inc.in2336 d contenttype * char *

Completed in 77 milliseconds