You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide a user API for retrieving additional parameters from request cookies #1509
Is your feature related to a problem? Please describe.
Provide a user API for retrieving httpx.Cookie object parameters from request cookies such as cookie expiry date, cookie path, secure flag, etc.
Right now it is only possible to get a cookie's value via httpx.Cookies.get(). No other cookie parameters are exposed via a user accessible API.
Describe alternatives you considered
The only way to get these parameters is to manually pull them out of the cookie jar by accessing the internal variables. This should be discouraged as internal implementation details are not guaranteed to be stable after each new version. Also due to the way objects in the cookie jar are structured you need to know the cookie path ahead of time to use as a dict key in order to access the httpx.Cookie object within.
Activity