MCPcopy
hub / github.com/django/django / DisallowedHost

Class DisallowedHost

django/core/exceptions.py:54–57  ·  view source on GitHub ↗

HTTP_HOST header contains invalid value

Source from the content-addressed store, hash-verified

52
53
54class DisallowedHost(SuspiciousOperation):
55 """HTTP_HOST header contains invalid value"""
56
57 pass
58
59
60class DisallowedRedirect(SuspiciousOperation):

Callers 2

get_hostMethod · 0.90
suspicious_specFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected