Skip Menu |

This queue is for tickets about the HTTP-DAV CPAN distribution.

Report information
The Basics
Id: 38677
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: HTTP-DAV

People
Owner: Nobody in particular
Requestors: marc [...] cybre.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.31
Fixed in: (no value)



Subject: HTTP::DAV::open steps on HTTP response code
The 405 response to an invalid resource is stepped on in HTTP::DAV::open by the call to www_authenticate. The dumps are after the execution of each line of code. $dirurl = "http://valid.dav.server:good_port/bad_content_root open($dirurl) in the package: 652: my $response = $resource->propfind(-depth=>0); 'title' => '405 Method Not Allowed' '_msg' => 'Method Not Allowed' '_protocol' => 'HTTP/1.1' '_rc' => 405 656: if ($response->www_authenticate) { '_msg' => 'OK' '_protocol' => 'HTTP/1.1' '_rc' => 200 Thus, in the case of a 405 code, the client is lead to believe that a 200 response is in order. This was done as a test of a bad content root on the apache mod_dav server. If the content root there is set correctly, then the 404 makes its way back to the client. -marc This is perl, v5.8.5 built for i686-linux-thread-multi perl v5.8.5 | 2002-04-13 | HTTP::DAV(3) Linux ubuntu 2.6.22-15-generic #1 SMP Tue Jun 10 09:21:34 UTC 2008 i686 GNU/Linux
Should be fixed in 0.43, soon on CPAN.