This package can send HTTP requests and process the responses.
It can send GET and POST requests to a server of a given URL. POST requests may submit forms input values including files, or send raw data. PUT requests may be emulated with the POST method using the X-HTTP-Method-Override header.
Request headers may be defined manually or set automatically by the package.
It can also send multiple requests consecutively without reading the intermediate request responses, keeping the connections alive between requests.
Cookies may be sent and received by a separate cookie handler class.
A separate HTTP response class can process the server response after eventually follow request redirects. |