|
|
@ -552,7 +552,7 @@ parse_request(struct REQUEST *req)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
strftime(req->mtime, sizeof(req->mtime), RFC1123, gmtime(&req->bst.st_mtime));
|
|
|
|
strftime(req->mtime, sizeof(req->mtime), RFC1123, gmtime(&req->bst.st_mtime));
|
|
|
|
req->mime = "text/html";
|
|
|
|
req->mime = "text/html; charset=utf-8";
|
|
|
|
req->dir = get_dir(req,filename);
|
|
|
|
req->dir = get_dir(req,filename);
|
|
|
|
if (NULL == req->body) {
|
|
|
|
if (NULL == req->body) {
|
|
|
|
/* We arrive here if opendir failed, probably due to -EPERM
|
|
|
|
/* We arrive here if opendir failed, probably due to -EPERM
|
|
|
|