HTTP objects
This object contains a number of functions which make it easier for a user to perform web requests. This object has support for a wide variety of scenarios including authentication, proxies, proxy authentication and header manipulation. Both get and post retrieval methods are supported.
The object also supports setting of custom headers and verbs. Each request not only returns the headers and the body of that particular request but also the result code of the operation. This means that if the script is aimed at verifying if a page exists or not, the user will not have to parse the reply but just check the returned code, for example, if the code returned is 404, this means that the page requested doesn’t exist.
This section contains information about the following HTTP objects: