diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-05-11 22:10:57 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-05-11 22:10:57 (GMT) |
commit | e9c7d6c3d90667727b668248d2a8191cfefa2528 (patch) | |
tree | 61bec75373664f642892f3639822a11374132cf8 /Doc/library/http.server.rst | |
parent | 410dd7d35755c1ee2cab2d910ba22bcca22407a7 (diff) | |
download | cpython-e9c7d6c3d90667727b668248d2a8191cfefa2528.zip cpython-e9c7d6c3d90667727b668248d2a8191cfefa2528.tar.gz cpython-e9c7d6c3d90667727b668248d2a8191cfefa2528.tar.bz2 |
Fix markup and working in the doc.
Diffstat (limited to 'Doc/library/http.server.rst')
-rw-r--r-- | Doc/library/http.server.rst | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 17ea18a..b30a661 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -185,11 +185,12 @@ of which this module provides three different variants: are picked up from the :meth:`version_string` and :meth:`date_time_string` methods, respectively. If the server does not intend to send any other headers using the :meth:`send_header` method, - then send_response should be followed by a :meth:`end_headers` call. + then :meth:`send_response` should be followed by a :meth:`end_headers` + call. - ..versionchanged:: 3.3 - Writing of headers to internal buffer and need to call - :meth:`end_headers` explicitly. + .. versionchanged:: 3.3 + Headers are stored to an internal buffer and :meth:`end_headers` + needs to be called explicitly. .. method:: send_header(keyword, value) @@ -200,7 +201,7 @@ of which this module provides three different variants: specifying its value. Note that, after the send_header calls are done, :meth:`end_headers` MUST BE called in order to complete the operation. - .. versionchanged:: 3.2 Storing the headers in an internal buffer + .. versionchanged:: 3.2 Headers are stored in an internal buffer. .. method:: send_response_only(code, message=None) @@ -216,9 +217,10 @@ of which this module provides three different variants: Adds a blank line (indicating the end of the HTTP headers in the response) - to the headers buffer and calls :meth:`flush_headers()` + to the headers buffer and calls :meth:`flush_headers()`. - .. versionchanged:: 3.2 Writing the buffered headers to the output stream. + .. versionchanged:: 3.2 + The buffered headers are written to the output stream. .. method:: flush_headers() |