home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Request

$

http


->Request
([

path

, 

method

, 

version

, 

referer

, 

accept

, 

flags

])
$

http


->Request
(

hashref

)

Performs an HTTP request and returns an array containing the status code, the headers, and the content of the file. It is a one-step procedure that executes OpenRequest , SendRequest , QueryInfo , ReadFile , and finally Close . For a description of the parameters, see OpenRequest .