#35066: Unsupported operand exception in response.py
-------------------------------+--------------------------------------
Reporter: PaddyKe | Owner: nobody
Type: Bug | Status: closed
Component: HTTP handling | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
Comment:
Thanks for this report, however `str` is not supported as `max_age` as
[https://docs.djangoproject.com/en/5.0/ref/request-
response/#django.http.HttpResponse.set_cookie documented]:
> ''`max_age` should be a `timedelta` object, an integer number of
seconds, or None''
--
Ticket URL: <https://code.djangoproject.com/ticket/35066#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018cb057a77e-6ec56eb3-59fb-4dc1-a182-8daf20ee92bf-000000%40eu-central-1.amazonses.com.