Skip Menu |

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

Report information
The Basics
Id: 60884
Status: new
Priority: 0/
Queue: Net-DAV-Server

People
Owner: Nobody in particular
Requestors: contact [...] clipland.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.300_05
Fixed in: (no value)



Subject: Return a bit earlier in PROPFIND
in propfind, you could return a bit earlier: # return *before* parsing (optional) message body on # non-existing resources if( !$fs->test( 'e', $path ) ){ return HTTP::Response->new( 404, 'Not Found' } further I think it would be "cleaner" to move the construction of the $response to the end of the propfind() function: ... $response->code(207); $response->message('Multi-Status'); $response->header( 'Content-Type' => 'text/xml; charset="utf-8"' ); $response->content( $doc->toString(0) ); #this must be 0 return $response; }