Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-15815

Yum Proxy implement Condition GET

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.8.0
    • Fix Version/s: 3.9.0
    • Component/s: Proxy Repository, Yum
    • Labels:
      None
    • Story Points:
      1
    • Release Note:
      Yes

      Description

      When requesting from a Yum Proxy we should provided a proper response for a conditional get with the If-Modified-Since header.

      Acceptance Criteria

      • Add for the URI patterns in YumProxyRecipe to add a Conditional Request Handler, affected URL's should return a 304 http status if data was not modified before the date time given in the If-Modified-Since header. 
        • /repomd.xml
        • /repodata/*
        • *.rpm
        • *.xml.asc

      Example call

      curl -v -H "If-Modified-Since: Fri, 04 Aug 2017 16:45:35 GMT" http://localhost:8081/repository/yum-proxy/repodata/repomd.xml

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moncef Moncef Ben-Soula
              Reporter:
              moncef Moncef Ben-Soula
              Last Updated By:
              Peter Lynch
              Team:
              Nexus - Formats
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title