Skip to content

Response wont get cached if request header has no-cache #1

Description

@shekharhimanshu

Brief overview

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.
  • Execute it
  • Response is not cached.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions