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 .


Previous: Reference: QueryInfo Perl in a Nutshell Next: Reference: SendRequest
Reference: QueryInfo Book Index Reference: SendRequest

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.