diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-02-20 09:45:05 +0200 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-02-20 09:45:05 +0200 |
commit | 4e5033b884d8581f1da6e24303e343497f3f39ab (patch) | |
tree | f8923c64fc2cf0d68d2c8b774c38c18868d9ec88 /Doc/library | |
parent | 2c97a3914873610fce612cd3f8458b9d27e20ec0 (diff) | |
parent | 07f263cff401a2f248f4aff35bdc2c1935070d3c (diff) | |
download | cpython-4e5033b884d8581f1da6e24303e343497f3f39ab.tar.gz |
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/library')
-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 b495f41de8..5e27a36192 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 |