Searched refs:ctype (Results 1 – 1 of 1) sorted by relevance
164 int is_html(char *ctype) in is_html() argument166 return ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html"); in is_html()208 char *ctype; in main() local209 curl_easy_getinfo(handle, CURLINFO_CONTENT_TYPE, &ctype); in main()210 printf("[%d] HTTP 200 (%s): %s\n", complete, ctype, url); in main()211 if(is_html(ctype) && mem->size > 100) { in main()
Completed in 5 milliseconds