Mercurial Hosting > luan
comparison src/luan/modules/http/Http.luan @ 1383:a3d0d1c2ce89
add NotFound to luanhost
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 01 Aug 2019 16:49:47 -0600 |
parents | 4c5548a61d4f |
children | 27efb1fcbcb5 |
comparison
equal
deleted
inserted
replaced
1382:9604579c1c9b | 1383:a3d0d1c2ce89 |
---|---|
73 | 73 |
74 local STATUS = { | 74 local STATUS = { |
75 OK = 200 | 75 OK = 200 |
76 MOVED_PERMANENTLY = 301 | 76 MOVED_PERMANENTLY = 301 |
77 FOUND = 302 | 77 FOUND = 302 |
78 NOT_FOUND = 404 | |
78 -- add more as needed | 79 -- add more as needed |
79 } | 80 } |
80 Http.STATUS = STATUS | 81 Http.STATUS = STATUS |
81 | 82 |
82 function Http.new_response() | 83 function Http.new_response() |