Skip to content
- Home
- Computer Science MCQs
- Django
- Which Django middleware is used for handling Cross-Origin…
Which Django middleware is used for handling Cross-Origin Resource Sharing (CORS)?
-
A
CORSMiddleware
-
B
CrossOriginMiddleware
-
C
django-cors-headers
Correct answer
-
D
CorsMiddleware
Correct answer
C. django-cors-headers
11 views
Explanation
django-cors-headers is a third-party middleware used for handling CORS in Django applications.
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ
Need help? Find an MCQ, a short question, a test or your certificate. Just ask.