mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules.
[prosody.git] / util / httpstream.lua
index c9f2f691627c7d03478a7f7b5f3b9954ed848632..190b3ed657a5fc37ee36f1f59779a295b3d545bd 100644 (file)
@@ -104,8 +104,8 @@ local function parser(success_cb, parser_type, options_cb)
                        
                        success_cb({
                                code = status_code;
-                               responseversion = httpversion;
-                               responseheaders = headers;
+                               httpversion = httpversion;
+                               headers = headers;
                                body = body;
                        });
                end