HTTP_Request2

PHP5 rewrite of HTTP_Request package (with some features from HTTP_Client). Provides cleaner API and pluggable Adapters:

  • Socket adapter, based on old HTTP_Request code,
  • Curl adapter, wraps around PHP's cURL extension,
  • Mock adapter, useful for testing packages dependent on HTTP_Request2.

Supports POST requests with data and file uploads, basic and digest authentication, cookies, managing cookies across requests, proxies, gzip and deflate encodings, redirects, monitoring the request progress with Observers...

Table of Contents