Ticket #15650: httpresponse-items.patch

File httpresponse-items.patch, 452 bytes (added by funkycoder@…, 14 years ago)
  • django/http/__init__.py

     
    544544    __contains__ = has_header
    545545
    546546    def items(self):
    547         return self._headers.values()
     547        return self._headers.items()
    548548
    549549    def get(self, header, alternate):
    550550        return self._headers.get(header.lower(), (None, alternate))[1]
Back to Top