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

Yum Hosted implement Condition GET for remaining endpoints

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.9.0
    • 3.8.0
    • Yum
    • None
    • 1
    • Yes

    Description

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

      Acceptance Criteria

      • Add for the URI patterns in YumHostedRecipe 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
        • *.*

      Example call

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

       

      Attachments

        Activity

          People

            moncef Moncef Ben-Soula
            moncef Moncef Ben-Soula
            Peter Lynch Peter Lynch
            Nexus - Formats
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              tigCommentSecurity.panel-title