Home
last modified time | relevance | path

Searched refs:ct (Results 1 – 5 of 5) sorted by relevance

/curl/docs/examples/
H A Dgetinfo.c42 char *ct; in main() local
44 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &ct); in main()
46 if((CURLE_OK == res) && ct) in main()
47 printf("We received Content-Type: %s\n", ct); in main()
/curl/docs/libcurl/opts/
H A DCURLINFO_CONTENT_TYPE.md26 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_TYPE, char **ct);
36 The **ct** pointer is set to NULL or pointing to private memory. You MUST
59 char *ct = NULL;
60 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &ct);
61 if(!res && ct) {
62 printf("Content-Type: %s\n", ct);
/curl/tests/http/testenv/mod_curltest/
H A Dmod_curltest.c189 const char *ct; in curltest_echo_handler() local
254 ct = apr_table_get(r->headers_in, "content-type"); in curltest_echo_handler()
255 ap_set_content_type(r, ct ? ct : "application/octet-stream"); in curltest_echo_handler()
535 const char *ct; in curltest_put_handler() local
595 ct = apr_table_get(r->headers_in, "content-type"); in curltest_put_handler()
596 ap_set_content_type(r, ct ? ct : "text/plain"); in curltest_put_handler()
650 const char *ct; in curltest_1_1_required() local
677 ct = apr_table_get(r->headers_in, "content-type"); in curltest_1_1_required()
678 ap_set_content_type(r, ct ? ct : "text/plain"); in curltest_1_1_required()
/curl/tests/server/
H A Dtftpd.c423 int ct, int convert) in writeit() argument
425 bfs[current].counter = ct; /* set size of data to write */ in writeit()
431 return ct; /* this is a lie of course */ in writeit()
444 int ct; in write_behind() local
481 ct = count; in write_behind()
482 while(ct--) { /* loop over the buffer */ in write_behind()
/curl/docs/libcurl/
H A Dcurl_easy_getinfo.md409 char *ct;
411 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &ct);
413 if((CURLE_OK == res) && ct)
414 printf("We received Content-Type: %s\n", ct);

Completed in 17 milliseconds