aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfshare.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fshare.py b/fshare.py
index 12b432d..c909a26 100755
--- a/fshare.py
+++ b/fshare.py
@@ -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