moonbridge

changeset 30:9c0520d36f97

Bugfix in method request:send_text_status_response(...) (added missing "self" in function definition)
author jbe
date Tue Feb 17 00:49:02 2015 +0100 (2015-02-17)
parents 41160dd94b11
children 5ab8c0260e59
files moonbridge_http.lua
line diff
     1.1 --- a/moonbridge_http.lua	Sat Jan 31 00:00:36 2015 +0100
     1.2 +++ b/moonbridge_http.lua	Tue Feb 17 00:49:02 2015 +0100
     1.3 @@ -756,7 +756,7 @@
     1.4          end,
     1.5          -- helper function to send simple status responses,
     1.6          -- e.g. to send errors for malformed requests, etc.:
     1.7 -        send_text_status_response = function(status, text)
     1.8 +        send_text_status_response = function(self, status, text)
     1.9            request:send_status(status)
    1.10            request:send_header("Content-Type", "text/plain")
    1.11            if not connection_close_responded then

Impressum / About Us