jaredwray/cacheable

Response with status code 422 is being cached

Closed this issue · 0 comments

Problem

Seems that status code is ignored because github.com/kornelski/http-cache-semantics is waiting for status not for statusCode. Should we rename it in this line
https://github.com/lukechilds/cacheable-request/blob/130fcbe79b9b7427b1d8016756be85aa3d52a303/src/index.js#L95
as it's done on https://github.com/lukechilds/cacheable-request/blob/130fcbe79b9b7427b1d8016756be85aa3d52a303/src/index.js#L85?