[HTTP] File can't be read if HEAD method is not supported (405 status)
----------------------------------------------------------------------
Key: VFS-202
URL: https://issues.apache.org/jira/browse/VFS-202
Project: Commons VFS
Issue Type: Bug
Affects Versions: Nightly Builds
Environment: Windows, nightly builds with some original patches,
Reporter: Sergey Vladimirov
Fix For: Nightly Builds
http://www.w3schools.com/webservices/tempconvert.asmx?action=WSDL
(try to read by VFS)
If HEAD method is not supported, server returns 405 status, which is not
recognized as correct one by HttpObject class.
10.4.6 405 Method Not Allowed
The method specified in the Request-Line is not allowed for the resource
identified by the Request-URI. The response MUST include an Allow header
containing a list of valid methods for the requested resource.
Thus, resource DOES exist. Patch included.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.