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
65a7975f
Kaydet (Commit)
65a7975f
authored
Agu 03, 2004
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #994595: Recognize Basic auth even if other schemes are offered.
Will backport to 2.3.
üst
7db57b3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
urllib2.py
Lib/urllib2.py
+1
-1
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/urllib2.py
Dosyayı görüntüle @
65a7975f
...
@@ -714,7 +714,7 @@ class AbstractBasicAuthHandler:
...
@@ -714,7 +714,7 @@ class AbstractBasicAuthHandler:
# XXX could be multiple headers
# XXX could be multiple headers
authreq
=
headers
.
get
(
authreq
,
None
)
authreq
=
headers
.
get
(
authreq
,
None
)
if
authreq
:
if
authreq
:
mo
=
AbstractBasicAuthHandler
.
rx
.
mat
ch
(
authreq
)
mo
=
AbstractBasicAuthHandler
.
rx
.
sear
ch
(
authreq
)
if
mo
:
if
mo
:
scheme
,
realm
=
mo
.
groups
()
scheme
,
realm
=
mo
.
groups
()
if
scheme
.
lower
()
==
'basic'
:
if
scheme
.
lower
()
==
'basic'
:
...
...
Misc/NEWS
Dosyayı görüntüle @
65a7975f
...
@@ -72,6 +72,9 @@ Extension modules
...
@@ -72,6 +72,9 @@ Extension modules
Library
Library
-------
-------
-
urllib2
now
recognizes
Basic
authentication
even
if
other
authentication
schemes
are
offered
.
-
Bug
#
1001053.
wave
.
open
()
now
accepts
unicode
filenames
.
-
Bug
#
1001053.
wave
.
open
()
now
accepts
unicode
filenames
.
-
gzip
.
GzipFile
has
a
new
fileno
()
method
,
to
retrieve
the
handle
of
the
-
gzip
.
GzipFile
has
a
new
fileno
()
method
,
to
retrieve
the
handle
of
the
...
...
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