lower case content length

merge-requests/30/head
Bob Mottram 2021-08-12 13:52:21 +01:00
parent caee3671f8
commit a9d10593f2
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ class PubServer(BaseHTTPRequestHandler):
# use lower case
self.send_header('content-type', fileFormat)
if length > -1:
self.send_header('content-Length', str(length))
self.send_header('content-length', str(length))
self.send_header('host', callingDomain)
return
self.send_header('Content-type', fileFormat)