bc41dae7c763f008e8773bcbe1a534d7d54808ce
hiram
  Wed Jul 10 17:07:11 2019 -0700
add error 206 Partial Content with maxItems limit reached refs #23589

diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h
index e70ba25..d145ec3 100644
--- src/hg/hubApi/dataApi.h
+++ src/hg/hubApi/dataApi.h
@@ -28,30 +28,32 @@
 #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
 
 /* reference for these error codes:
  * https://www.restapitutorial.com/httpstatuscodes.html
  */
 /* error return codes */
+#define err206	206
+#define err206Msg	"Partial Content"
 #define err301	301
 #define err301Msg	"Moved Permanently"
 #define err400	400
 #define err400Msg	"Bad Request"
 #define err403	403
 #define err403Msg	"Forbidden"
 #define err404	404
 #define err404Msg	"Not Found"
 #define err415	415
 #define err415Msg	"Unsupported track type"
 #define err429	429
 #define err429Msg	"Too Many Requests"
 
 /* list of all potential arguments */
 #define argHubUrl	"hubUrl"