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
abcd4731
Commit
abcd4731
authored
Oct 03, 2011
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Plain Diff
merge from 3.2 - Document message_body arg in HTTPConnection.endheaders
parents
8e3ea5b0
8bc2c96f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Doc/library/http.client.rst
Doc/library/http.client.rst
+6
-2
No files found.
Doc/library/http.client.rst
View file @
abcd4731
...
...
@@ -472,9 +472,13 @@ also send your request step by step, by using the four functions below.
an argument.
.. method:: HTTPConnection.endheaders()
.. method:: HTTPConnection.endheaders(
message_body=None
)
Send a blank line to the server, signalling the end of the headers.
Send a blank line to the server, signalling the end of the headers. The
optional message_body argument can be used to pass message body
associated with the request. The message body will be sent in
the same packet as the message headers if possible. The
message_body should be a string.
.. method:: HTTPConnection.send(data)
...
...
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