EasyHttp wont cache a response if the request header contains Cache-Control: no-cache directive inside it. According to RFC, a no-cache request directive means that any available cache response should not be used satisfy the request. Caching the response is allowed however.
Expected behavior
Response is cached.
Actual behavior
Response is not cached.
Steps to reproduce
Create a request with Cache-Control: no-cache header.
Brief overview
EasyHttp wont cache a response if the request header contains
Cache-Control: no-cache
directive inside it. According to RFC, ano-cache
request directive means that any available cache response should not be used satisfy the request. Caching the response is allowed however.Expected behavior
Response is cached.
Actual behavior
Response is not cached.
Steps to reproduce
Cache-Control: no-cache
header.