Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
d9cf8e7e
Kaydet (Commit)
d9cf8e7e
authored
Tem 14, 2003
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Markup consistency nits.
üst
9753ae12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
liburllib2.tex
Doc/lib/liburllib2.tex
+17
-15
No files found.
Doc/lib/liburllib2.tex
Dosyayı görüntüle @
d9cf8e7e
...
@@ -50,17 +50,18 @@ which case it must be possible to call the constructor without
...
@@ -50,17 +50,18 @@ which case it must be possible to call the constructor without
any parameters). Instances of the following classes will be in
any parameters). Instances of the following classes will be in
front of the
\var
{
handler
}
s, unless the
\var
{
handler
}
s contain
front of the
\var
{
handler
}
s, unless the
\var
{
handler
}
s contain
them, instances of them or subclasses of them:
them, instances of them or subclasses of them:
\class
{
ProxyHandler
}
,
\class
{
UnknownHandler
}
,
\class
{
HTTPHandler
}
,
\c
ode
{
ProxyHandler, UnknownHandler, HTTPHandler, HTTPDefaultErrorHandler,
\c
lass
{
HTTPDefaultErrorHandler
}
,
\class
{
HTTPRedirectHandler
}
,
HTTPRedirectHandler, FTPHandler,
FileHandler
}
\class
{
FTPHandler
}
,
\class
{
FileHandler
}
If the Python installation has SSL support (
\function
{
socket.ssl()
}
If the Python installation has SSL support (
\function
{
socket.ssl()
}
exists),
\class
{
HTTPSHandler
}
will also be added.
exists),
\class
{
HTTPSHandler
}
will also be added.
Beginning in Python 2.3, a
\class
{
BaseHandler
}
subclass may also change its
Beginning in Python 2.3, a
\class
{
BaseHandler
}
subclass may also
\var
{
handler
_
order
}
member variable to modify its position in the handlers
change its
\member
{
handler
_
order
}
member variable to modify its
list. Besides
\class
{
ProxyHandler
}
, which has
\var
{
handler
_
order
}
of
position in the handlers list. Besides
\class
{
ProxyHandler
}
, which has
\code
{
100
}
, all handlers currently have it set to
\code
{
500
}
.
\member
{
handler
_
order
}
of
\code
{
100
}
, all handlers currently have it
set to
\code
{
500
}
.
\end{funcdesc}
\end{funcdesc}
...
@@ -416,20 +417,21 @@ for \method{http_error_default()}.
...
@@ -416,20 +417,21 @@ for \method{http_error_default()}.
fp, code, msg, hdrs
}
fp, code, msg, hdrs
}
Return a
\class
{
Request
}
or
\code
{
None
}
in response to a redirect.
Return a
\class
{
Request
}
or
\code
{
None
}
in response to a redirect.
This is called by the default implementations of the
This is called by the default implementations of the
\
code
{
http
_
error
_
30x()
}
methods when a redirection is received from
\
method
{
http
_
error
_
30*()
}
methods when a redirection is received
the server. If a redirection should take place, return a new
from
the server. If a redirection should take place, return a new
\class
{
Request
}
to allow
\
code
{
http
_
error
_
30x
()
}
to perform the
\class
{
Request
}
to allow
\
method
{
http
_
error
_
30*
()
}
to perform the
redirect. Otherwise, raise
\exception
{
HTTPError
}
if no other
redirect. Otherwise, raise
\exception
{
HTTPError
}
if no other
\class
{
Handler
}
should try to handle this URL, or return
\code
{
None
}
\class
{
Handler
}
should try to handle this URL, or return
\code
{
None
}
if you can't but another
\class
{
Handler
}
might.
if you can't but another
\class
{
Handler
}
might.
\note
{
The default implementation of this method does not strictly
\begin{notice}
follow
\rfc
{
2616
}
, which says that 301 and 302 responses to POST
The default implementation of this method does not strictly
follow
\rfc
{
2616
}
, which says that 301 and 302 responses to
\code
{
POST
}
requests must not be automatically redirected without confirmation by
requests must not be automatically redirected without confirmation by
the user. In reality, browsers do allow automatic redirection of
the user. In reality, browsers do allow automatic redirection of
these responses, changing the POST to a
GET
, and the default
these responses, changing the POST to a
\code
{
GET
}
, and the default
implementation reproduces this behavio
ur.
}
implementation reproduces this behavio
r.
\end{notice}
\end{methoddesc}
\end{methoddesc}
...
...
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