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
540f0451
Kaydet (Commit)
540f0451
authored
Agu 10, 2016
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Correct misspellings of ISO-8859
üst
4199bbaf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
http.client.rst
Doc/library/http.client.rst
+2
-2
base64mime.py
Lib/email/base64mime.py
+1
-1
quoprimime.py
Lib/email/quoprimime.py
+1
-1
test_email.py
Lib/test/test_email/test_email.py
+2
-2
No files found.
Doc/library/http.client.rst
Dosyayı görüntüle @
540f0451
...
...
@@ -227,12 +227,12 @@ HTTPConnection Objects
If *body* is specified, the specified data is sent after the headers are
finished. It may be a string, a :term:`bytes-like object`, an open
:term:`file object`, or an iterable of :term:`bytes-like object`\s. If
*body* is a string, it is encoded as ISO-885
1
-1, the default for HTTP. If
*body* is a string, it is encoded as ISO-885
9
-1, the default for HTTP. If
it is a bytes-like object the bytes are sent as is. If it is a :term:`file
object`, the contents of the file is sent; this file object should support
at least the ``read()`` method. If the file object has a ``mode``
attribute, the data returned by the ``read()`` method will be encoded as
ISO-885
1
-1 unless the ``mode`` attribute contains the substring ``b``,
ISO-885
9
-1 unless the ``mode`` attribute contains the substring ``b``,
otherwise the data returned by ``read()`` is sent as is. If *body* is an
iterable, the elements of the iterable are sent as is until the iterable is
exhausted.
...
...
Lib/email/base64mime.py
Dosyayı görüntüle @
540f0451
...
...
@@ -103,7 +103,7 @@ def decode(string):
"""Decode a raw base64 string, returning a bytes object.
This function does not parse a full MIME header value encoded with
base64 (like =?iso-88
95
-1?b?bmloISBuaWgh?=) -- please use the high
base64 (like =?iso-88
59
-1?b?bmloISBuaWgh?=) -- please use the high
level email.header class for that functionality.
"""
if
not
string
:
...
...
Lib/email/quoprimime.py
Dosyayı görüntüle @
540f0451
...
...
@@ -292,7 +292,7 @@ def header_decode(s):
"""Decode a string encoded with RFC 2045 MIME header `Q' encoding.
This function does not parse a full MIME header value encoded with
quoted-printable (like =?iso-88
95
-1?q?Hello_World?=) -- please use
quoted-printable (like =?iso-88
59
-1?q?Hello_World?=) -- please use
the high level email.header class for that functionality.
"""
s
=
s
.
replace
(
'_'
,
' '
)
...
...
Lib/test/test_email/test_email.py
Dosyayı görüntüle @
540f0451
...
...
@@ -2302,9 +2302,9 @@ Re: =?mac-iceland?q?r=8Aksm=9Arg=8Cs?= baz foo bar =?mac-iceland?q?r=8Aksm?=
def
test_rfc2047_Q_invalid_digits
(
self
):
# issue 10004.
s
=
'=?iso-8
6
59-1?Q?andr=e9=zz?='
s
=
'=?iso-8
8
59-1?Q?andr=e9=zz?='
self
.
assertEqual
(
decode_header
(
s
),
[(
b
'andr
\xe9
=zz'
,
'iso-8
6
59-1'
)])
[(
b
'andr
\xe9
=zz'
,
'iso-8
8
59-1'
)])
def
test_rfc2047_rfc2047_1
(
self
):
# 1st testcase at end of rfc2047
...
...
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