./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.6.0, Package name: php74-pear-HTTP_Request2-2.6.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] [net/pear-Net_URL2] [lang/php56]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2023-11-04 16:25:50 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/pear-HTTP_Request2: update to 2.6.0

2.6.0 (2023-11-01)

* Tested on PHP 8.2 and 8.3
* Use psalm for static analysis, several minor issues fixed
* Correctly parse HTTP status line with an empty reason-phrase
  (see https://github.com/pear/HTTP_Request2/pull/26)
* Updated Public Suffix List
   2022-01-10 16:48:54 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/pear-HTTP_Request2: update to 2.5.1

2.5.0 (2020-07-12)

Fixed

* Socket adapter will now retry writing to socket rather than throw an
  exception if `fwrite()` call returns zero written bytes
  https://github.com/pear/HTTP_Request2/issues/23

Changed

* Socket adapter will use only TLS 1.2 and TLS 1.3 (the latter is
  available on PHP 7.4+)
* Upgraded tests for PHPUnit 9 compatibility, PHPUnit Polyfills
  package is used to run them on PHP 5.6 to PHP 8
* Test suite now runs on Github Actions rather than on Travis
* Updated Public Suffix List

2.5.1 (2021-01-06)

* The package runs under PHP 8.1 without `E_DEPRECATED` messages
  https://github.com/pear/HTTP_Request2/issues/25
* Updated Public Suffix List
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2020-10-04 08:05:49 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/pear-HTTP_Request2: update to 2.4.2

Update pear-HTTP_Request2 package to 2.4.2.

Update

2.4.2 (2020-09-24 18:13 UTC)

Changelog:

Socket adapter could prematurely end receiving the response body due to
fread() call returning an empty string

2.4.1 (2020-08-01 05:16 UTC)

Changelog:

Switch socket to blocking mode when enabling crypto, this fixes HTTPS
requests through proxy with Socket adapter
https://github.com/pear/HTTP_Request2/issues/20

2.4.0 (2020-07-26 13:43 UTC)

Changelog:

* Minimum required version is now PHP 5.6, as using older versions for HTTPS
  requests may be insecure

* Removed support for magic_quotes_runtime, as get_magic_quotes_runtime()
  was deprecated in PHP 7.4 and the functionality itself was disabled since
  PHP 5.4 (bug #23839)

* Socket adapter now uses socket in non-blocking mode, as some configurations
  could have problems with timeouts in HTTPS requests (bug #21229)

* Fixed bogus size check error with gzipped responses larger than 4 GiB
  uncompressed (bug #21239)

* Use current "Intermediate compatibility" cipher list
* Updated Public Suffix List

The package is now 100% autoload-compatible, when installed with composer it
no longer uses include-path and does not contain require_once statements
   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.