You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2020/11/29 18:06:16 UTC

[GitHub] [httpcomponents-core] garydgregory commented on a change in pull request #233: Add HttpStatus.SC_TOO_MANY_REQUESTS 429 Too Many Requests

garydgregory commented on a change in pull request #233:
URL: https://github.com/apache/httpcomponents-core/pull/233#discussion_r532244944



##########
File path: httpcore/src/main/java/org/apache/http/impl/EnglishReasonPhraseCatalog.java
##########
@@ -140,6 +140,8 @@ private static void setReason(final int status, final String reason) {
                   "Forbidden");
         setReason(HttpStatus.SC_NOT_FOUND,
                   "Not Found");
+        setReason(HttpStatus.SC_TOO_MANY_REQUESTS,
+                "Too Many Requests");

Review comment:
       Nit: The indentation does not match.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org