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
I tried to look for a way to add private cookie to a LocalRequest for testing, but it seems that the only way to get private cookies for tests is to generate them first on the server (simulate a session-initiating request). It would be helpful if adding private cookies would be directly available for testing.
I think it would be sufficient to be documented in the API docs, maybe as a method cookie_private on LocalRequest.
The text was updated successfully, but these errors were encountered:
Using Rocket 0.3.
I tried to look for a way to add private cookie to a LocalRequest for testing, but it seems that the only way to get private cookies for tests is to generate them first on the server (simulate a session-initiating request). It would be helpful if adding private cookies would be directly available for testing.
I think it would be sufficient to be documented in the API docs, maybe as a method
cookie_private
onLocalRequest
.The text was updated successfully, but these errors were encountered: