Wednesday, 6 October 2021

Prevent Flask from ever sending Set-Cookie?

Can I prevent Flask framework from ever sending a Set-Cookie header?

I'm using a variety of blueprints that use the session cookie. I'm wondering if there is a way to tell the framework to simply never try to set cookies. I'd like to not have to prepare each individual response using suggestions like this or using app.after_request.



from Prevent Flask from ever sending Set-Cookie?

No comments:

Post a Comment