Ticket #14020: srsly.patch
File srsly.patch, 506 bytes (added by , 14 years ago) |
---|
-
django/http/__init__.py
368 368 def items(self): 369 369 return self._headers.values() 370 370 371 def get(self, header, alternate ):371 def get(self, header, alternate=None): 372 372 return self._headers.get(header.lower(), (None, alternate))[1] 373 373 374 374 def set_cookie(self, key, value='', max_age=None, expires=None, path='/',