Mercurial > prosody-modules
diff mod_http_upload/mod_http_upload.lua @ 2065:624e3fed6f92
mod_http_upload: Trim trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Mar 2016 13:47:13 +0100 |
parents | 40056a27f394 |
children | cb74e4ab13f0 |
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua Mon Mar 07 12:44:29 2016 +0100 +++ b/mod_http_upload/mod_http_upload.lua Mon Mar 07 13:47:13 2016 +0100 @@ -3,7 +3,7 @@ -- Copyright (C) 2015 Kim Alvefur -- -- This file is MIT/X11 licensed. --- +-- -- Implementation of HTTP Upload file transfer mechanism used by Conversations -- @@ -130,7 +130,7 @@ if response.finished then return; end response.finished = true; response.conn._http_open_response = nil; - + local status_line = "HTTP/"..response.request.httpversion.." "..(response.status or codes[response.status_code]); local headers = response.headers; body = body or response.body or "";