-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
post-request session validity checking
Now that the session is persistent between runs, the assumption that a live session will always be also valid no longer holds - session can get stale and the backend will only let us know that after a request is made with it. If a request requires a live and authenticated session but the current instance is stale, backend will not return the expected data but instead give a generic response containing a specifically named span. Therefore, locating that span in the response serves as a good check for post-request session validity check.
- Loading branch information
Showing
1 changed file
with
50 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters