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
45ce4dc7
Kaydet (Commit)
45ce4dc7
authored
Tem 08, 2012
tarafından
Senthil Kumaran
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
issue 14826 - Address the buildbot failure ( explanation msg164973)
üst
b7451cec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
request.py
Lib/urllib/request.py
+1
-1
NEWS
Misc/NEWS
+2
-2
No files found.
Lib/urllib/request.py
Dosyayı görüntüle @
45ce4dc7
...
@@ -180,7 +180,7 @@ class Request:
...
@@ -180,7 +180,7 @@ class Request:
def
__init__
(
self
,
url
,
data
=
None
,
headers
=
{},
def
__init__
(
self
,
url
,
data
=
None
,
headers
=
{},
origin_req_host
=
None
,
unverifiable
=
False
):
origin_req_host
=
None
,
unverifiable
=
False
):
# unwrap('<URL:type://host/path>') --> 'type://host/path'
# unwrap('<URL:type://host/path>') --> 'type://host/path'
self
.
full_url
=
unwrap
(
to_bytes
(
url
)
)
self
.
full_url
=
unwrap
(
url
)
self
.
full_url
=
quote
(
self
.
full_url
,
safe
=
"
%
/:=&?~#+!$,;'@()*[]|"
)
self
.
full_url
=
quote
(
self
.
full_url
,
safe
=
"
%
/:=&?~#+!$,;'@()*[]|"
)
self
.
full_url
,
self
.
fragment
=
splittag
(
self
.
full_url
)
self
.
full_url
,
self
.
fragment
=
splittag
(
self
.
full_url
)
self
.
data
=
data
self
.
data
=
data
...
...
Misc/NEWS
Dosyayı görüntüle @
45ce4dc7
...
@@ -87,8 +87,8 @@ Core and Builtins
...
@@ -87,8 +87,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #14826: Quote urls in urllib.request.Request
identically to how they
- Issue #14826: Quote urls in urllib.request.Request
similar to how they are
are
quoted by urllib.request.URLopener. Allows urls to spaces in them to work
quoted by urllib.request.URLopener. Allows urls to spaces in them to work
transparently with urllib.request.urlopen(...). Patch contributed by Stephen
transparently with urllib.request.urlopen(...). Patch contributed by Stephen
Thorne.
Thorne.
...
...
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