Hi, I'm looking at ttp://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L199. It seems very natural to pass a value of False to the secure argument instead of None, but if you do this, it gets treated as if you passed secure=True. That's because the code is checking for equality with None instead of using Python's general truth mechanism. The code is:
for var in ('max_age', 'path', 'domain', 'secure', 'expires'): val = locals()[var] if val is not None: self.cookies[key][var.replace('_', '-')] = val I'd like to add this to Trac, but it rejects my bug as spam. Please cc me on any replies. Thanks! -jj -- http://jjinux.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---