Software /
code /
prosody
Changeset
3921:70dd7f6026bd
util.httpstream: For HTTP client responses, changing properties responseversion and responseheaders to httpversion and httpheaders, to match HTTP server requests.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 19 Dec 2010 20:28:58 +0500 |
parents | 3920:215c0ec63816 |
children | 3922:b77bafa4c502 |
files | util/httpstream.lua |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/httpstream.lua Sun Dec 19 20:27:13 2010 +0500 +++ b/util/httpstream.lua Sun Dec 19 20:28:58 2010 +0500 @@ -104,9 +104,12 @@ success_cb({ code = status_code; + httpversion = httpversion; + headers = headers; + body = body; + -- COMPAT the properties below are deprecated responseversion = httpversion; responseheaders = headers; - body = body; }); end else coroutine.yield("unknown-parser-type"); end