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
* @returns {{response: {headers: Record<string, string>}, revalidation: {headers: Record<string, string>, synchronous: boolean}|undefined}} An object with a cached response headers and revalidation info.
337
+
* @returns {{response: HttpResponse, revalidation: {headers: Record<string, string>, synchronous: boolean}|undefined}} An object with a cached response headers and revalidation info.
338
338
*/
339
339
_evaluateRequestHitResult(revalidation){
340
340
return{
341
341
response: {
342
342
headers: this.responseHeaders(),
343
+
status: this._status,
343
344
},
344
345
revalidation,
345
346
};
@@ -387,9 +388,9 @@ module.exports = class CachePolicy {
387
388
* }
388
389
* ```
389
390
* @param {HttpRequest} req - new incoming HTTP request
0 commit comments