diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-02-20 07:39:38 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-02-20 07:39:38 (GMT) |
commit | babc688180ac9214fcc217ef906b8d11c1babe36 (patch) | |
tree | cfb12c5f04cb23295f531d3f864ab98fd118a0d9 /Doc | |
parent | 56dee1e463d2a9962aca0c577a5782a89cce3dbb (diff) | |
download | cpython-babc688180ac9214fcc217ef906b8d11c1babe36.zip cpython-babc688180ac9214fcc217ef906b8d11c1babe36.tar.gz cpython-babc688180ac9214fcc217ef906b8d11c1babe36.tar.bz2 |
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.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/http.client.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index a3f2e35..b6e78b5 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -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 |