./www/ruby-em-http-request, EventMachine based, async HTTP Request client

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


Branch: CURRENT, Version: 1.1.5, Package name: ruby22-em-http-request-1.1.5, Maintainer: pkgsrc-users

# EM-HTTP-Request

Async (EventMachine) HTTP client, with support for:

- Asynchronous HTTP API for single & parallel request execution
- Keep-Alive and HTTP pipelining support
- Auto-follow 3xx redirects with max depth
- Automatic gzip & deflate decoding
- Streaming response processing
- Streaming file uploads
- HTTP proxy and SOCKS5 support
- Basic Auth & OAuth
- Connection-level & Global middleware support
- HTTP parser via [http_parser.rb](https://github.com/tmm1/http_parser.rb)
- Works wherever EventMachine runs: Rubinius, JRuby, MRI


Required to run:
[devel/ruby-eventmachine] [net/ruby-addressable] [www/ruby-http_parser.rb] [www/ruby-cookiejar] [net/ruby-em-socksify] [lang/ruby22-base]

Master sites:

SHA1: e23cccc12c28295732a39156ecde8d75c6b3f54f
RMD160: 2fbe4f8f6e0043e674c52ffc84febcea102c2466
Filesize: 214.5 KB

Version history: (Expand)


CVS history: (Expand)


   2016-10-18 17:16:13 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-em-http-request to 1.1.5.

* initialize in SNI hostname for HTTPS
* default to requesting compressed response

  This behavior can be disabled via :compressed => false when initializing
  the request.  Closes #270.
* ```cookiejar``` is correct except for ver 0.3.1.
* Fix unused variable warnings
* Add test for basicauth+proxy case
* Don't pass userinfo through to proxies in path position

  When requesting via an HTTP proxy, we put the entire URI in the position
  where usually the path and query string is expected. However, if the
  original URI included a basic auth section, we must not include it, but
  rather convert it to an Authorization header.
* use bing for integration pipelining tests
* Prevent data corruption when decoding gzip stream, fixes #284

  This fixes an issue where a gzip stream chunked into smaller pieces
  would result in a buffer overrun when decoding the headers.

  Previously the position where the headers end in `compressed` was
  determined by the delta of `@pos` before and after reading the
  headers. This didn't take into account the fact that `@data` may already
  contain data, but not enough to have advanced `@pos` on previous
  iterations.

* Prevent data corruption when decoding gzip stream, fixes #284
   2016-01-03 08:56:35 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-em-http-request to 1.1.3.

Quote from commit logs:

* Reset and close connection on duplicate response.
* Rescue from StandardError instead of Exception.
* Handle redirects on keep-alive connections.
* Fix the issue when redirect url is triggered only after inactivity timeout.
* ignore query option when redirecting.
* Use Base64.strict_encode64 to not add line feeds.
* Cleanup header annotations for rubydocs, closes #281.
* Use inferred_port, port can be nil causing connection failures.
* Don't modify header for CONNECT style proxies.
* fixing specs, cleaning up deprecation warning.
* Don't memoize status; http_status may change.
   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-03-14 20:00:25 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-em-http-request to 1.1.2.

Changes are not available, please refer commit log:
<https://github.com/igrigorik/em-http-request>.
   2013-09-15 20:50:53 by Takahiro Kambe | Files touched by this commit (4)
Log message:
Add ruby-em-http-request package version 1.1.0.

# EM-HTTP-Request

Async (EventMachine) HTTP client, with support for:

- Asynchronous HTTP API for single & parallel request execution
- Keep-Alive and HTTP pipelining support
- Auto-follow 3xx redirects with max depth
- Automatic gzip & deflate decoding
- Streaming response processing
- Streaming file uploads
- HTTP proxy and SOCKS5 support
- Basic Auth & OAuth
- Connection-level & Global middleware support
- HTTP parser via [http_parser.rb](https://github.com/tmm1/http_parser.rb)
- Works wherever EventMachine runs: Rubinius, JRuby, MRI