Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-867

500 on HEAD method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1
    • WebDAV Interface
    • None

    Description

      Doing a HTTP HEAD on a resource sends a 500 response.

      This is because we are not checking outputcontext.hasStream before trying to write to a stream and a NPE is thrown.

      Attachments

        Activity

          People

            james.w.dumay james.w.dumay
            jameswdumay James William Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: