The NetBSD Project

CVS log for pkgsrc/www/ruby-http/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-http

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 03:38:41 2026 UTC (3 months, 1 week ago) by maya
Branches: pkgsrc-2026Q2
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +4 -4 lines
Pullup ticket #7209 - requested by taca
www/ruby-http: Security fix

Revisions pulled up:
- www/ruby-http/Makefile                                        1.21
- www/ruby-http/distinfo                                        1.23

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Tue Jul 21 14:04:43 UTC 2026

   Modified Files:
   	pkgsrc/www/ruby-http: Makefile distinfo

   Log Message:
   www/ruby-http: update to 6.0.4

   6.0.4 -(2026-07-14)

   Fixed

   * On Ruby 3.4+ with TCPSocket, the redundant Timeout.timeout wrap around
     socket-level connect_timeout is removed.  The native timeout is used
     alone, which avoids a slow Thread leak from Timeout::Request retention
     under abnormal exit paths (see #542).  On Ruby 3.2/3.3 and with custom
     socket classes the previous Timeout.timeout wrap is preserved.

   Security

   * HTTP::Request::Builder#make_request_uri now rejects protocol-relative
     inputs (//host/path) when resolving against a configured base_uri or
     persistent origin.  Previously such inputs were treated as network-path
     references per RFC 3986 §5.2 and replaced the base authority ― via
     URI#join on the base_uri branch and via string concatenation on the
     persistent branch ― allowing an attacker who controlled the path argument
     to redirect the request to an arbitrary host and leak any
     connection-scoped headers (HTTP.auth(...), etc.). See GHSA-r98x-p6m8-xcrv
     for details.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jul 21 14:04:43 2026 UTC (3 months, 3 weeks ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
www/ruby-http: update to 6.0.4

6.0.4 -(2026-07-14)

Fixed

* On Ruby 3.4+ with TCPSocket, the redundant Timeout.timeout wrap around
  socket-level connect_timeout is removed.  The native timeout is used
  alone, which avoids a slow Thread leak from Timeout::Request retention
  under abnormal exit paths (see #542).  On Ruby 3.2/3.3 and with custom
  socket classes the previous Timeout.timeout wrap is preserved.

Security

* HTTP::Request::Builder#make_request_uri now rejects protocol-relative
  inputs (//host/path) when resolving against a configured base_uri or
  persistent origin.  Previously such inputs were treated as network-path
  references per RFC 3986 §5.2 and replaced the base authority — via
  URI#join on the base_uri branch and via string concatenation on the
  persistent branch — allowing an attacker who controlled the path argument
  to redirect the request to an arbitrary host and leak any
  connection-scoped headers (HTTP.auth(...), etc.). See GHSA-r98x-p6m8-xcrv
  for details.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 5 13:44:56 2026 UTC (6 months, 1 week ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base
Branch point for: pkgsrc-2026Q2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
www/ruby-http: update to 6.0.3

6.0.3 (2026-04-20)

Fixed

* Ship RBS signatures for downstream consumers.  Previously only
  sig/http.rbs was packaged, but it referenced LLHttp::Parser and
  LLHttp::Delegate (defined only in the unshipped sig/deps.rbs), causing
  Cannot find type LLHttp::Delegate errors in Steep when loading library
  "http".  Public LLHttp stubs are now shipped in sig/llhttp.rbs, and
  sig/manifest.yaml declares stdlib dependencies so consumers don't need to
  re-list them.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Mar 29 13:42:24 2026 UTC (7 months, 2 weeks ago) by taca
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
www/ruby-http: update to 6.0.2

6.0.0 (2026-03-16)

Changes from 5.3.1 are too many to write here, please refer:
<https://github.com/httprb/http/blob/main/CHANGELOG.md>.


6.0.1 (2026-03-16)

Changed

* Exclude test files from gem package, reducing gem size by 50% (from 175 KB
  to 87 KB).


6.0.2 (2026-03-20)

Fixed

* Fix RBS syntax error.

Changed

* Improve gem push workflow security and reliability.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Aug 11 11:56:55 2025 UTC (15 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4 lines
www/ruby-http: Update to 5.3.1

Changelog:
## [5.3.1] - 2025-06-09

### Changed

- Revert switch to the native llhttp on MRI, as it's not compatible with
  standalone bundles
  ([#802](https://github.com/httprb/http/issues/802))


## [5.3.0] - 2025-06-09

### Added

- (backported) Add .retriable feature to Http
- (backported) Add more specific ConnectionError classes
- (backported) New feature: RaiseError

### Changed

- (backported) Drop depenency on base64
- (backported) Cache header normalization to reduce object allocation
- (backported) Use native llhttp on MRI


## [5.2.0] - 2024-02-05

### Added

- Add `Connection#finished_request?`
  ([#743](https://github.com/httprb/http/pull/743))
- Add `Instrumentation#on_error`
  ([#746](https://github.com/httprb/http/pull/746))
- Add `base64` dependency (suppresses warnings on Ruby 3.0)
  ([#759](https://github.com/httprb/http/pull/759))
- Add `PURGE` HTTP verb
  ([#757](https://github.com/httprb/http/pull/757))
- Add Ruby-3.3 support

### Changed

- **BREAKING** Process features in reverse order
  ([#766](https://github.com/httprb/http/pull/766))
- **BREAKING** Downcase Content-Type charset name
  ([#753](https://github.com/httprb/http/pull/753))
- **BREAKING** Make URI normalization more conservative
  ([#758](https://github.com/httprb/http/pull/758))

### Fixed

- Close sockets on initialize failure
  ([#762](https://github.com/httprb/http/pull/762))
- Prevent CRLF injection due to broken URL normalizer
  ([#765](https://github.com/httprb/http/pull/765))

[unreleased]: https://github.com/httprb/http/compare/v5.3.0...5-x-stable
[5.3.0]: https://github.com/httprb/http/compare/v5.2.0...v5.3.0
[5.2.0]: https://github.com/httprb/http/compare/v5.1.1...v5.2.0

## 5.1.1 (2022-12-17)

* [#731](https://github.com/httprb/http/pull/731)
  Strip brackets from IPv6 addresses in `HTTP::URI`.
  ([@jeraki])

* [#722](https://github.com/httprb/http/pull/722)
  Add `on_redirect` callback.
  ([@benubois])

## 5.1.0 (2022-06-17)

* Drop ruby-2.5 support.

* [#715](https://github.com/httprb/http/pull/715)
  Set default encoding to UTF-8 for `application/json`.
  ([@drwl])

* [#712](https://github.com/httprb/http/pull/712)
  Recognize cookies set by redirect.
  ([@tkellogg])

* [#707](https://github.com/httprb/http/pull/707)
  Distinguish connection timeouts.
  ([@YuLeven])

## 5.0.4 (2021-10-07)

* [#698](https://github.com/httprb/http/pull/698)
  Fix `HTTP::Timeout::Global#connect_ssl`.
  ([@tarcieri])

## 5.0.3 (2021-10-06)

* [#695](https://github.com/httprb/http/pull/695)
  Revert DNS resolving feature.
  ([@PhilCoggins])

* [#694](https://github.com/httprb/http/pull/694)
  Fix cookies extraction.
  ([@flosacca])

## 5.0.2 (2021-09-10)

* [#686](https://github.com/httprb/http/pull/686)
  Correctly reset the parser.
  ([@bryanp])

* [#684](https://github.com/httprb/http/pull/684)
  Don't set Content-Length for GET, HEAD, DELETE, or CONNECT requests without a BODY.
  ([@jyn514])

* [#679](https://github.com/httprb/http/pull/679)
  Use features on redirected requests.
  ([@nomis])

* [#678](https://github.com/httprb/http/pull/678)
  Restore `HTTP::Response` `:uri` option for backwards compatibility.
  ([@schwern])

* [#676](https://github.com/httprb/http/pull/676)
  Update addressable because of CVE-2021-32740.
  ([@matheussilvasantos])

* [#653](https://github.com/httprb/http/pull/653)
  Avoid force encodings on frozen strings.
  ([@bvicenzo])

* [#638](https://github.com/httprb/http/pull/638)
  DNS failover handling.
  ([@midnight-wonderer])


## 5.0.1 (2021-06-26)

* [#670](https://github.com/httprb/http/pull/670)
  Revert `Response#parse` behavior introduced in [#540].
  ([@DannyBen])

* [#669](https://github.com/httprb/http/pull/669)
  Prevent bodies from being resubmitted when following unsafe redirects.
  ([@odinhb])

* [#664](https://github.com/httprb/http/pull/664)
  Bump llhttp-ffi to 0.3.0.
  ([@bryanp])


## 5.0.0 (2021-05-12)

* [#656](https://github.com/httprb/http/pull/656)
  Handle connection timeouts in `Features`
  ([@semenyukdmitry])

* [#651](https://github.com/httprb/http/pull/651)
  Replace `http-parser` with `llhttp`
  ([@bryanp])

* [#647](https://github.com/httprb/http/pull/647)
  Add support for `MKCALENDAR` HTTP verb
  ([@meanphil])

* [#632](https://github.com/httprb/http/pull/632)
  Respect the SSL context's `verify_hostname` value
  ([@colemannugent])

* [#625](https://github.com/httprb/http/pull/625)
  Fix inflator with empty responses
  ([@LukaszMaslej])

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

* [#593](https://github.com/httprb/http/pull/593)
  [#592](https://github.com/httprb/http/issues/592)
  Support informational (1XX) responses.
  ([@ixti])

* [#590](https://github.com/httprb/http/pull/590)
  [#589](https://github.com/httprb/http/issues/589)
  Fix response headers paring.
  ([@Bonias])

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

* [#581](https://github.com/httprb/http/pull/581)
  [#582](https://github.com/httprb/http/issues/582)
  Add Ruby 2.7.x support.
  ([@janko])

* [#577](https://github.com/httprb/http/pull/577)
  Fix `Chainable#timeout` with frozen Hash.
  ([@antonvolkoff])

* [#576](https://github.com/httprb/http/pull/576)
  [#524](https://github.com/httprb/http/issues/524)
  **BREAKING CHANGE**
  Preserve header names casing.
  ([@joshuaflanagan])

* [#540](https://github.com/httprb/http/pull/540)
  [#538](https://github.com/httprb/http/issues/538)
  **BREAKING CHANGE**
  Require explicit MIME type for Response#parse
  ([@ixti])

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

* [#530](https://github.com/httprb/http/pull/530)
  Improve header fields name/value validation.
  ([@Bonias])

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

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

* [#546](https://github.com/httprb/http/pull/546)
  **BREAKING CHANGE**
  Provide initiating `HTTP::Request` object on `HTTP::Response`.
  ([@joshuaflanagan])

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

* [3ed0c31](https://github.com/httprb/http/commit/3ed0c318eab6a8c390654cda17bf6df9e963c7d6)
  Drop Ruby 2.4.x support.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Oct 26 11:30:58 2021 UTC (5 years ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
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

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Oct 7 15:08:40 2021 UTC (5 years, 1 month ago) by nia
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -2 lines
www: Remove SHA1 hashes for distfiles

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Jun 7 15:24:20 2020 UTC (6 years, 5 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
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])

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Apr 29 14:58:29 2018 UTC (8 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5 lines
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])

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Dec 9 17:53:16 2017 UTC (8 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
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])

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jun 5 15:32:15 2017 UTC (9 years, 5 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5 lines
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])

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Mar 20 15:49:21 2017 UTC (9 years, 7 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -5 lines
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])

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Feb 5 01:13:32 2017 UTC (9 years, 9 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5 lines
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])

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Oct 18 15:27:13 2016 UTC (10 years, 1 month ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -5 lines
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])

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Feb 13 15:32:08 2016 UTC (10 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5 lines
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])

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jan 3 08:00:59 2016 UTC (10 years, 10 months ago) by taca
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
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])

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Nov 4 02:47:34 2015 UTC (11 years ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
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.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Oct 4 13:49:30 2015 UTC (11 years, 1 month ago) by taca
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
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

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jun 11 16:51:04 2015 UTC (11 years, 5 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
Update ruby-http to 0.8.12.

pkgsrc change: allow build on Ruby 2.2.

## 0.8.12 (2015-05-26)

* Fix `HTTP.timeout` API (was loosing previously defined options). (@ixti)


## 0.8.11 (2015-05-22)

* SNI support for HTTPS connections. See #229. (@tarcieri)
* Use "http.rb" in the User-Agent string. See #227. (@tarcieri)


## 0.8.10 (2015-05-14)

* Fix cookie headers generation. (@ixti)


## 0.8.9 (2015-05-11)

* Add cookies support. (@ixti)
* Enforce stringified body encoding. See #219. (@Connorhd)


## 0.8.8 (2015-05-09)

* Fix CONNECT header for proxies. See #217. (@Connorhd)


## 0.8.7 (2015-05-08)

* Fix `HTTP.timeout` API with options only given. (@ixti)


## 0.8.6 (2015-05-08)

* Reset global timeouts after the request finishes. See #215. (@zanker)


## 0.8.5 (2015-05-06)

* Add simple timeouts configuration API. See #205. (@ixti)
* Deprecate `Request#request_header`. Use `Request#headline` instead. (@ixti)


## 0.8.4 (2015-04-23)

* Deprecate `#default_headers` and `#default_headers=`. (@ixti)
* Deprecate chainable methods with `with_` prefix. See #207. (@ixti)
* Add support of HTTPS connections through proxy. See #186. (@Connorhd)


## 0.8.3 (2015-04-07)

* Fix request headline. See #206. (@ixti)
* Remove deprecated `Request#__method__`. (@ixti)


## 0.8.2 (2015-04-06)

* Fix Celluloid::IO compatibility. See #203. (@ixti)
* Cleanup obsolete code. (@zanker)


## 0.8.1 (2015-04-02)

* Add missing `require "resolv"`. See #202. (@ixti)
* Add block-form `#persistent` calls. See #200, #201. (@ixti)


## 0.8.0 (2015-04-01)

* Properly handle WaitWritable for SSL. See #199. (@zanker)
* Add support for non-ASCII URis. See #197. (@ixti)
* Add configurable connection timeouts. See #187, #194, #195. (@zanker)
* Refactor requests redirect following logic. See #179. (@ixti)
* Support for persistent HTTP connections (@zanker)
* Add caching support. See #77 and #177. (@Asmod4n, @pezra)
* Improve servers used in specs boot up. Issue was initially raised up
  by @olegkovalenko. See #176. (@ixti)
* Reflect FormData rename changes (FormData -> HTTP::FormData). (@ixti)
* `HTTP::Headers` now raises `HTTP::InvalidHeaderNameError` in case of
  (surprise) invalid HTTP header field name (e.g.`"Foo:Bar"`). See #173.
  (@ixti)

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 28 04:32:15 2015 UTC (11 years, 7 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
Update ruby-http to 0.7.3, security fix.

## 0.7.3 (2015-03-24)

* SECURITY FIX: http.rb failed to call the #post_connection_check method
  on SSL connections. This method implements hostname verification, and
  without it http.rb was vulnerable to MitM attacks. The problem was
  corrected by calling #post_connection_check (CVE-2015-1828)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 3 13:20:18 2015 UTC (11 years, 8 months ago) by taca
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
Update ruby-http to 0.7.2.

## 0.7.2 (2015-03-02)

* Swap from `form_data` to `http-form_data` (changed gem name).

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 5 15:36:01 2015 UTC (11 years, 9 months ago) by taca
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
Update ruby-http to 0.7.1.

## 0.7.1 (2015-01-03)

* Gemspec fixups
* Remove superfluous space in HTTP::Response inspection


## 0.7.0 (2015-01-02)

* Fix handling of EOF which caused infinite loop. See #163, #166 and #152. (@mickm, @ixti)
* Drop Ruby 1.8.7 support. (@ixti)
* Fix default Host header value. See #150. (@ixti)
* Remove BearerToken authorization header. (@ixti)
* `#auth` sugar now accepts only string value of Authorization header.
  Calling `#auth(:basic, opts)` is deprecated, use `#basic_auth(opts)` instead.
  (@ixti)
* Fix handling of chunked responses without Content-Length header. (@ixti)
* Remove `HTTP::Request#method` and deprecate `HTTP::Request#__method__`
  (@sferik)
* Deprecate `HTTP::Response::STATUS_CODES`,
  use `HTTP::Response::Status::REASONS` instead (@ixti)
* Deprecate `HTTP::Response::SYMBOL_TO_STATUS_CODE` (@ixti)
* Deprecate `HTTP::Response#status_code` (@ixti)
* `HTTP::Response#status` now returns `HTTP::Response::Status`. (@ixti)
* `HTTP::Response#reason` and `HTTP::Response#code` are proxies them
  to corresponding methods of `HTTP::Response#status` (@ixti)
* Rename `HTTP.with_follow` to `HTTP.follow` and mark former one as being
  deprecated (@ixti)
* Delegate `HTTP::Response#readpartial` to `HTTP::Response::Body` (@ixti)


## 0.6.3 (2014-11-14)

* Backported EOF fix from master branch. See #166. (@ixti)


## 0.6.2 (2014-08-06)

* Fix default Host header value. See #150. (@ixti)
* Deprecate BearerToken authorization header. (@ixti)
* Fix handling of chunked responses without Content-Length header. (@ixti)
* Rename `HTTP.with_follow` to `HTTP.follow` and mark former one as being
  deprecated (@ixti)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 1 16:36:48 2014 UTC (12 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -4 lines
Update ruby-http to 0.6.1.

Changes noted in Changes.md:

0.6.1 (2014-05-07)
------------------

* Fix request `Content-Length` calculation for Unicode (@challengeechallengee)
* Add `Response#flush` (@ixti)
* Fix `Response::Body#readpartial` default size (@hannesg, @ixti)
* Add missing `CRLF` for chunked bodies (@hannesg)
* Fix forgotten CGI require (@ixti)
* Improve README (@tarcieri)

0.6.0 (2014-04-04)
------------------

* Rename `HTTP::Request#method` to `HTTP::Request#verb` (@krainboltgreene)
* Add `HTTP::ResponseBody` class (@tarcieri)
* Change API of response on `HTTP::Client.request` and "friends" (`#get`, `#post`, etc) (@tarcieri)
* Add `HTTP::Response#readpartial` (@tarcieri)
* Add `HTTP::Headers` class (@ixti)
* Fix and improve following redirects (@ixti)
* Add `HTTP::Request#redirect` (@ixti)
* Add `HTTP::Response#content_type` (@ixti)
* Add `HTTP::Response#mime_type` (@ixti)
* Add `HTTP::Response#charset` (@ixti)
* Improve error message upon invalid URI scheme (@ixti)
* Consolidate errors under common `HTTP::Error` namespace (@ixti)
* Add easy way of adding Authorization header (@ixti)
* Fix proxy support (@hundredwatt)
* Fix and improve query params handing (@jwinter)
* Change API of custom MIME type parsers (@ixti)
* Remove `HTTP::Chainable#with_response` (@ixti)
* Remove `HTTP::Response::BodyDelegator` (@ixti)
* Remove `HTTP::Response#parsed_body` (@ixti)
* Bump up input buffer from 4K to 16K (@tarcieri)

(Note version 0.5.1 is a maintenance branch and released after 0.6.1)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 13:22:51 2014 UTC (12 years, 10 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Import ruby-http-0.5.0 as www/ruby-http.
part of PR pkg/48447

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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>