| 115 | } |
| 116 | |
| 117 | static bool CheckWarmup(HTTPRequest* req) |
| 118 | { |
| 119 | std::string statusmessage; |
| 120 | if (RPCIsInWarmup(&statusmessage)) |
| 121 | return RESTERR(req, HTTP_SERVICE_UNAVAILABLE, "Service temporarily unavailable: " + statusmessage); |
| 122 | return true; |
| 123 | } |
| 124 | |
| 125 | static bool rest_headers(HTTPRequest* req, |
| 126 | const std::string& strURIPart) |
no test coverage detected