Mercurial Hosting > luan
diff http/src/luan/modules/http/Http.luan @ 568:aa17ad66a370 0.11
fix http response headers
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 07 Jul 2015 19:32:34 -0600 |
parents | e3b0846dc2ef |
children | f1601a4ce1aa |
line wrap: on
line diff
--- a/http/src/luan/modules/http/Http.luan Sun Jul 05 19:29:56 2015 -0600 +++ b/http/src/luan/modules/http/Http.luan Tue Jul 07 19:32:34 2015 -0600 @@ -102,11 +102,17 @@ HttpServicer.removeCookie(M.request.java,this.java,name,domain) end + function this.set() + HttpServicer.setResponse(this,this.java) + end + function this.text_writer() + this.set() return IoLuan.textWriter(this.java.getWriter()) end function this.binary_writer() + this.set() return IoLuan.binaryWriter(this.java.getOutputStream()) end end