Ticket #3304: python.diff
File python.diff, 1.1 KB (added by , 18 years ago) |
---|
-
Lib/Cookie.py
408 408 # For historical reasons, these attributes are also reserved: 409 409 # expires 410 410 # 411 # This is an extension from Microsoft, see 412 # http://msdn.microsoft.com/workshop/author/dhtml/httponly_cookies.asp: 413 # httponly 414 # 411 415 # This dictionary provides a mapping from the lowercase 412 416 # variant on the left to the appropriate traditional 413 417 # formatting on the right. … … 417 421 "domain" : "Domain", 418 422 "max-age" : "Max-Age", 419 423 "secure" : "secure", 424 "httponly" : "httponly", 420 425 "version" : "Version", 421 426 } 422 427 … … 499 504 RA("%s=%d" % (self._reserved[K], V)) 500 505 elif K == "secure": 501 506 RA(str(self._reserved[K])) 507 elif K == "httponly": 508 RA(str(self._reserved[K])) 502 509 else: 503 510 RA("%s=%s" % (self._reserved[K], V)) 504 511