We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c83edd commit 6211facCopy full SHA for 6211fac
lib/interceptor/cache.js
@@ -221,7 +221,7 @@ function handleResult (
221
// Check if the response is stale
222
if (needsRevalidation(result, reqCacheControl)) {
223
if (util.isStream(opts.body) && util.bodyLength(opts.body) !== 0) {
224
- // If body is is stream we can't revalidate...
+ // If body is a stream we can't revalidate...
225
// TODO (fix): This could be less strict...
226
return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler))
227
}
0 commit comments