Mercurial Hosting > luan
diff http/src/luan/modules/http/HttpServicer.java @ 572:f1601a4ce1aa
fix stack when calling meta-methods
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 12 Jul 2015 21:34:23 -0600 |
parents | aa17ad66a370 |
children | 6cc2f047019b |
line wrap: on
line diff
--- a/http/src/luan/modules/http/HttpServicer.java Wed Jul 08 23:10:52 2015 -0600 +++ b/http/src/luan/modules/http/HttpServicer.java Sun Jul 12 21:34:23 2015 -0600 @@ -155,7 +155,6 @@ module.rawPut("response",responseTbl); luan.call(fn,"<http>"); -// setResponse(module,response); return true; } @@ -180,9 +179,6 @@ throw new IllegalArgumentException("value must be string or integer for headers table"); } } - // no more headers - responseTbl.rawPut("headers",null); - responseTbl.rawPut("header",null); }