moonbridge

changeset 190:a6a704ca86ee

Use rawget in __index metamethod in HTTP module
author jbe
date Fri Jun 19 19:27:01 2015 +0200 (2015-06-19)
parents 61f515c1acaa
children ab12ecb399f1
files moonbridge_http.lua
line diff
     1.1 --- a/moonbridge_http.lua	Fri Jun 19 19:23:34 2015 +0200
     1.2 +++ b/moonbridge_http.lua	Fri Jun 19 19:27:01 2015 +0200
     1.3 @@ -999,7 +999,7 @@
     1.4          then
     1.5            prepare()
     1.6            consume_all()
     1.7 -          return self[key]
     1.8 +          return rawget(self, key)
     1.9          end
    1.10        end
    1.11        -- variable to store request target

Impressum / About Us