Ticket #4898: django-fix-date.patch
File django-fix-date.patch, 703 bytes (added by , 17 years ago) |
---|
-
django/core/servers/basehttp.py
376 376 self._write('HTTP/%s %s\r\n' % (self.http_version,self.status)) 377 377 if 'Date' not in self.headers: 378 378 self._write( 379 'Date: %s\r\n' % formatdate()[:26] + "GMT"379 'Date: %s\r\n' % (formatdate()[:26] + "GMT") 380 380 ) 381 381 if self.server_software and 'Server' not in self.headers: 382 382 self._write('Server: %s\r\n' % self.server_software)