Mercurial Hosting > luan
comparison http/src/luan/modules/http/Http_test.luan @ 571:cd944b010f25
fix Http_test
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 08 Jul 2015 23:10:52 -0600 |
parents | 473e456444ff |
children | f1601a4ce1aa |
comparison
equal
deleted
inserted
replaced
570:2fb84a1ae981 | 571:cd944b010f25 |
---|---|
25 Http.request.cookie = M.cookie | 25 Http.request.cookie = M.cookie |
26 | 26 |
27 Http.response = Http.new_response{ | 27 Http.response = Http.new_response{ |
28 | 28 |
29 text_writer = function() | 29 text_writer = function() |
30 Http.response.headers = nil | |
30 M.result = Io.uri "string:" | 31 M.result = Io.uri "string:" |
31 M.text_writer = M.result.text_writer() | 32 M.text_writer = M.result.text_writer() |
32 return M.text_writer | 33 return M.text_writer |
33 end; | 34 end; |
34 | 35 |