-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-39507: add HTTP status 418 "I'm a Teapot" #18291
New issue
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
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
Signed the CLA now. Following the given documentation and waiting at least one US business day for this to process. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/python/cpython/blob/master/Doc/library/http.rst
The document should be updated :)
Codecov Report
@@ Coverage Diff @@
## master #18291 +/- ##
==========================================
- Coverage 82.20% 82.12% -0.08%
==========================================
Files 1957 1954 -3
Lines 589079 583368 -5711
Branches 44401 44401
==========================================
- Hits 484247 479096 -5151
+ Misses 95174 94630 -544
+ Partials 9658 9642 -16
Continue to review full report at Codecov.
|
Only outstanding action: waiting at least one business day for CLA records to update to include me. |
@corona10, I think I’ve completed all outstanding tasks: CLA signed and all checks have passed. Anything further you require from me? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- This PR should be reviewed after core developers approved :)
- A unit test should be added also, see:
cpython/Lib/test/test_httplib.py
Line 1442 in 4d96b46
'NETWORK_AUTHENTICATION_REQUIRED',
How long typically before a core developer is available to review and approve? |
@vadmium |
123ede0
to
9fb320b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you for the feedback and approval, @serhiy-storchaka. Do you have permissions to merge? |
bpo-39507: Add HTTP status 418 "I'm a Teapot" (pythonGH-18291)
What?
Adding HTTP status 418 "I'm a Teapot" to HTTPStatus in http library.
Why?
HTTP status code documented in RFC 2324: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0).
https://bugs.python.org/issue39507