Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26668

Request to implement the Vary header for Docker manifests

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docker, Headers
    • Labels:
      None

      Description

      Implement the "Vary:" HTTP header to include the "Accept:" header for Docker manifest requests (at least) so that schema 1 and schema 2 can be cached separately.

      Ref: RFC-7231 for HTTP, section 7.1.4

       

      When requesting a Docker manifest from the /manifests/ endpoint, Artifactory should include a Vary header to include the Accept header so that our caching proxy knows to differentiate manifest schema 1 and schema 2 data. This has caused problems in our environment and we have had to exclude the /manifests/ endpoint from the cache.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            aglassman Adam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: