Ticket #6543: 6543.diff

File 6543.diff, 505 bytes (added by guettli, 7 years ago)
  • django/core/servers/basehttp.py

     
    4848        data = self.filelike.read(self.blksize)
    4949        if data:
    5050            return data
     51        if hasattr(self.filelike, 'seek'):
     52            self.filelike.seek(0)
    5153        raise StopIteration
    5254
    5355# Regular expression that matches `special' characters in parameters, the
Back to Top