comparison web/src/luan/modules/web/Http.luan @ 288:c4ed33e95889

fix Http.init_for_test() git-svn-id: https://luan-java.googlecode.com/svn/trunk@289 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 05 Dec 2014 03:49:54 +0000
parents eb27e765affb
children 899253043270
comparison
equal deleted inserted replaced
287:4d53e9fc1bd9 288:c4ed33e95889
28 text_writer = function() 28 text_writer = function()
29 result = {} 29 result = {}
30 return { 30 return {
31 write = function(...) 31 write = function(...)
32 for _, v in ipairs{...} do 32 for _, v in ipairs{...} do
33 result[#result+1] = v 33 result[#result+1] = to_string(v)
34 end 34 end
35 end; 35 end;
36 } 36 }
37 end; 37 end;
38 38