diff options
-rwxr-xr-x | fbin.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -185,7 +185,7 @@ class Application(object): # X-Sendfile handling if settings.use_xsendfile: - headers = [('Last-Modified', file.date.strftime(rfc1123_format))] + headers = [('Content-Type', mime), ('Last-Modified', file.date.strftime(rfc1123_format))] if do_range: headers.append(('X-Sendfile2', '{filename} {range}'.format(filename = urllib.quote(filename.encode('utf8')), range = file_range))) if file_range.endswith('-'): |