Terry J. Reedy added the comment:

Does this affect 3.x also?  I would expect that it does.

The question for this issue is whether the program should stop on a gmtime 
error and say "I will not serve this file until you fix the modification time." 
or whether it should catch and workaround the problem and merely warn about the 
mtime.

For the latter, BaseHTTPServer could catch the gmtime error and use the current 
time instead.  Or SimpleHTTPServer could catch the exception and omit the Last 
Modified: header, if that is allowed.  I believe the purpose of this header is 
for caching, and the current time would say to replace any cached value.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25534>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to