Skip to content

Commit 13188cf

Browse files
committed
Send content-length for /favico.ico
Browser was stuck trying to download and server was reporting connection timeout after a minute.
1 parent 8546d7f commit 13188cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roundup/scripts/roundup_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def inner_run_cgi(self):
321321

322322
self.send_response(200)
323323
self.send_header('Content-Type', 'image/x-icon')
324+
self.send_header('Content-Length', len(favico))
324325
self.end_headers()
325326

326327
# this bufsize is completely arbitrary, I picked 4K because

0 commit comments

Comments
 (0)