NEW PORT: www/pear-HTTP_Client (High level HTTP class)

This is my first port with code from PEAR, so I hope I got
	it right.  I based it off of www/pear-HTTP.

	The HTTP_Client class wraps around HTTP_Request and provides
	a higher level interface for performing multiple HTTP
	requests.

	Features:
	* Manages cookies and referrers between requests
	* Handles HTTP redirection
	* Has methods to set default headers and request parameters
	* Implements the Subject-Observer design pattern: the base class sends
	  events to listeners that do the response processing.

PR:		ports/76995
Submitted by:	Joseph Scott <joseph@randomnetworks.com>
This commit is contained in:
Edwin Groothuis 2005-02-02 12:42:48 +00:00
parent 98f77420e6
commit 59ed1e2396
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127906
4 changed files with 39 additions and 0 deletions

View File

@ -570,6 +570,7 @@
SUBDIR += peacock
SUBDIR += pear-APC
SUBDIR += pear-HTTP
SUBDIR += pear-HTTP_Client
SUBDIR += pear-HTTP_Download
SUBDIR += pear-HTTP_Header
SUBDIR += pear-HTTP_Request

View File

@ -0,0 +1,25 @@
# Ports collection makefile for: pear-HTTP_Client
# Date created: 01 February 2005
# Whom: Joseph Scott (<joseph@randomnetworks.com>)
#
# $FreeBSD$
#
PORTNAME= HTTP_Client
PORTVERSION= 1.0.0
CATEGORIES= www pear
MAINTAINER= joseph@randomnetworks.com
COMMENT= PEAR classes for high level HTTP requests
BUILD_DEPENDS= ${PEARDIR}/HTTP.php:${PORTSDIR}/www/pear-HTTP
RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= HTTP
FILES= Client.php Client/CookieManager.php
EXAMPLES= link-checker.php
_EXAMPLESDIR= examples
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (PEAR/HTTP_Client-1.0.0.tgz) = 4ae6973a6a3663abd9cdbe28ccaacdb4
SIZE (PEAR/HTTP_Client-1.0.0.tgz) = 6396

View File

@ -0,0 +1,11 @@
The HTTP_Client class wraps around HTTP_Request and provides a higher level
interface for performing multiple HTTP requests.
Features:
* Manages cookies and referrers between requests
* Handles HTTP redirection
* Has methods to set default headers and request parameters
* Implements the Subject-Observer design pattern: the base class sends
events to listeners that do the response processing.
WWW: http://pear.php.net/package/HTTP_Client/