Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e9c7d6c3
Commit
e9c7d6c3
authored
May 12, 2011
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix markup and working in the doc.
parent
410dd7d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
Doc/library/http.server.rst
Doc/library/http.server.rst
+9
-7
Doc/library/urllib.request.rst
Doc/library/urllib.request.rst
+2
-2
No files found.
Doc/library/http.server.rst
View file @
e9c7d6c3
...
...
@@ -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()
...
...
Doc/library/urllib.request.rst
View file @
e9c7d6c3
...
...
@@ -276,8 +276,8 @@ The following classes are provided:
:exc:`ValueError` when presented with an authentication scheme other than
Digest or Basic.
..versionchanged:: 3.3
Raise ValueError
on unsupported Authentication Scheme.
..
versionchanged:: 3.3
Raise :exc:`ValueError`
on unsupported Authentication Scheme.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment