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
5ceadc8c
Kaydet (Commit)
5ceadc8c
authored
Ock 13, 2001
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No text file relying on significant trailing whitespace is robust under
modification. Removed the need for that.
üst
b2825205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
httplib.py
Lib/httplib.py
+16
-16
No files found.
Lib/httplib.py
Dosyayı görüntüle @
5ceadc8c
...
...
@@ -25,19 +25,19 @@ request. This diagram details these state transitions:
v
Unread-response [Response-headers-read]
|
\
____________________
|
\
| response.read()
| putrequest()
v
v
Idle
Req-started-unread-response
______
_
/|
/ |
response.read() |
| ( putheader() )* endheaders()
v
v
Request-started
Req-sent-unread-response
|
| response.read()
v
Request-sent
|
|
| response.read() | putrequest()
v v
Idle Req-started-unread-response
______/|
/ |
response.read() | | ( putheader() )* endheaders()
v v
Request-started Req-sent-unread-response
|
| response.read()
v
Request-sent
This diagram presents the following rules:
-- a second request may not be started until {response-headers-read}
...
...
@@ -566,7 +566,7 @@ class FakeSocket:
interface of a real socket. It only supports modes 'r' and
'rb' and the bufsize argument is ignored.
The returned object contains *all* of the file data
The returned object contains *all* of the file data
"""
if
mode
!=
'r'
and
mode
!=
'rb'
:
raise
UnimplementedFileMode
()
...
...
@@ -719,11 +719,11 @@ if hasattr(socket, 'ssl'):
Python 1.5.2 did not have an HTTPS class, but it defined an
interface for sending http requests that is also useful for
https.
https.
"""
_connection_class
=
HTTPSConnection
class
HTTPException
(
Exception
):
pass
...
...
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