head 1.17; access; symbols pkgsrc-2023Q4:1.17.0.4 pkgsrc-2023Q4-base:1.17 pkgsrc-2023Q3:1.17.0.2 pkgsrc-2023Q3-base:1.17 pkgsrc-2023Q2:1.16.0.26 pkgsrc-2023Q2-base:1.16 pkgsrc-2023Q1:1.16.0.24 pkgsrc-2023Q1-base:1.16 pkgsrc-2022Q4:1.16.0.22 pkgsrc-2022Q4-base:1.16 pkgsrc-2022Q3:1.16.0.20 pkgsrc-2022Q3-base:1.16 pkgsrc-2022Q2:1.16.0.18 pkgsrc-2022Q2-base:1.16 pkgsrc-2022Q1:1.16.0.16 pkgsrc-2022Q1-base:1.16 pkgsrc-2021Q4:1.16.0.14 pkgsrc-2021Q4-base:1.16 pkgsrc-2021Q3:1.16.0.12 pkgsrc-2021Q3-base:1.16 pkgsrc-2021Q2:1.16.0.10 pkgsrc-2021Q2-base:1.16 pkgsrc-2021Q1:1.16.0.8 pkgsrc-2021Q1-base:1.16 pkgsrc-2020Q4:1.16.0.6 pkgsrc-2020Q4-base:1.16 pkgsrc-2020Q3:1.16.0.4 pkgsrc-2020Q3-base:1.16 pkgsrc-2020Q2:1.16.0.2 pkgsrc-2020Q2-base:1.16 pkgsrc-2020Q1:1.15.0.14 pkgsrc-2020Q1-base:1.15 pkgsrc-2019Q4:1.15.0.16 pkgsrc-2019Q4-base:1.15 pkgsrc-2019Q3:1.15.0.12 pkgsrc-2019Q3-base:1.15 pkgsrc-2019Q2:1.15.0.10 pkgsrc-2019Q2-base:1.15 pkgsrc-2019Q1:1.15.0.8 pkgsrc-2019Q1-base:1.15 pkgsrc-2018Q4:1.15.0.6 pkgsrc-2018Q4-base:1.15 pkgsrc-2018Q3:1.15.0.4 pkgsrc-2018Q3-base:1.15 pkgsrc-2018Q2:1.15.0.2 pkgsrc-2018Q2-base:1.15 pkgsrc-2018Q1:1.14.0.4 pkgsrc-2018Q1-base:1.14 pkgsrc-2017Q4:1.14.0.2 pkgsrc-2017Q4-base:1.14 pkgsrc-2017Q3:1.13.0.6 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.2 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.12.0.2 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.10.0.2 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.9.0.6 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.4 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.2 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.7.0.2 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.6.0.4 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.2 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.5.0.2 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.2.0.6 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.4 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.1.0.2 pkgsrc-2014Q1-base:1.1; locks; strict; comment @# @; 1.17 date 2023.08.05.19.33.00; author tsutsui; state Exp; branches; next 1.16; commitid LehJjFSNBovojDzE; 1.16 date 2020.06.07.15.24.20; author taca; state Exp; branches; next 1.15; commitid YJtRUGTaspcG1jbC; 1.15 date 2018.04.29.14.58.29; author tsutsui; state Exp; branches; next 1.14; commitid BQMBfYgE35byDlAA; 1.14 date 2017.12.09.17.53.16; author tsutsui; state Exp; branches; next 1.13; commitid YAYa34ahArSv8fiA; 1.13 date 2017.06.05.15.32.15; author taca; state Exp; branches; next 1.12; commitid XwDAdzVg4RjImcUz; 1.12 date 2017.03.20.15.49.21; author taca; state Exp; branches; next 1.11; commitid 50aw96cChMq2WiKz; 1.11 date 2017.02.05.01.13.32; author tsutsui; state Exp; branches; next 1.10; commitid 0wIFu52GAfwmtHEz; 1.10 date 2016.10.18.15.27.13; author taca; state Exp; branches; next 1.9; commitid JXuvXyKhP19mJDqz; 1.9 date 2016.02.13.15.32.08; author tsutsui; state Exp; branches; next 1.8; commitid pCDqq3geS8IeJLUy; 1.8 date 2016.01.03.08.00.59; author taca; state Exp; branches; next 1.7; commitid k4swBYapBy0eysPy; 1.7 date 2015.10.04.13.49.30; author taca; state Exp; branches; next 1.6; commitid oEGsc0pI4DP8pNDy; 1.6 date 2015.06.11.16.51.04; author taca; state Exp; branches; next 1.5; commitid ST04A4bvUyMv62py; 1.5 date 2015.03.28.04.32.15; author taca; state Exp; branches; next 1.4; commitid gsJlJjRXeX3Bqkfy; 1.4 date 2015.03.03.13.20.18; author taca; state Exp; branches; next 1.3; commitid ov3aXH41HwvA9acy; 1.3 date 2015.02.05.15.36.01; author taca; state Exp; branches; next 1.2; commitid V6bBLvZ4NneWJP8y; 1.2 date 2014.06.01.16.36.48; author tsutsui; state Exp; branches; next 1.1; commitid 3S08YzsMTy495QCx; 1.1 date 2014.01.17.13.22.51; author obache; state Exp; branches; next ; commitid XDOzBfA8oC1Eltlx; desc @@ 1.17 log @ruby-http: relinquish MAINTAINERship. I took MAINTAINERship just for ruby-twitter (for ruby-tw), but it looks other people update and use this. @ text @# $NetBSD: Makefile,v 1.16 2020/06/07 15:24:20 taca Exp $ # DISTNAME= http-4.4.1 CATEGORIES= www MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/httprb/http COMMENT= Simple Ruby DSL for making HTTP requests LICENSE= mit DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.3<3:../../net/ruby-addressable DEPENDS+= ${RUBY_PKGPREFIX}-http-parser>=1.2.0<1.3:../../www/ruby-http-parser DEPENDS+= ${RUBY_PKGPREFIX}-http-cookie>=1.0<2:../../www/ruby-http-cookie DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=2.2<3.0:../../www/ruby-http-form_data USE_LANGUAGES= # none .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" @ 1.16 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2018/04/29 14:58:29 tsutsui Exp $ d7 1 a7 1 MAINTAINER= tsutsui@@NetBSD.org @ 1.15 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2017/12/09 17:53:16 tsutsui Exp $ d4 1 a4 1 DISTNAME= http-3.3.0 d13 1 a13 1 DEPENDS+= ${RUBY_PKGPREFIX}-http_parser.rb>=0.6.0<0.7:../../www/ruby-http_parser.rb d15 1 a15 1 DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=2.0.0<3.0:../../www/ruby-http-form_data @ 1.14 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2017/06/05 15:32:15 taca Exp $ d4 1 a4 1 DISTNAME= http-3.0.0 d8 1 a8 1 HOMEPAGE= https://github.com/tarcieri/http @ 1.13 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2017/03/20 15:49:21 taca Exp $ d4 1 a4 1 DISTNAME= http-2.2.2 d12 1 a13 2 DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=1.0.1<1.1:../../www/ruby-http-form_data DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.3<3:../../net/ruby-addressable d15 1 @ 1.12 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2017/02/05 01:13:32 tsutsui Exp $ d4 1 a4 1 DISTNAME= http-2.2.1 @ 1.11 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2016/10/18 15:27:13 taca Exp $ d4 1 a4 1 DISTNAME= http-2.2.0 @ 1.10 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2016/02/13 15:32:08 tsutsui Exp $ d4 1 a4 1 DISTNAME= http-2.0.3 @ 1.9 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2016/01/03 08:00:59 taca Exp $ d4 1 a4 1 DISTNAME= http-1.0.2 @ 1.8 log @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]) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2015/10/04 13:49:30 taca Exp $ d4 1 a4 1 DISTNAME= http-1.0.1 @ 1.7 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2015/06/11 16:51:04 taca Exp $ d4 1 a4 1 DISTNAME= http-0.9.8 @ 1.6 log @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) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2015/03/28 04:32:15 taca Exp $ d4 1 a4 1 DISTNAME= http-0.8.12 @ 1.5 log @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) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2015/03/03 13:20:18 taca Exp $ d4 1 a4 1 DISTNAME= http-0.7.3 d13 3 a15 1 DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=1.0.0<1.1:../../www/ruby-http-form_data a16 1 RUBY_VERSION_SUPPORTED= 200 193 21 @ 1.4 log @Update ruby-http to 0.7.2. ## 0.7.2 (2015-03-02) * Swap from `form_data` to `http-form_data` (changed gem name). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2015/02/05 15:36:01 taca Exp $ d4 1 a4 1 DISTNAME= http-0.7.2 @ 1.3 log @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) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/06/01 16:36:48 tsutsui Exp $ d4 1 a4 1 DISTNAME= http-0.7.1 d12 2 a13 1 DEPENDS+= ${RUBY_PKGPREFIX}-http_parser.rb>=0.6.0:../../www/ruby-http_parser.rb @ 1.2 log @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) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/01/17 13:22:51 obache Exp $ d4 1 a4 1 DISTNAME= http-0.6.1 d14 1 @ 1.1 log @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. @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 DISTNAME= http-0.5.0 @