mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #23439: Add missing entries to http.client.__all__.
Also, document the LineTooLong exception since it can be raised by the members of public API (e.g. http.client.HTTPResponse). Patch by Martin Panter.
This commit is contained in:
parent
56dee1e463
commit
babc688180
3 changed files with 24 additions and 1 deletions
|
@ -169,6 +169,12 @@ The following exceptions are raised as appropriate:
|
|||
status code that we don't understand.
|
||||
|
||||
|
||||
.. exception:: LineTooLong
|
||||
|
||||
A subclass of :exc:`HTTPException`. Raised if an excessively long line
|
||||
is received in the HTTP protocol from the server.
|
||||
|
||||
|
||||
The constants defined in this module are:
|
||||
|
||||
.. data:: HTTP_PORT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue