mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
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/ WWW: http://raa.ruby-lang.org/project/httpclient/ Sponsored by: RideCharge Inc.
This commit is contained in:
parent
468ac7320b
commit
65b84030ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231901
@ -1346,6 +1346,7 @@
|
||||
SUBDIR += rubygem-hpricot
|
||||
SUBDIR += rubygem-htauth
|
||||
SUBDIR += rubygem-httparty
|
||||
SUBDIR += rubygem-httpclient
|
||||
SUBDIR += rubygem-layout-yullio
|
||||
SUBDIR += rubygem-maruku
|
||||
SUBDIR += rubygem-mechanize
|
||||
|
21
www/rubygem-httpclient/Makefile
Normal file
21
www/rubygem-httpclient/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# New ports collection makefile for: rubygem-httpclient
|
||||
# Date created: 7 April 2009
|
||||
# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= httpclient
|
||||
PORTVERSION= 2.1.4
|
||||
CATEGORIES= www rubygems
|
||||
MASTER_SITES= RF
|
||||
MASTER_SITE_SUBDIR= soap4r
|
||||
|
||||
MAINTAINER= pgollucci@FreeBSD.org
|
||||
COMMENT= Yet another HTTP client implementation by NaHi
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/rubygem-httpclient/distinfo
Normal file
3
www/rubygem-httpclient/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (rubygem/httpclient-2.1.4.gem) = e94974f785e667cfb533bb579a15fe34
|
||||
SHA256 (rubygem/httpclient-2.1.4.gem) = 7741222b6714723d5d1335d7ba79aa1f82a952d662fb8e95a5409d9573e8ed73
|
||||
SIZE (rubygem/httpclient-2.1.4.gem) = 71680
|
23
www/rubygem-httpclient/pkg-descr
Normal file
23
www/rubygem-httpclient/pkg-descr
Normal file
@ -0,0 +1,23 @@
|
||||
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/
|
||||
|
||||
WWW: http://raa.ruby-lang.org/project/httpclient/
|
Loading…
Reference in New Issue
Block a user