Upwork All skils Test Answers >> Upwork answers of Django >> Complete Django Quiz Answers
Question: Which of the following statement is false about the django.http.HttpRequest.get_host() method ?
The Answer of this quiz is ' This method is invoked if some code accesses the Host header from request.META, thus providing a security measure to prevent an attacker from poisoning caches and password reset emails with links to malicious hosts by submitting requests with a fake HTTP Host header.'
The Answer of this quiz is ' This method is invoked if some code accesses the Host header from request.META, thus providing a security measure to prevent an attacker from poisoning caches and password reset emails with links to malicious hosts by submitting requests with a fake HTTP Host header.'
No comments:
Post a Comment