home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 June
/
PCWorld_2005-06_cd.bin
/
software
/
vyzkuste
/
firewally
/
firewally.exe
/
framework-2.3.exe
/
do_https4.al
< prev
next >
Wrap
Text File
|
2004-02-17
|
670b
|
23 lines
# NOTE: Derived from blib/lib/Net/SSLeay.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Net::SSLeay;
#line 1996 "blib/lib/Net/SSLeay.pm (autosplit into blib/lib/auto/Net/SSLeay/do_https4.al)"
### Returns headers as a hash where multiple instances of same header
### are handled correctly.
sub do_https4 {
my ($page, $response, $headers, $server_cert) = &do_https3;
X509_free($server_cert) if defined $server_cert;
my %hr = ();
for my $hh (split /\s?\n/, $headers) {
my ($h,$v)=/^(\S+)\:\s*(.*)$/;
push @{$hr{uc($h)}}, $v;
}
return ($page, $response, \%hr);
}
# end of Net::SSLeay::do_https4
1;