./www/pear-HTTP_Request2, PHP classes to provides an easy way to perform HTTP requests

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.0, Package name: php55-pear-HTTP_Request2-2.3.0, Maintainer: pkgsrc-users

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...


Required to run:
[lang/pear] [lang/php55] [net/pear-Net_URL2]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2016-07-19 17:33:27 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update pear-HTTP_Request2 to 2.3.0.

2.3.0.

New features:

* New observer that can do on-the-fly decoding of compressed responses,
  see HTTP_Request2_Observer_UncompressingDownload.
  Thanks to Delian Krustev for initial implementation.

* CookieJar can now silently ignore invalid cookies with
  $jar->ignoreInvalidCookies(true); instead of throwing an exception. See
  requests #19937 and #20401

* Adapters now dispatch a new 'warning' event, e.g. in case of incomplete
  response body or broken 'chunked' encoding. Exception was thrown previously
  by Socket adapter in the latter case, see bug #20228

* Improved security of HTTPS requests in Socket adapter

  - Use 'tls://' instead of 'ssl://' in connection string to prevent fallback
    to known insecure versions, use only TLS when enabling crypto via proxy
    (see bug #20462)
  - On PHP 5.6+ require using only TLS 1.1 and TLS 1.2
  - Do not use insecure ciphers

* Improved test suite, network-backed tests now run on Travis CI

Changes and fixes:

* Curl adapter failed to send PUT request body with 'follow_redirects' on
  (bug #20440)

* Curl adapter supplied invalid cookie domain to CookieJar after redirect
  (bug #20561)

* Curl adapter now properly dispatches events while sending the request

* mime_content_type() returning false was handled incorrectly when guessing
  content-type

* Use 'peer_name' and 'verify_peer_name' SSL context options on PHP 5.6+
  instead of deprecated 'CN_match'

* Public Suffix List updated to current version, its download location changed

Note to Composer users: next package version will probably get rid of
'include-path' setting in composer.json favour of using autoloader.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-10-15 23:28:01 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Fix wip reference.
   2014-10-08 11:54:28 by OBATA Akio | Files touched by this commit (3)
Log message:
Import pear-HTTP_Request2-2.2.1 as www/pear-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...