aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-11-21 08:43:34 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-11-21 08:43:34 +0100
commit830fc9087cc628779d848a4a844033e2ad8a16e0 (patch)
treed4b5882698929695a7cc330961465ed3054d2da3
parent4df87f5e24c5efd3f5668c4073e0ce9de6da6bfc (diff)
downloadlibweb-830fc9087cc628779d848a4a844033e2ad8a16e0.tar.gz
http.h: Add HTTP_TOO_MANY_REQUESTSHEADmaster
-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