-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi ,
I want to add one more option, Expiration time , and there are two ways to implement it :
- Expiration time using
Dateheader. - Using
until ...format inX-MINA-OPTIONSheader.
In the first case , we can set a limit for each dumped file. For example , getting new response from target if the value of time.Now() - Date header is grater than EXPIRATION_TIME otherwise load from dumped file.
In the second case , Mina have to load dumped responses from corresponding requests that contain X-MINA-OPTIONS=until <DATE> header and Date header of dumped responses is grater than <DATE>.
To test Mina , I used it in inline app of Vajehyab so I need expiration time option.
What is your idea @siadat .
Metadata
Metadata
Assignees
Labels
No labels