./www/ruby-http, Simple Ruby DSL for making HTTP requests

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


Branch: CURRENT, Version: 2.2.2, Package name: ruby23-http-2.2.2, Maintainer: tsutsui

The HTTP Gem is an easy-to-use client library for making requests from Ruby.
It uses a simple method chaining system for building requests, similar to
libraries like JQuery or Python's Requests.


Required to run:
[www/ruby-http-cookie] [www/ruby-http-form_data]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 78f3d202c8cc61f046b983e05f197dbd29fb114a
RMD160: 3e73ef20accd415507809b6e788d546fde680e2c
Filesize: 65.5 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-05 17:32:15 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-http to 2.2.2.

## 2.2.2 (2017-04-27)

* [#404](https://github.com/httprb/http/issues/404),
  [#405](https://github.com/httprb/http/pull/405)
  Make keepalive timeout configurable.
  ([@nestegg])
   2017-03-20 16:49:21 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-http to 2.2.1.

## 2.2.1 (2017-02-06)

* [#395](https://github.com/httprb/http/issues/395)
  Fix regression of API, that broke webmock integration.
  ([@ixti])
   2017-02-05 02:13:32 by Izumi Tsutsui | Files touched by this commit (3) | Package updated
Log message:
Update ruby-http to 2.2.0.

Upstream changes (from CHANGES.md):

## 2.2.0 (2017-02-03)

* [#375](https://github.com/httprb/http/pull/375)
  Add support for automatic Gzip/Inflate
  ([@Bonias])

* [#390](https://github.com/httprb/http/pull/390)
  Add REPORT to the list of valid HTTP verbs
  ([@ixti])

## 2.1.0 (2016-11-08)

* [#370](https://github.com/httprb/http/issues/370)
  Add Headers#include?
  ([@ixti])

* [#364](https://github.com/httprb/http/issues/364)
  Add HTTP::Response#connection
  ([@janko-m])

* [#362](https://github.com/httprb/http/issues/362)
  connect_ssl uses connect_timeout (Closes #359)
  ([@TiagoCardoso1983])
   2016-10-18 17:27:13 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-http to 2.0.3.

## 2.0.3 (2016-08-03)

* [#365](https://github.com/httprb/http/issues/365)
  Add `HTTP::Response#content_length`
  ([@janko-m])

* [#335](https://github.com/httprb/http/issues/335),
  [#360](https://github.com/httprb/http/pull/360)
  Set `Content-Length: 0` header for `nil` bodies.
  ([@britishtea])

## 2.0.2 (2016-06-24)

* [#353](https://github.com/httprb/http/pull/353)
  Avoid a dependency cycle between Client and Connection classes.
  ([@jhbabon])

## 2.0.1 (2016-05-12)

* [#341](https://github.com/httprb/http/pull/341)
  Refactor some string manipulations so they are more performant
  (up to 3-4x faster) and more concise.
  ([@tonyta])

* [#339](https://github.com/httprb/http/pull/341)
  Always use byte methods when writing/slicing the write buffer.
  ([@zanker])

## 2.0.0 (2016-04-23)

* [#333](https://github.com/httprb/http/pull/333)
  Fix HTTPS request headline when sent via proxy.
  ([@Connorhd])

* [#331](https://github.com/httprb/http/pull/331)
  Add `#informational?`, `#success?`, `#redirect?`, `#client_error?` and
  `#server_error?` helpers to `Response::Status`.
  ([@mwitek])

* [#330](https://github.com/httprb/http/pull/330)
  Support custom CONNECT headers (request/response) during HTTPS proxy requests.
  ([@smudge])

* [#319](https://github.com/httprb/http/pull/319)
  Drop Ruby 1.9.x support.
  ([@ixti])

## 1.0.4 (2016-03-19)

* [#320](https://github.com/httprb/http/pull/320)
  Fix timeout regression.
  ([@tarcieri])

## 1.0.3 (2016-03-16)

* [#314](https://github.com/httprb/http/pull/314)
  Validate charset before forcing encoding.
  ([@kylekyle])

* [#318](https://github.com/httprb/http/pull/318)
  Remove redundant string allocations upon header names normalization.
  ([@ixti])
   2016-02-13 16:32:08 by Izumi Tsutsui | Files touched by this commit (3) | Package updated
Log message:
Update ruby-http to 1.0.2.

Upstream changes (from CHANGES.md):

## 1.0.2 (2016-01-15)

* [#295](https://github.com/httprb/http/pull/295):
  Fix redirect following when used with persistent mode.
  ([@ixti])
   2016-01-03 09:00:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-http to 1.0.1.

## 1.0.1 (2015-12-27)

* [#283](https://github.com/httprb/http/pull/283):
  Use io/wait on supported platforms.
  ([@tarcieri])

## 1.0.0 (2015-12-25)

* [#265](https://github.com/httprb/http/pull/265/):
  Remove deprecations ([@tarcieri]):
  - HTTP::Chainable#with_follow (use #follow)
  - HTTP::Chainable#with, #with_headers (use #headers)
  - HTTP::Chainable#auth(:basic, ...) (use #basic_auth)
  - HTTP::Chainable#default_headers (use #default_options[:headers])
  - HTTP::Headers#append (use #add)
  - HTTP::Options#[] hash-like API deprecated in favor of explicit methods
  - HTTP::Request#request_header (use #headline)
  - HTTP::Response::STATUS_CODES (use HTTP::Status::REASONS)
  - HTTP::Response::SYMBOL_TO_STATUS_CODE (no replacement)
  - HTTP::Response#status_code (use #status or #code)
  - HTTP::Response::Status#symbolize (use #to_sym)

* [#269](https://github.com/httprb/http/pull/273/):
  Close connection in case of error during request.
  ([@ixti])

* [#271](https://github.com/httprb/http/pull/273/):
  High-level exception wrappers for low-level I/O errors.
  ([@ixti])

* [#273](https://github.com/httprb/http/pull/273/):
  Add encoding option.
  ([@connorhd])

* [#275](https://github.com/httprb/http/pull/273/):
  Support for disabling Nagle's algorithm with `HTTP.nodelay`.
  ([@nerdrew])

* [#276](https://github.com/httprb/http/pull/276)
  Use Encoding::BINARY as the default encoding for HTTP::Response::Body.
  ([@tarcieri])

* [#278](https://github.com/httprb/http/pull/278)
  Use an options hash for HTTP::Request initializer API.
  ([@ixti])

* [#279](https://github.com/httprb/http/pull/279)
  Send headers and body in one write if possible.
  This avoids a pathological case in Nagle's algorithm.
  ([@tarcieri])

* [#281](https://github.com/httprb/http/pull/281)
  Remove legacy 'Http' constant alias to 'HTTP'.
  ([@tarcieri])
   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.
   2015-10-04 15:49:30 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-http to  0.9.8.

## 0.9.8 (2015-09-29)

* [#260](https://github.com/httprb/http/pull/258):
  Fixed global timeout persisting time left across requests when reusing connections.
  ([@zanker][])

## 0.9.7 (2015-09-19)

* [#258](https://github.com/httprb/http/pull/258):
  Unified strategy for handling exception-based and exceptionless non-blocking
  I/O. Fixes SSL support on JRuby 9000. ([@tarcieri][])

## 0.9.6 (2015-09-06)

* [#254](https://github.com/httprb/http/pull/254):
  Removed use of an ActiveSupport specific method #present?
  ([@tarcieri][])

## 0.9.5 (2015-09-06)

* [#252](https://github.com/httprb/http/pull/252):
  Fixed infinite hang/timeout when a request contained more than ~16,363 bytes.
  ([@zanker][])

## 0.9.4 (2015-08-26)

* Fixes regression when body streaming was failing on some URIs.
  See #246. (@zanker)
* Fixes require timeout statements. See #243. (@ixti)

## 0.9.3 (2015-08-19)

* Fixed request URI normalization. See #246. (@ixti)
  - Avoids query component normalization
  - Omits fragment component in headline

## 0.9.2 (2015-08-18)

* Fixed exceptionless NIO EOF handling. (@zanker)

## 0.9.1 (2015-08-14)

* Fix params special-chars escaping. See #246. (@ixti)

## 0.9.0 (2015-07-23)

* Support for caching removed. See #240. (@tarcieri)
* JRuby 9000 compatibility