Set Accept-Ranges to none for text file handler

This commit is contained in:
Fierelier 2022-06-08 11:21:38 +02:00
parent c6bc9d5aea
commit 333d3a3782

View File

@ -15,7 +15,7 @@ def handleText(env):
env["self"].connection,"200 OK",
{
"Content-Type": mimetypesText[env["fileExt"]]+ "; charset=UTF-8",
"Accept-Ranges": "bytes"
"Accept-Ranges": "none",
"Date": env["requestTimeFormatted"],
"Last-Modified": lastModified
},data