Skip to content

Commit 7c62736

Browse files
committed
fix: add missing HTTP 402 status code
1 parent edab941 commit 7c62736

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/http/status.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ http_status_codes! {
132132
(400, BAD_REQUEST, "Bad Request");
133133
/// 401 Unauthorized
134134
(401, UNAUTHORIZED, "Unauthorized");
135+
/// 402 Payment Required
136+
(402, PAYMENT_REQUIRED, "Payment Required");
135137
/// 403 Forbidden
136138
(403, FORBIDDEN, "Forbidden");
137139
/// 404 Not Found

0 commit comments

Comments
 (0)