6125c59026d71350da69c9e00bfabd43016b791a hiram Wed May 1 14:47:00 2019 -0700 add hg.conf variable to turn on the html output on the URL /cgi-bin/hubApi refs #18869 diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h index 7d734cb..ae2e54e 100644 --- src/hg/hubApi/dataApi.h +++ src/hg/hubApi/dataApi.h @@ -25,30 +25,32 @@ #include "errCatch.h" #include "vcf.h" #include "bedTabix.h" #include "bamFile.h" #include "jsonParse.h" #include "jsonWrite.h" #include "chromInfo.h" #include "wiggle.h" #include "hubPublic.h" #ifdef USE_HAL #include "halBlockViz.h" #endif /* error return codes */ +#define err301 301 +#define err301Msg "Moved Permanently" #define err400 400 #define err400Msg "Bad Request" #define err404 404 #define err404Msg "Not Found" #define err429 429 #define err429Msg "Two Many Requests" /* maximum number of words expected in PATH_INFO parsing * so far only using 2 */ #define MAX_PATH_INFO 32 /* maximum amount of DNA allowed in a get sequence request */ #define MAX_DNA_LENGTH 499999999 /* this size is directly related to the max limit in needMem used in