INGREDIENTS
1 serving
wraps)
1 serving
request
1 serving
super.__init
1 serving
request
1 serving
user_agent = request.meta.get)
1 serving
host = request.get_host
1 serving
request
61
gecko) chrome0.3163.100 safari/537.36')
3
var/www/coronaapi.algodata.de/venv/lib/python7/site-packages/django/http/request.py in get_host
1 serving
return the port number
1 serving
port = self.meta['http_x_forwarded_port']
1 serving
port
3
var/www/coronaapi.algodata.de/venv/lib/python7/site-packages/django/core/handlers/exception.py in inner
1 serving
this decorator is automatically applied to all middleware to ensure that
1 serving
no middleware leaks an exception and that the next middleware in the stack
1 serving
can rely on getting a response instead of an exception
1 serving
response = get_response)
1 serving
…
1 serving
response = response_for_exception)
1 serving
return response
1 serving
return inner
1 serving
▶ local vars
1 serving
variable
1 serving
value
1 serving
exc
1 T
disallowedhost)
1 serving
get_response
748
django.middleware.common.commonmiddleware object at 0x7f066222d
3
var/www/coronaapi.algodata.de/venv/lib/python7/site-packages/django/utils/deprecation.py in __call
1 serving
self.get_response = get_response
1 serving
response = none
1 serving
response = self.process_request)
1 serving
…
1 serving
response = response
1 serving
response = self.process_response)
1 serving
return response
1 serving
▶ local vars
1 serving
variable
1 serving
value
1 serving
response
1 serving
none
1 serving
self
748
django.middleware.common.commonmiddleware object at 0x7f066222d
3
var/www/coronaapi.algodata.de/venv/lib/python7/site-packages/django/middleware/common.py in process_request
1 serving
raise permissiondenied)
1 serving
check
1 serving
…
1 serving
must_prepend = settings.prepend_www and host and not host.startswith)
1 serving
redirect_url = ) if must_prepend else
1 serving
check if a slash should be appended
1 serving
path = self.get_full_path_with_slash)
1 serving
▶ local vars
1 serving
variable
1 serving
value
1 serving
self
748
django.middleware.common.commonmiddleware object at 0x7f066222d
1 serving
user_agent
1 oz
applewebkit/537.36
1 serving
return host
1 T
msg = "invalid h tp_host header: %r." % host
1 serving
msg += " you may need to add %r to allowed_hosts." % domain
499517/500000
msg += " the domain name provided is not valid according to rfc
1 serving
raise disallowedhost)
1 serving
…
1 serving
▶ local vars
1 serving
variable
1 serving
value
1 serving
allowed_hosts
['1'
1 serving
domain
1 serving
consciousculturefestival.com
1 serving
host
1 serving
consciousculturefestival.com
1 serving
msg
1 T
1 serving
add 'consciousculturefestival.com' to allowed_hosts.")
1 serving
self