home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 December (Special)
/
PCWorld_2005-12_Special_cd.bin
/
Bezpecnost
/
lsti
/
lsti.exe
/
framework-2.5.exe
/
do_https4.al
< prev
next >
Wrap
Text File
|
2005-04-23
|
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;