Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
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
django
Commits
b21e96d0
Kaydet (Commit)
b21e96d0
authored
Haz 27, 2013
tarafından
Andrew Godwin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #1311 from loic/ticket20619_take2
Fixed missing initializations in WSGIRequest. Refs #20619
üst
8db264cb
48ce167d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
wsgi.py
django/core/handlers/wsgi.py
+1
-0
request.py
django/http/request.py
+4
-0
No files found.
django/core/handlers/wsgi.py
Dosyayı görüntüle @
b21e96d0
...
...
@@ -103,6 +103,7 @@ class WSGIRequest(http.HttpRequest):
content_length
=
0
self
.
_stream
=
LimitedStream
(
self
.
environ
[
'wsgi.input'
],
content_length
)
self
.
_read_started
=
False
self
.
resolver_match
=
None
def
_is_secure
(
self
):
return
'wsgi.url_scheme'
in
self
.
environ
and
self
.
environ
[
'wsgi.url_scheme'
]
==
'https'
...
...
django/http/request.py
Dosyayı görüntüle @
b21e96d0
...
...
@@ -39,6 +39,10 @@ class HttpRequest(object):
_upload_handlers
=
[]
def
__init__
(
self
):
# WARNING: The `WSGIRequest` subclass doesn't call `super`.
# Any variable assignment made here should also happen in
# `WSGIRequest.__init__()`.
self
.
GET
,
self
.
POST
,
self
.
COOKIES
,
self
.
META
,
self
.
FILES
=
{},
{},
{},
{},
{}
self
.
path
=
''
self
.
path_info
=
''
...
...
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