Skip Menu |

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

Report information
The Basics
Id: 59674
Status: resolved
Worked: 2 hours (120 min)
Priority: 0/
Queue: HTTP-DAV

People
Owner: OPERA [...] cpan.org
Requestors: SPAZM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.40
Fixed in: (no value)



Subject: catch//propagate LWP 501 error on https url if ssl libraries not installed
Attempting to open an https:// url when ssl libraries are not installed for LWP gives an error that the url is not "DAV enabled or not accessible." This error is correct but would be more useful if it directed users to correct their own end (ssl install) rather than wonder about the server. LWP returns an internal 501 response that could be propagated back to the user. This would be especially helpful to 'dave' end-users. current error: "Couldn't open https://groups.pm.org:443/groups/losangeles: The URL "https://groups.pm.org:443/groups/losangeles/" is not DAV enabled or not accessible. " internal 501 response: ($response->as_string): 501 Protocol scheme 'https' is not supported (Crypt::SSLeay or IO::Socket::SSL not installed) Content-Type: text/plain Client-Date: Sat, 24 Jul 2010 15:20:47 GMT Client-Warning: Internal response LWP will support https URLs if either Crypt::SSLeay or IO::Socket::SSL is installed. More information at <http://search.cpan.org/dist/libwww-perl/README.SSL>. ---- snippit of Dumper $response: '_rc' => 501, '_msg' => 'Protocol scheme \'https\' is not supported (Crypt::SSLeay or IO::Socket::SSL not installed)',
Il Sab 24 Lug 2010 11:35:27, SPAZM ha scritto: Show quoted text
> Attempting to open an https:// url when ssl libraries are not
installed Show quoted text
> for LWP gives an error that the url is not "DAV enabled or not > accessible." This error is correct but would be more useful if it > directed users to correct their own end (ssl install) rather than
wonder Show quoted text
> about the server. > > LWP returns an internal 501 response that could be propagated back to > the user. This would be especially helpful to 'dave' end-users. > > current error: > "Couldn't open https://groups.pm.org:443/groups/losangeles: The URL > "https://groups.pm.org:443/groups/losangeles/" is not DAV enabled or
not Show quoted text
> accessible. " > > internal 501 response: ($response->as_string): > > 501 Protocol scheme 'https' is not supported (Crypt::SSLeay or > IO::Socket::SSL not installed) > Content-Type: text/plain > Client-Date: Sat, 24 Jul 2010 15:20:47 GMT > Client-Warning: Internal response > > LWP will support https URLs if either Crypt::SSLeay or IO::Socket::SSL > is installed. More information at > <http://search.cpan.org/dist/libwww-perl/README.SSL>. > > ---- > snippit of Dumper $response: > > '_rc' => 501, > '_msg' => 'Protocol scheme \'https\'
is Show quoted text
> not supported (Crypt::SSLeay or IO::Socket::SSL not installed)',
Hi, good suggestion! I tried to fix the problem and built a test case for it. I'm pushing out a HTTP::DAV release 0.41 as we speak. Please try it and report the results. Thanks again for the feedback, -- Cosimo
Didn't get any feedback yet, but I believe 0.41 fixes the problem. Thanks,
Awesome! Thanks for the update and fix! I forgot I'd filed this ticket and the update email got lost in an abandonded mailbox. I'll upgrade, try again, and let you know how it goes! --spazm
Got no feedback yet, but I'll assume the bug is fixed. -- Cosimo