style: formatted code

This commit is contained in:
arthurfiorette 2023-06-08 13:22:54 -03:00
parent 7e5ca7e68a
commit a7405e1460
No known key found for this signature in database
GPG Key ID: 9D190CD53C53C555

View File

@ -166,7 +166,8 @@ exceptions to the method rule.
- Type: `CachePredicate<R, D>` - Type: `CachePredicate<R, D>`
- Default: - Default:
`{ statusCheck: (status) => [200, 203, 300, 301, 302, 404, 405, 410, 414, 501].includes(status) }` _(These default status codes follows RFC 7231)_ `{ statusCheck: (status) => [200, 203, 300, 301, 302, 404, 405, 410, 414, 501].includes(status) }`
_(These default status codes follows RFC 7231)_
An object or function that will be tested against the response to indicate if it can be An object or function that will be tested against the response to indicate if it can be
cached. cached.