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

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


Branch: CURRENT, Version: 4.4.1, Package name: ruby31-http-4.4.1, Maintainer: pkgsrc-users

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:
[net/ruby-addressable] [www/ruby-http-cookie] [www/ruby-http-form_data] [lang/ruby26-base] [www/ruby-http-parser]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 74 KB

Version history: (Expand)


CVS history: (Expand)


   2023-08-05 21:33:00 by Izumi Tsutsui | Files touched by this commit (1) | Package updated
Log message:
ruby-http: relinquish MAINTAINERship.

I took MAINTAINERship just for ruby-twitter (for ruby-tw),
but it looks other people update and use this.
   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-06-07 17:24:20 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-http: update to 4.4.1

Update ruby-http to 4.4.1.

## 4.4.1 (2020-03-29)

* Backport [#590](https://github.com/httprb/http/pull/590)
  Fix parser failing on some edge cases.
  ([@ixti])

## 4.4.0 (2020-03-25)

* Backport [#587](https://github.com/httprb/http/pull/587)
  Fix redirections when server responds with multiple Location headers.
  ([@ixti])

* Backport [#599](https://github.com/httprb/http/pull/599)
  Allow passing HTTP::FormData::{Multipart,UrlEncoded} object directly.
  ([@ixti])

## 4.3.0 (2020-01-09)

* Backport [#581](https://github.com/httprb/http/pull/581)
  Add Ruby-2.7 compatibility.
  ([@ixti], [@janko])

## 4.2.0 (2019-10-22)

* Backport [#489](https://github.com/httprb/http/pull/489)
  Fix HTTP parser.
  ([@ixti], [@fxposter])

## 4.1.1 (2019-03-12)

* Add `HTTP::Headers::ACCEPT_ENCODING` constant.
  ([@ixti])

## 4.1.0 (2019-03-11)

* [#533](https://github.com/httprb/http/pull/533)
  Add URI normalizer feature that allows to swap default URI normalizer.
  ([@mamoonraja])

## 4.0.5 (2019-02-15)

* Backport [#532](https://github.com/httprb/http/pull/532) from master.
  Fix pipes support in request bodies.
  ([@ixti])

## 4.0.4 (2019-02-12)

* Backport [#506](https://github.com/httprb/http/pull/506) from master.
  Skip auto-deflate when there is no body.
  ([@Bonias])

## 4.0.3 (2019-01-18)

* Fix missing URL in response wrapped by auto inflate.
  ([@ixti])

* Provide `HTTP::Request#inspect` method for debugging purposes.
  ([@ixti])

## 4.0.2 (2019-01-15)

* [#506](https://github.com/httprb/http/pull/506)
  Fix instrumentation feature.
  ([@paul])

## 4.0.1 (2019-01-14)

* [#515](https://github.com/httprb/http/pull/515)
  Fix `#build_request` and `#request` to respect default options.
  ([@RickCSong])

## 4.0.0 (2018-10-15)

* [#482](https://github.com/httprb/http/pull/482)
  [#499](https://github.com/httprb/http/pull/499)
  Introduce new features injection API with 2 new feaures: instrumentation
  (compatible with ActiveSupport::Notification) and logging.
  ([@paul])

* [#473](https://github.com/httprb/http/pull/473)
  Handle early responses.
  ([@janko-m])

* [#468](https://github.com/httprb/http/pull/468)
  Rewind `HTTP::Request::Body#source` once `#each` is complete.
  ([@ixti])

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

* [#436](https://github.com/httprb/http/pull/436)
  Raise ConnectionError when writing to socket fails.
  ([@janko-m])

* [#438](https://github.com/httprb/http/pull/438)
  Expose `HTTP::Request::Body#source`.
  ([@janko-m])

* [#446](https://github.com/httprb/http/pull/446)
  Simplify setting a timeout.
  ([@mikegee])

* [#451](https://github.com/httprb/http/pull/451)
  Reduce memory usage when reading response body.
  ([@janko-m])

* [#458](https://github.com/httprb/http/pull/458)
  Extract HTTP::Client#build_request method.
  ([@tycoon])

* [#462](https://github.com/httprb/http/pull/462)
  Fix HTTP::Request#headline to allow two leading slashes in path.
  ([@scarfacedeb])

* [#454](https://github.com/httprb/http/pull/454)
  [#464](https://github.com/httprb/http/pull/464)
  [#384](https://github.com/httprb/http/issues/384)
  Fix #readpartial not respecting max length argument.
  ([@janko-m], [@marshall-lee])
   2018-04-29 16:58:29 by Izumi Tsutsui | Files touched by this commit (3) | Package updated
Log message:
ruby-http: update to 3.3.0.

pkgsrc changes:
- update HOMEPAGE (follow renamed github)

Upstream changes (from CHANGES.md):

## 3.3.0 (2018-04-25)

This version backports some of the fixes and improvements made to development
version of the HTTP gem:

* [#458](https://github.com/httprb/http/pull/458)
  Extract HTTP::Client#build_request method.
  ([@tycoon])

## 3.2.1 (2018-04-24)

* [#468](https://github.com/httprb/http/pull/468)
  Rewind `HTTP::Request::Body#source` once `#each` is complete.
  ([@ixti])

## 3.2.0 (2018-04-22)

This version backports one change we missed to backport in previous release:

* Reduce memory usage when reading response body
  ([@janko-m])

## 3.1.0 (2018-04-22)

This version backports some of the fixes and improvements made to development
version of the HTTP gem:

* Fix for `#readpartial` to respect max length argument.
  ([@janko-m], [@marshall-lee])

* Fix for `HTTP::Request#headline` to allow two leading slashes in path.
  ([@scarfacedeb])

* Fix query string building for string with newlines.
  ([@mikegee])

* Deallocate temporary strings in `Response::Body#to_s`.
  ([@janko-m])

* Add `Request::Body#source`.
  ([@janko-m])
   2017-12-09 18:53:16 by Izumi Tsutsui | Files touched by this commit (3) | Package updated
Log message:
ruby-http: update to 3.0.0.

pkgsrc changes:
- sort DEPENDS

Upstream changes (from CHANGES.md):

## 3.0.0 (2017-10-01)

* Drop support of Ruby `2.0` and Ruby `2.1`.
  ([@ixti])

* [#410](https://github.com/httprb/http/pull/410)
  Infer `Host` header upon redirects.
  ([@janko-m])

* [#409](https://github.com/httprb/http/pull/409)
  Enables request body streaming on any IO object.
  ([@janko-m])

* [#413](https://github.com/httprb/http/issues/413),
  [#414](https://github.com/httprb/http/pull/414)
  Fix encoding of body chunks.
  ([@janko-m])

* [#368](https://github.com/httprb/http/pull/368),
  [#357](https://github.com/httprb/http/issues/357)
  Fix timeout issue.
  ([@HoneyryderChuck])
   2017-06-05 17:32:15 by Takahiro Kambe | Files touched by this commit (2)
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)
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])