Have redbean show zip listing as default / handler
If an "index.lua" or "index.html" doesn't exist in zip file or the filesystem, and no redirects have been defined for it either, then redbean will render a listing of the zip central directory content only if the request uri points to the root path.
This commit is contained in:
@@ -16,8 +16,8 @@ GET, kHttpGet
|
||||
HEAD, kHttpHead
|
||||
POST, kHttpPost
|
||||
PUT, kHttpPut
|
||||
CONNECT, kHttpConnect
|
||||
OPTIONS, kHttpOptions
|
||||
CONNECT, kHttpConnect
|
||||
TRACE, kHttpTrace
|
||||
COPY, kHttpCopy
|
||||
LOCK, kHttpLock
|
||||
|
||||
Reference in New Issue
Block a user