src/utils/htmlCheck/htmlCheck.c 1.32
1.32 2009/11/10 23:23:59 angie
Force keys to uppercase for netUrlHead's hash, for case-insensitive lookup. Also, in udcInfoViaHttp, accept Date: as a poor substitute for missing Last-Modified:.
Index: src/utils/htmlCheck/htmlCheck.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/htmlCheck/htmlCheck.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -b -B -U 4 -r1.31 -r1.32
--- src/utils/htmlCheck/htmlCheck.c 5 Aug 2008 17:54:00 -0000 1.31
+++ src/utils/htmlCheck/htmlCheck.c 10 Nov 2009 23:23:59 -0000 1.32
@@ -252,9 +252,9 @@
else
{
if (depth > 1 && isLocal)
{
- char *contentType = hashFindVal(headerHash, "Content-Type:");
+ char *contentType = hashFindValUpperCase(headerHash, "Content-Type:");
if (contentType != NULL && startsWith("text/html", contentType))
{
char *fullText = slurpUrl(url);
if (fullText != NULL)