aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libweb/http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libweb/http.h b/include/libweb/http.h
index 4548efc..be24f98 100644
--- a/include/libweb/http.h
+++ b/include/libweb/http.h
@@ -87,6 +87,7 @@ struct http_payload
X(FORBIDDEN, "Forbidden", 403) \
X(NOT_FOUND, "Not found", 404) \
X(PAYLOAD_TOO_LARGE, "Payload too large", 413) \
+ X(TOO_MANY_REQUESTS, "Too Many Requests", 429) \
X(INTERNAL_ERROR, "Internal Server Error", 500)
struct http_response