0a62db350135eb565d33aa1e8da130d56b41f9a2 galt Tue Aug 8 10:08:00 2023 -0700 Roll-back using HTTP/1.1 to HTTP/1.0 in net.c. refs #31859 diff --git src/lib/net.c src/lib/net.c index 0f50bae7..d5b6db3 100644 --- src/lib/net.c +++ src/lib/net.c @@ -1419,31 +1419,31 @@ dyStringAppend(dy, "\r\n"); mustWriteFd(sd, dy->string, dy->stringSize); /* Clean up and return handle. */ dyStringFree(&dy); return sd; } int netOpenHttpExt(char *url, char *method, char *optionalHeader) /* Return a file handle that will read the url. optionalHeader * may by NULL or may contain cookies and other info. */ { -return netHttpConnect(url, method, "HTTP/1.1", "genome.ucsc.edu/net.c", optionalHeader); +return netHttpConnect(url, method, "HTTP/1.0", "genome.ucsc.edu/net.c", optionalHeader); } static int netGetOpenHttp(char *url) /* Return a file handle that will read the url. */ { return netOpenHttpExt(url, "GET", NULL); } int netUrlHeadExt(char *url, char *method, struct hash *hash) /* Go get head and return status. Return negative number if * can't get head. If hash is non-null, fill it with header * lines with upper cased keywords for case-insensitive lookup, * including hopefully CONTENT-TYPE: . */ { int sd = netOpenHttpExt(url, method, NULL);