Mercurial Hosting > luan
comparison web/src/luan/modules/web/Http.luan @ 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 | 9e0d4452e649 |
comparison
equal
deleted
inserted
replaced
252:3896138955b1 | 253:dddf4e85bfe4 |
---|---|
38 | 38 |
39 set_cookie = function(name,value) | 39 set_cookie = function(name,value) |
40 cookies[name] = value | 40 cookies[name] = value |
41 end; | 41 end; |
42 | 42 |
43 remove_cookie = function(name) | |
44 cookies[name] = nil | |
45 end; | |
46 | |
43 send_redirect = function(url) | 47 send_redirect = function(url) |
44 response.redirect = url | 48 response.redirect = url |
45 end; | 49 end; |
46 | 50 |
47 } | 51 } |