最終更新:2012-04-06 (金) 15:02:28 (2657d)  

PEAR/HTTP_Request2 はてなブックマークを見る
Top / PEAR / HTTP_Request2

http://pear.php.net/package/HTTP_Request2/

PHP5 rewrite of HTTP_Request? package (with parts of 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, to use 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...