Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ is_secure
Method
is_secure
django/http/request.py:329–330 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
327
return
self._get_scheme()
328
329
def
is_secure(self):
330
return
self.scheme ==
"https"
331
332
@property
333
def
encoding(self):
Callers
15
_get_raw_host
Method · 0.95
test_none
Method · 0.95
test_set_without_xheader
Method · 0.95
test_set_with_xheader_wrong
Method · 0.95
test_set_with_xheader_right
Method · 0.95
test_set_with_xheader_leftmost_right
Method · 0.95
test_set_with_xheader_leftmost_not_secure
Method · 0.95
test_set_with_xheader_multiple_not_secure
Method · 0.95
get_redirect_url
Method · 0.45
form_valid
Method · 0.45
get_feed
Method · 0.45
_origin_verified
Method · 0.45
Calls
no outgoing calls
Tested by
7
test_none
Method · 0.76
test_set_without_xheader
Method · 0.76
test_set_with_xheader_wrong
Method · 0.76
test_set_with_xheader_right
Method · 0.76
test_set_with_xheader_leftmost_right
Method · 0.76
test_set_with_xheader_leftmost_not_secure
Method · 0.76
test_set_with_xheader_multiple_not_secure
Method · 0.76