We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi folks, in https://github.com/teapot-php/status-code/blob/master/src/RFC/RFC7231.php, any reason why HTTP 401 is missing?
The text was updated successfully, but these errors were encountered:
@settermjd
It is defined in
https://github.com/teapot-php/status-code/blob/v1.1.2/src/RFC/RFC2616.php#L448
and
https://github.com/teapot-php/status-code/blob/v1.1.2/src/RFC/RFC7235.php#L71
The constant is also accessible via Teapot\StatusCode\Http::UNAUTHORIZED.
Teapot\StatusCode\Http::UNAUTHORIZED
<?php use Teapot\StatusCode; require_once __DIR__ . '/vendor/autoload.php'; var_dump(StatusCode\Http::UNAUTHORIZED); // int(401)
Do you think it should be defined in a different interface?
Sorry, something went wrong.
Thanks @localheinz. I didn't look hard enough.
Thank you, @settermjd!
localheinz
No branches or pull requests
Hi folks, in https://github.com/teapot-php/status-code/blob/master/src/RFC/RFC7231.php, any reason why HTTP 401 is missing?
The text was updated successfully, but these errors were encountered: