|
I noticed that |
Answered by
davidism
Apr 9, 2025
Replies: 1 comment
|
The |
0 replies
Answer selected by
septatrix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
hostproperty is cached per request object. There is a new request object for each request, so the cached property from one request doesn't affect another. If you want to set a global default, you'd set theRequest.trusted_hostsclass attribute. If you want to override it for a specific request, you'd set it early in the request handling before accessinghost. Cached properties can also be deleted to reset them.