a4727aff4884c0ac6aba563875e3d78f0b7a27bd hiram Fri Apr 12 23:10:21 2019 -0700 error 459 is actually 429 refs #18869 diff --git src/hg/hubApi/hubApi.c src/hg/hubApi/hubApi.c index 5e657f0..924ba50 100644 --- src/hg/hubApi/hubApi.c +++ src/hg/hubApi/hubApi.c @@ -1063,33 +1063,33 @@ "annotations in bulk -- see http://genome.ucsc.edu/downloads.html.", hogHost); } static void sendHogMessage(char *hogHost) { puts("Content-Type:text/html"); puts("Status: 429 Too Many Requests"); puts("Retry-After: 30"); puts("\n"); hPrintf("<!DOCTYPE HTML>\n"); hPrintf("<html lang='en'>\n"); hPrintf("<head>\n"); hPrintf("<meta charset=\"utf-8\">\n"); -hPrintf("<title>Status 459 Too Many Requests</title></head>\n"); +hPrintf("<title>Status 429 Too Many Requests</title></head>\n"); -hPrintf("<body><h1>Status 459 Too many Requests</h1><p>\n"); +hPrintf("<body><h1>Status 429 Too many Requests</h1><p>\n"); hPrintf("Your host, %s, has been sending too many requests lately and is " "unfairly loading our site, impacting performance for other users. " "Please contact genome@soe.ucsc.edu to ask that your site " "be reenabled. Also, please consider downloading sequence and/or " "annotations in bulk -- see http://genome.ucsc.edu/downloads.html.", hogHost); hPrintf("</p></body></html>\n"); exit(0); } static void hogExit() /* bottleneck server requests exit */ { char *hogHost = getenv("REMOTE_ADDR"); char *pathInfo = getenv("PATH_INFO");