Mercurial Hosting > luan
diff http/src/luan/modules/http/Http_test.luan @ 580:1e69d9c21461
add Table.clear();
add Http.response.reset();
fix http/run;
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 21 Jul 2015 14:56:41 -0600 |
parents | f1601a4ce1aa |
children | 35dde32c02ab |
line wrap: on
line diff
--- a/http/src/luan/modules/http/Http_test.luan Thu Jul 16 15:14:31 2015 -0600 +++ b/http/src/luan/modules/http/Http_test.luan Tue Jul 21 14:56:41 2015 -0600 @@ -31,7 +31,7 @@ Http.response = Http.new_response{ text_writer = function() - set_metatable(Http.response.headers,M.sent_error_metatable) + Http.sent_headers(Http.response.headers) M.result = Io.uri "string:" M.text_writer = M.result.text_writer() return M.text_writer