util.httpstream: A little cleanup of the HTTP path.
authorWaqas Hussain <waqas20@gmail.com>
Sun, 19 Dec 2010 15:27:13 +0000 (20:27 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Sun, 19 Dec 2010 15:27:13 +0000 (20:27 +0500)
util/httpstream.lua

index bdc3fce776c45827ffdf7cd533d7df69dc1a4cdc..c9f2f691627c7d03478a7f7b5f3b9954ed848632 100644 (file)
@@ -104,12 +104,9 @@ local function parser(success_cb, parser_type, options_cb)
                        
                        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