changeset 253:dddf4e85bfe4

finish basic web testing git-svn-id: https://luan-java.googlecode.com/svn/trunk@254 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Tue, 21 Oct 2014 02:08:21 +0000
parents 3896138955b1
children e0fb8a49e031
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, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
Binary file dist/jars/luan-core-trunk.jar has changed
Binary file dist/jars/luan-logging-trunk.jar has changed
Binary file dist/jars/luan-lucene-trunk.jar has changed
Binary file dist/jars/luan-mail-trunk.jar has changed
Binary file dist/jars/luan-web-trunk.jar has changed
--- a/web/src/luan/modules/web/Http.luan	Mon Oct 20 02:23:00 2014 +0000
+++ b/web/src/luan/modules/web/Http.luan	Tue Oct 21 02:08:21 2014 +0000
@@ -40,6 +40,10 @@
 			cookies[name] = value
 		end;
 
+		remove_cookie = function(name)
+			cookies[name] = nil
+		end;
+
 		send_redirect = function(url)
 			response.redirect = url
 		end;