Ticket #6507: django_http_init_11315.patch
File django_http_init_11315.patch, 588 bytes (added by , 15 years ago) |
---|
-
django/http/__init__.py
256 256 c.load(cookie) 257 257 except CookieError: 258 258 # Invalid cookie 259 return {} 259 # return {} 260 pass 260 261 261 262 cookiedict = {} 262 263 for key in c.keys(): 263 cookiedict[key] = c.get(key).value 264 try: 265 cookiedict[key] = c.get(key).value 266 except: 267 pass 264 268 return cookiedict 265 269 266 270 class BadHeaderError(ValueError):