8000 minor #46858 Add a missing comment for HTTP 451 status code (abdounik… · symfony/symfony@d0230da · GitHub
[go: up one dir, main page]

Skip to content

Commit d0230da

Browse files
committed
minor #46858 Add a missing comment for HTTP 451 status code (abdounikarim)
This PR was submitted for the 5.4 branch but it was merged into the 4. 8000 4 branch instead. Discussion ---------- Add a missing comment for HTTP 451 status code Hello, I just added a missing comment for HTTP 451 status code to the associated RFC. | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Fix #... | License | MIT | Doc PR | symfony/symfony-docs#... I added RFC7725 for HTTP 451 status code. Commits ------- e64c015 Update Response.php
2 parents 6949721 + e64c015 commit d0230da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Response
7777
public const HTTP_PRECONDITION_REQUIRED = 428; // RFC6585
7878
public const HTTP_TOO_MANY_REQUESTS = 429; // RFC6585
7979
public const HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431; // RFC6585
80-
public const HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451;
80+
public const HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451; // RFC7725
8181
public const HTTP_INTERNAL_SERVER_ERROR = 500;
8282
public const HTTP_NOT_IMPLEMENTED = 501;
8383
public const HTTP_BAD_GATEWAY = 502;

0 commit comments

Comments
 (0)
0