mirror of
https://github.com/etesync/server
synced 2025-01-04 05:30:53 +00:00
10 lines
200 B
Python
10 lines
200 B
Python
from django.http import HttpResponse
|
|
|
|
|
|
def sendfile(request, filename, **kwargs):
|
|
filename = str(filename)
|
|
response = HttpResponse()
|
|
response['X-Sendfile'] = filename
|
|
|
|
return response
|