# HG changeset patch # User Waqas Hussain # Date 1292772538 -18000 # Node ID 70dd7f6026bd58131aca25fb2729a10c8e28aea4 # Parent 215c0ec638160bb5ea95547480789cf8812b7086 util.httpstream: For HTTP client responses, changing properties responseversion and responseheaders to httpversion and httpheaders, to match HTTP server requests. diff -r 215c0ec63816 -r 70dd7f6026bd util/httpstream.lua --- 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