<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt"><span style="font-family: arial,helvetica,sans-serif;">Below is simplified code:</span><br style="font-family: arial,helvetica,sans-serif; text-decoration: underline;"><br>#!/usr/bin/perl -w<br>use strict;<br>use LWP::UserAgent;<br>use Data::Dumper;<br><br>my $ua=LWP::UserAgent->new();<br><span>$ua->proxy(['https', 'http'] => '<a target="_blank" href="http://corppac.myclient.com/accelerated_pac_base.pac">http://corppac.myclient.com/accelerated_pac_base.pac</a>');</span><br><span>my $response = $ua->get('<a target="_blank" href="https://login.yahoo.com/config/login_verify2?&.src=ym">https://login.yahoo.com/config/login_verify2?&.src=ym</a>');</span><br><span>#my $response = $ua->get('<a target="_blank"
 href="http://www.yahoo.com">http://www.yahoo.com</a>');</span><br>print Dumper $response;<br><br style="text-decoration: underline;"><span style="font-family: arial,helvetica,sans-serif; text-decoration: underline;"><span>No problem to access <a target="_blank" href="http://www.yahoo.com">http://www.yahoo.com</a>, but for access Yahoo login page</span></span><br><span style="font-family: arial,helvetica,sans-serif;">With proxy, it compain: </span> '_msg' => 'Bad Request',<br><span style="font-family: arial,helvetica,sans-serif;">Without set proxy, it complain:</span>  '_msg' => 'Protocol scheme \'https\' is not supported (Crypt::SSLeay not installed)',<br><span style="font-family: arial,helvetica,sans-serif;"></span><br><div style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font face="Tahoma" size="2"><hr
 size="1"><b><span style="font-weight: bold;">From:</span></b> Andy Lester <andy@petdance.com><br><b><span style="font-weight: bold;">To:</span></b> Chicago.pm chatter <chicago-talk@pm.org><br><b><span style="font-weight: bold;">Sent:</span></b> Mon, May 9, 2011 4:15:56 PM<br><b><span style="font-weight: bold;">Subject:</span></b><span> Re: [Chicago-talk] LWP::UserAgent->get('<a target="_blank" href="https://">https://</a>....") invalid_request</span><br></font><br>
<br><div><div>On May 9, 2011, at 4:14 PM, tiger peng wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse:separate;font-family:Georgia;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><span class="Apple-style-span" style="font-family:arial, helvetica, sans-serif;font-size:13px;">Using LWP::UserAgent through proxy to access (GET or HEAD) https page, a Perl script responsed with ''_msg' => 'Bad Request'," while it is okay for POSTing on the same https page (redirect link is returned from POST response). There is no issue to access the the pages through IE/Firefox. I googled around but could not find any solution.<span class="Apple-converted-space"> </span></span></span></blockquote></div><div><br></div><div>We need to
 see actual code in addition to your English summary.</div><div><br></div><div>xoa</div><br><div>
<span class="Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Georgia;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div>--<br>Andy Lester => <a rel="nofollow" ymailto="mailto:andy@petdance.com" target="_blank" href="mailto:andy@petdance.com">andy@petdance.com</a> => <a rel="nofollow" target="_blank" href="http://www.techworklove.com/">www.techworklove.com</a> => <a rel="nofollow" target="_blank" href="AIM:petdance">AIM:petdance</a></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div></div>



</div></body></html>