minor #27013 [HttpFoundation] Add HTTP_EARLY_HINTS const (ahmadmayahi)

This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #27013).

Discussion
----------

[HttpFoundation] Add HTTP_EARLY_HINTS const

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

c606d60c54 [HttpFoundation] Add HTTP_EARLY_HINTS const
This commit is contained in:
Fabien Potencier 2018-04-23 14:28:29 +02:00
commit e775871d82

View File

@ -21,6 +21,7 @@ class Response
const HTTP_CONTINUE = 100;
const HTTP_SWITCHING_PROTOCOLS = 101;
const HTTP_PROCESSING = 102; // RFC2518
const HTTP_EARLY_HINTS = 103; // RFC8297
const HTTP_OK = 200;
const HTTP_CREATED = 201;
const HTTP_ACCEPTED = 202;