aboutsummaryrefslogtreecommitdiff
path: root/fshare.py
diff options
context:
space:
mode:
Diffstat (limited to 'fshare.py')
-rwxr-xr-xfshare.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fshare.py b/fshare.py
index c909a26..188f62f 100755
--- a/fshare.py
+++ b/fshare.py
@@ -224,6 +224,7 @@ class FShareRequestHandler(hs.BaseHTTPRequestHandler):
reply = ('https://%s/%s' % (host, fname)).encode('ascii')
self.send_response(retcode)
+ self.send_header('Content-Type', 'text/plain')
self.send_header('Content-Length', '%d' % len(reply))
self.end_headers()