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
884f0585
Kaydet (Commit)
884f0585
authored
Mar 05, 2013
tarafından
Senthil Kumaran
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Reverting the changeset 5d76a4746d9d made for Issue #12921
üst
c37f835a
1e7551dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
server.py
Lib/http/server.py
+1
-1
NEWS
Misc/NEWS
+0
-4
No files found.
Lib/http/server.py
Dosyayı görüntüle @
884f0585
...
...
@@ -425,7 +425,7 @@ class BaseHTTPRequestHandler(socketserver.StreamRequestHandler):
# using _quote_html to prevent Cross Site Scripting attacks (see bug #1100201)
content
=
(
self
.
error_message_format
%
{
'code'
:
code
,
'message'
:
_quote_html
(
message
),
'explain'
:
explain
})
self
.
send_response
(
code
,
shortmsg
)
self
.
send_response
(
code
,
message
)
self
.
send_header
(
"Content-Type"
,
self
.
error_content_type
)
self
.
send_header
(
'Connection'
,
'close'
)
self
.
end_headers
()
...
...
Misc/NEWS
Dosyayı görüntüle @
884f0585
...
...
@@ -193,10 +193,6 @@ Core and Builtins
Library
-------
- Issue #12921: BaseHTTPServer'
s
send_error
should
send
the
correct
error
response
message
when
send_error
includes
a
message
in
addition
to
error
status
.
Patch
submitted
by
Karl
.
- Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when
the list is being resized concurrently.
...
...
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