Implement HTTPException set_cookie() and del_cookie() methods #4277
Closed
Description
See aio-libs/aiohttp-session#396 for the context.
Implementation thoughts:
.cookiesproperty is also neededset_cookie()anddel_cookie()should update headers immediately,HTTPExceptionhas no.prepare()method and should not have it.- Backport is not needed, in 3.x HTTPException is derived from Response and have all mentioned methods already.
Metadata
Assignees
Labels
No labels