- or download this
my ($headers, $body) = ('','');
...
$CURLcode .= WWW::Curl::easy::setopt($curl, CURLOPT_POSTFIELDS, $p
+ost_vars);
$CURLcode .= WWW::Curl::easy::perform($curl);
WWW::Curl::easy::cleanup($curl);
- or download this
sub callback {
my ($data,$pointer)=@_;
$params{'data'} .= $data;
return length($data);
}
- or download this
HTTP/1.1 200 OK
Date: Mon, 14 Mar 2005 01:42:55 GMT
...
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1