Mercurial Hosting > luan
comparison src/luan/modules/http/Http.luan @ 1109:8c999ab85e33
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 02 Aug 2017 12:36:28 -0600 |
parents | b1c3baf3aa46 |
children | d30d400fd43d |
comparison
equal
deleted
inserted
replaced
1108:f12c7cab0e14 | 1109:8c999ab85e33 |
---|---|
97 | 97 |
98 return this | 98 return this |
99 end | 99 end |
100 | 100 |
101 local STATUS = { | 101 local STATUS = { |
102 OK = 200; | 102 OK = 200 |
103 MOVED_PERMANENTLY = 301 | |
103 -- add more as needed | 104 -- add more as needed |
104 } | 105 } |
105 Http.STATUS = STATUS | 106 Http.STATUS = STATUS |
106 | 107 |
107 function Http.new_response(this) | 108 function Http.new_response(this) |