Software /
code /
prosody-modules
Changeset
2065:624e3fed6f92
mod_http_upload: Trim trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Mar 2016 13:47:13 +0100 |
parents | 2064:2a82c55762a7 |
children | 2066:cb74e4ab13f0 |
files | mod_http_upload/mod_http_upload.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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 "";