Superevents
Compare changes
- Tanner Prestegard authored
Properly handling content_type for serving files with X-Sendfile.
+ 8
− 0
@@ -4,6 +4,8 @@ from django.http import HttpResponse
@@ -29,6 +31,12 @@ def serve_file(file_path, ResponseClass=HttpResponse):