diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-05 14:52:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-05 14:52:02 +0100 |
commit | 004eb51c2e7c4515121c69b05c66cae1f8c546da (patch) | |
tree | 2159962a4c7c88496ce2f99467b655f09b093289 /fshare.py | |
parent | 34b42c8820ad76c8d52d76d130b5445e31c1ec33 (diff) |
Send OK instead of No Content.
There actually is content - the URL.
Diffstat (limited to 'fshare.py')
-rwxr-xr-x | fshare.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -207,7 +207,7 @@ class FShareRequestHandler(hs.BaseHTTPRequestHandler): outpath = '/'.join((self.server.data_dir, fname)) if os.path.exists(outpath): - retcode = HTTPStatus.NO_CONTENT + retcode = HTTPStatus.OK os.remove(temp_path) else: retcode = HTTPStatus.CREATED |