Searched refs:ctype (Results 1 – 1 of 1) sorted by relevance
172 static int is_html(char *ctype) in is_html() argument174 return ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html"); in is_html()223 char *ctype; in main() local224 curl_easy_getinfo(handle, CURLINFO_CONTENT_TYPE, &ctype); in main()225 printf("[%d] HTTP 200 (%s): %s\n", complete, ctype, url); in main()226 if(is_html(ctype) && mem->size > 100) { in main()
Completed in 4 milliseconds