Skip Menu |
 

This queue is for tickets about the Net-SMS-Web CPAN distribution.

Report information
The Basics
Id: 18886
Status: new
Priority: 0/
Queue: Net-SMS-Web

People
Owner: Nobody in particular
Requestors: hemingway [...] cpan.org
Cc:
AdminCc:

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



Subject: Net-SMS-Web doesn't allow the CONNECT proxy method
Download (untitled) / with headers
text/plain 741b
I use Net::SMS::O2 to talk to O2's SMS gateway. O2 use HTTPS to login, then HTTP for the SMS submission. Unfortunately, I live behind a proxy that insists on using the CONNECT method to talk to https servers, but Net::SMS::Web doesn't support this method. The following patch (if I've diff'ed it correctly) fixes the issue, by adding the CONNECT method as a valid method. --- Net-SMS-Web-0.015\Web.pm Mon Mar 03 11:09:40 2003 +++ c:\progfile\perl-5.8.7\site\lib\Net\SMS\Web.pm Sat Apr 22 23:21:47 2006 @@ -178,7 +178,7 @@ my $request; - if ( $method =~ /^(GET|HEAD)$/ ) + if ( $method =~ /^(GET|HEAD|CONNECT)$/ ) { $url .= "?$params" if $params; $request = HTTP::Request->new( $method, $url );


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.