summaryrefslogtreecommitdiffhomepage
path: root/libs/http/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-06-28 23:18:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-06-28 23:18:10 +0000
commitb84259d374b769efbec75ad47f1ea882bd782d5a (patch)
tree820be87b7cc9c2ec00fb82943acda18c657a23ae /libs/http/luasrc
parentd7476bd131a4e1e7aab5039c24e02a6865508f69 (diff)
* libs/http: added support for directory listings
Diffstat (limited to 'libs/http/luasrc')
-rw-r--r--libs/http/luasrc/http/protocol.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/http/luasrc/http/protocol.lua b/libs/http/luasrc/http/protocol.lua
index 67b425857..8fb5e6f2f 100644
--- a/libs/http/luasrc/http/protocol.lua
+++ b/libs/http/luasrc/http/protocol.lua
@@ -779,6 +779,7 @@ end
-- Status codes
statusmsg = {
[200] = "OK",
+ [301] = "Moved Permanently",
[304] = "Not Modified",
[400] = "Bad Request",
[403] = "Forbidden",