Is there a way to mark cookies as HttpOnly in Pylons?

I cannot find any documentation on the internet on how to do this. I think maybe it can send some kind of custom HTTP header response, but it seems to be lame if there is a more canonical way.

0


a source to share


1 answer


theresponse.set_cookie(..., httponly=True, ...)

      



+1


a source







All Articles