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
71de040b
Commit
71de040b
authored
Jun 25, 2005
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug [ 1202475 ] httplib docs mentioning HTTPConnection.getreply
parent
0929b7e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
Doc/lib/libhttplib.tex
Doc/lib/libhttplib.tex
+10
-5
No files found.
Doc/lib/libhttplib.tex
View file @
71de040b
...
...
@@ -304,6 +304,8 @@ with the request.
\begin{methoddesc}
{
getresponse
}{}
Should be called after a request is sent to get the response from the server.
Returns an
\class
{
HTTPResponse
}
instance.
\note
{
Note that you must have read the whole response before you can send a new
request to the server.
}
\end{methoddesc}
\begin{methoddesc}
{
set
_
debuglevel
}{
level
}
...
...
@@ -320,11 +322,9 @@ Connect to the server specified when the object was created.
Close the connection to the server.
\end{methoddesc}
\begin{methoddesc}
{
send
}{
data
}
Send data to the server. This should be used directly only after the
\method
{
endheaders()
}
method has been called and before
\method
{
getreply()
}
has been called.
\end{methoddesc}
As an alternative to using the
\method
{
request()
}
method described above,
you can also send your request step by step, by using the four functions
below.
\begin{methoddesc}
{
putrequest
}{
request, selector
\optional
{
,
skip
\_
host
\optional
{
, skip
_
accept
_
encoding
}}}
...
...
@@ -349,6 +349,11 @@ each consisting of a tab and an argument.
Send a blank line to the server, signalling the end of the headers.
\end{methoddesc}
\begin{methoddesc}
{
send
}{
data
}
Send data to the server. This should be used directly only after the
\method
{
endheaders()
}
method has been called and before
\method
{
getresponse()
}
is called.
\end{methoddesc}
\subsection
{
HTTPResponse Objects
\label
{
httpresponse-objects
}}
...
...
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