500 on HEAD method
------------------

                 Key: MRM-867
                 URL: http://jira.codehaus.org/browse/MRM-867
             Project: Archiva
          Issue Type: Bug
          Components: WebDAV interface
    Affects Versions: 1.1
            Reporter: James William Dumay
             Fix For: 1.1


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to