Lines Matching refs:headers
171 curl_slist_free_all(mime->headers); in tool_mime_free()
297 ret = curl_mime_headers(part, m->headers, 0); in tool2curlparts()
475 struct curl_slist *headers = NULL; in get_param_part() local
508 curl_slist_free_all(headers); in get_param_part()
562 int i = read_field_headers(config, hdrfile, fp, &headers); in get_param_part()
566 curl_slist_free_all(headers); in get_param_part()
584 if(slist_append(&headers, hdr)) { in get_param_part()
586 curl_slist_free_all(headers); in get_param_part()
647 *pheaders = headers; in get_param_part()
648 else if(headers) { in get_param_part()
650 "Field headers not allowed here: %s", headers->data); in get_param_part()
651 curl_slist_free_all(headers); in get_param_part()
730 struct curl_slist *headers = NULL; in formparse() local
759 &contp, &data, &type, NULL, NULL, &headers); in formparse()
766 part->headers = headers; in formparse()
767 headers = NULL; in formparse()
789 &data, &type, &filename, &encoder, &headers); in formparse()
810 part->headers = headers; in formparse()
811 headers = NULL; in formparse()
839 &data, &type, NULL, &encoder, &headers); in formparse()
847 part->headers = headers; in formparse()
848 headers = NULL; in formparse()
870 &data, &type, &filename, &encoder, &headers); in formparse()
878 part->headers = headers; in formparse()
879 headers = NULL; in formparse()
903 curl_slist_free_all(headers); in formparse()