|
With regard to a Relevant issue #1509 |
Replies: 2 comments 2 replies
|
There's no current way of retrieving this that I can see either, other than manually looking through the cookies in the But do we really need an api to get these kind of parameters? Maybe it's nicer if parameters like Not sure myself, just some thoughts 😉 |
|
In my opinion having an API for cookie expire time access is required. I'm migrating from requests to httpx following starlette 0.21.0. In my case, I want to check in a test case whether Accessing |
There's no current way of retrieving this that I can see either, other than manually looking through the cookies in the
jar, but we shouldn't do that IMO.But do we really need an api to get these kind of parameters?
Maybe it's nicer if parameters like
ExpiresandMax-Agewas handled/respected inhttpx.Cookies.get(), i.e. not returning a value for an expired cookie or anHttpOnlyone.Not sure myself, just some thoughts 😉