Home
last modified time | relevance | path

Searched refs:headerlist (Results 1 – 7 of 7) sorted by relevance

/curl/docs/examples/
H A Dftpupload.c77 struct curl_slist *headerlist = NULL; in main() local
100 headerlist = curl_slist_append(headerlist, buf_1); in main()
101 headerlist = curl_slist_append(headerlist, buf_2); in main()
113 curl_easy_setopt(curl, CURLOPT_POSTQUOTE, headerlist); in main()
133 curl_slist_free_all(headerlist); in main()
H A Dpostit2-formadd.c57 struct curl_slist *headerlist = NULL; in main() local
89 headerlist = curl_slist_append(headerlist, buf); in main()
95 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in main()
116 curl_slist_free_all(headerlist); in main()
H A Dpostit2.c53 struct curl_slist *headerlist = NULL; in main() local
80 headerlist = curl_slist_append(headerlist, buf); in main()
85 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in main()
101 curl_slist_free_all(headerlist); in main()
H A Dmulti-formadd.c48 struct curl_slist *headerlist = NULL; in main() local
80 headerlist = curl_slist_append(headerlist, buf); in main()
87 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in main()
117 curl_slist_free_all(headerlist); in main()
H A Dmulti-post.c43 struct curl_slist *headerlist = NULL; in main() local
70 headerlist = curl_slist_append(headerlist, buf); in main()
76 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in main()
101 curl_slist_free_all(headerlist); in main()
/curl/tests/libtest/
H A Dlib553.c65 struct curl_slist *headerlist = NULL, *hl; in test() local
83 hl = curl_slist_append(headerlist, testbuf); in test()
86 headerlist = hl; in test()
89 hl = curl_slist_append(headerlist, "Expect: "); in test()
92 headerlist = hl; in test()
95 test_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in test()
108 curl_slist_free_all(headerlist); in test()
H A Dlib505.c48 struct curl_slist *headerlist = NULL; in test() local
99 hl = curl_slist_append(headerlist, buf_1); in test()
107 headerlist = curl_slist_append(hl, buf_2); in test()
108 if(!headerlist) { in test()
116 headerlist = hl; in test()
128 test_setopt(curl, CURLOPT_POSTQUOTE, headerlist); in test()
143 curl_slist_free_all(headerlist); in test()

Completed in 10 milliseconds