Set Accept-Ranges to none for text file handler
This commit is contained in:
parent
c6bc9d5aea
commit
333d3a3782
@ -15,7 +15,7 @@ def handleText(env):
|
|||||||
env["self"].connection,"200 OK",
|
env["self"].connection,"200 OK",
|
||||||
{
|
{
|
||||||
"Content-Type": mimetypesText[env["fileExt"]]+ "; charset=UTF-8",
|
"Content-Type": mimetypesText[env["fileExt"]]+ "; charset=UTF-8",
|
||||||
"Accept-Ranges": "bytes"
|
"Accept-Ranges": "none",
|
||||||
"Date": env["requestTimeFormatted"],
|
"Date": env["requestTimeFormatted"],
|
||||||
"Last-Modified": lastModified
|
"Last-Modified": lastModified
|
||||||
},data
|
},data
|
||||||
|
Loading…
Reference in New Issue
Block a user