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
| System | Port | Version |
|---|---|---|
| MidnightBSD | www/rubygem-httpclient | 2.9.0 |
| FreeBSD | www/rubygem-httpclient | 2.9.0 |
| DragonFly | www/rubygem-httpclient | 2.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
rubygem-mutex_m>=0: devel/rubygem-mutex_m
Runtime 1
rubygem-mutex_m>=0: devel/rubygem-mutex_m
Build dependencies 1
Run dependencies 1
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/httpclient-2.9.0.gem | 394240 | 4b645958e494b2f86c2f8a2f304c959baa273a310e77a2931ddb986d83e498c8 |
Master sites 1
- RG