changeset 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 4d53e9fc1bd9
children ae7ae2755b48
files dist/jars/luan-core-trunk.jar dist/jars/luan-logging-trunk.jar dist/jars/luan-lucene-trunk.jar dist/jars/luan-mail-trunk.jar dist/jars/luan-web-trunk.jar web/src/luan/modules/web/Http.luan
diffstat 6 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r 4d53e9fc1bd9 -r c4ed33e95889 dist/jars/luan-core-trunk.jar
Binary file dist/jars/luan-core-trunk.jar has changed
diff -r 4d53e9fc1bd9 -r c4ed33e95889 dist/jars/luan-logging-trunk.jar
Binary file dist/jars/luan-logging-trunk.jar has changed
diff -r 4d53e9fc1bd9 -r c4ed33e95889 dist/jars/luan-lucene-trunk.jar
Binary file dist/jars/luan-lucene-trunk.jar has changed
diff -r 4d53e9fc1bd9 -r c4ed33e95889 dist/jars/luan-mail-trunk.jar
Binary file dist/jars/luan-mail-trunk.jar has changed
diff -r 4d53e9fc1bd9 -r c4ed33e95889 dist/jars/luan-web-trunk.jar
Binary file dist/jars/luan-web-trunk.jar has changed
diff -r 4d53e9fc1bd9 -r c4ed33e95889 web/src/luan/modules/web/Http.luan
--- a/web/src/luan/modules/web/Http.luan	Thu Dec 04 09:27:20 2014 +0000
+++ b/web/src/luan/modules/web/Http.luan	Fri Dec 05 03:49:54 2014 +0000
@@ -30,7 +30,7 @@
 			return {
 				write = function(...)
 					for _, v in ipairs{...} do
-						result[#result+1] = v
+						result[#result+1] = to_string(v)
 					end
 				end;
 			}