Sun, 19 Dec 2010 20:28:58 +0500
util.httpstream: For HTTP client responses, changing properties responseversion and responseheaders to httpversion and httpheaders, to match HTTP server requests.
util/httpstream.lua | file | annotate | diff | comparison | revisions |
--- 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