== Changes = Changes in 2.2.1 = Jun 2, 2011 - version 2.2.1 * Bug fixes * For Lighttpd + PUT/POST support, do not send a request using chunked encoding when IO respond to :size, File for example. - There is no need to send query with Transfer-Encoding: chuncked when IO respond to :size. - Lighttpd does not support PUT, POST with Transfer-Encoding: chuncked. You will see that the lighty respond with 200 OK, but there is a file whose size is zero. LIMITATION: timeout occurs certainly when you send very large file and @send_timeout is default since HTTPClient::Session#query() assumes that *all* write are finished in @send_timeout sec not each write. WORKAROUND: increment @send_timeout and @receive_timeout or set @send_timeout and @receive_timeout to 0 not to be timeout. This fix is by TANABE Ken-ichi <nabeken@tknetworks.org>. Thanks! * Allow empty http_proxy ENV variable. Just treat it the same as if it's nil/unset. This fix is by Ash Berlin <ash_github@firemirror.com>. Thanks! * Check EOF while reading chunked response and close the session. It raised NoMethodError. * Changes * Updated trusted CA certificates file (cacert.p7s and cacert_sha1.p7s). CA certs are imported from 'Java(TM) SE Runtime Environment (build 1.6.0_25-b06)'. * Changed default chunk size from 4K to 16K. It's used for reading size at a time.
21 lines
428 B
Makefile
21 lines
428 B
Makefile
# $NetBSD: Makefile,v 1.5 2011/06/03 01:44:39 obache Exp $
|
|
#
|
|
|
|
DISTNAME= httpclient-2.2.1
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= https://github.com/nahi/httpclient
|
|
COMMENT= HTTP accessing library for Ruby
|
|
LICENSE= ruby-license
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
# error with ruby18
|
|
RUBY_BUILD_RDOC= no
|
|
RUBY_BUILD_RI= no
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|