BSD Ports

www/rubygem-httpclient 2.9.0 MidnightBSD

Yet another HTTP client implementation by NaHi

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2, ruby
Categories
www, rubygems

Description

httpclient gives something like the functionality of libwww-perl (LWP) in Ruby. httpclient formerly known as http-access2.

Features:

\* methods like GET/HEAD/POST/\* via HTTP/1.1.
\* HTTPS(SSL), Cookies, proxy, authentication(Digest, NTLM, Basic), etc.
\* asynchronous HTTP request, streaming HTTP request.
\* by contrast with net/http in standard distribution;
      o Cookies support
      o MT-safe
      o streaming POST (POST with File/IO)
      o Digest auth
      o Negotiate/NTLM auth for WWW-Authenticate (requires net/htlm module)
      o NTLM auth for Proxy-Authenticate (requires Win32/sspi module)
      o extensible with filter interface
      o you dont have to care HTTP/1.1 persistent connection (httpclient cares instead of you)
\* Not supported now
      o Cache
      o Rather advanced HTTP/1.1 usage such as Range, deflate, etc. (of course you can set it in header by yourself)

For more detail, see API document at dev.ctor.org/doc/httpclient/

In the other systems

SystemPortVersion
MidnightBSDwww/rubygem-httpclient2.9.0
FreeBSDwww/rubygem-httpclient2.9.0
DragonFlywww/rubygem-httpclient2.9.0

Install

Binary package:

mport install httpclient

From mports:

cd /usr/mports/www/rubygem-httpclient && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	httpclient>0:www/rubygem-httpclient

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/httpclient-2.9.0.gem3942404b645958e494b2f86c2f8a2f304c959baa273a310e77a2931ddb986d83e498c8
Master sites 1
  • RG