# HG changeset patch # User Matthew Wild # Date 1489141145 0 # Node ID a7ef9b76589129427d9ef46984e1edc815fcb824 # Parent 538c54d2dab3cac8c0f527aa3e03c548844259b4 mod_http_upload: Return 201 on successful PUT (as per XEP-0363 and RFC 2616) (Thanks Flow) diff -r 538c54d2dab3 -r a7ef9b765891 mod_http_upload/mod_http_upload.lua --- a/mod_http_upload/mod_http_upload.lua Fri Mar 10 01:32:53 2017 +0100 +++ b/mod_http_upload/mod_http_upload.lua Fri Mar 10 10:19:05 2017 +0000 @@ -148,7 +148,7 @@ return 500; end module:log("info", "File uploaded by %s to slot %s", uploader, random); - return 200; + return 201; end -- FIXME Duplicated from net.http.server