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
300ce195
Commit
300ce195
authored
Jul 10, 2004
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Patch #972310] Apply correction to docs
parent
0fff6c86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
Doc/lib/liburllib2.tex
Doc/lib/liburllib2.tex
+3
-10
No files found.
Doc/lib/liburllib2.tex
View file @
300ce195
...
...
@@ -365,15 +365,14 @@ of \function{urlopen()}.
OpenerDirector objects open URLs in three stages:
The order in which these methods are called within each stage is
determined by sorting the handler instances.
\begin{enumerate}
\item
Every handler with a method named like
\method
{
\var
{
protocol
}_
request()
}
has that method called to
pre-process the request.
The order in which these methods are called is determined by
sorting the handler instances by the
\member
{
.processor
_
order
}
attribute.
\item
Handlers with a method named like
\method
{
\var
{
protocol
}_
open()
}
are called to handle the request.
This stage ends when a handler either returns a
...
...
@@ -391,16 +390,10 @@ OpenerDirector objects open URLs in three stages:
the parent
\class
{
OpenerDirector
}
instance's
\method
{
.open()
}
and
\method
{
.error()
}
methods.
The order in which these methods are called is determined by
sorting the handler instances.
\item
Every handler with a method named like
\method
{
\var
{
protocol
}_
response()
}
has that method called to
post-process the response.
The order in which these methods are called is determined by
sorting the handler instances by the
\member
{
.processor
_
order
}
attribute.
\end{enumerate}
\subsection
{
BaseHandler Objects
\label
{
base-handler-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