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

Last-Modified not returned in header for migrated RAW artifacts.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.12.0
    • Fix Version/s: 3.13.0
    • Component/s: Migration
    • Labels:
    • Story Points:
      2

      Description

      Nexus 3.x does not return a Last-Modified header for migrated artifacts (migrated from Nexus 2.x)

      $ curl --head localhost:8081/repository/jenkins-tools/jdk/jdk1.8.0_171.tar.gz 
      HTTP/1.1 200 OK 
      Date: Thu, 21 Jun 2018 11:22:30 GMT 
      Server: Nexus/3.12.0-01 (PRO) 
      X-Content-Type-Options: nosniff 
      Content-Security-Policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation 
      Content-Type: application/x-gzip 
      Content-Length: 190882219

      If you upload an artifact to that Nexus 3.x instance, then the Last-Modified is returned.

      $ curl --head localhost:8081/repository/jenkins-tools-test/jdk/jdk1.8.0_171.tar.gz 
      HTTP/1.1 200 OK 
      Date: Thu, 21 Jun 2018 11:22:24 GMT 
      Server: Nexus/3.12.0-01 (PRO) 
      X-Content-Type-Options: nosniff 
      Content-Security-Policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation 
      Last-Modified: Thu, 21 Jun 2018 11:17:29 GMT 
      Content-Type: application/x-gzip 
      Content-Length: 190882219

      Reproduced this with Raw repo. Works fine with Maven2

        Attachments

          Activity

            People

            Assignee:
            natemcafee Nate McAfee
            Reporter:
            msurani Mahendra Surani
            CC:
            ZKB CI Support Team
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - Core
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title