summaryrefslogtreecommitdiffstats
path: root/www/pear-HTTP_Client
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-02-02 12:42:48 +0000
committeredwin <edwin@FreeBSD.org>2005-02-02 12:42:48 +0000
commitfe87e401dd226adef2d72aa6b863e8bc9214fb70 (patch)
tree227560d6882e5cbca7e4d48c2892c978687b3ab6 /www/pear-HTTP_Client
parent0a37e0753d8f8c65e2e3c675de9d25f854e58081 (diff)
downloadFreeBSD-ports-fe87e401dd226adef2d72aa6b863e8bc9214fb70.zip
FreeBSD-ports-fe87e401dd226adef2d72aa6b863e8bc9214fb70.tar.gz
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>
Diffstat (limited to 'www/pear-HTTP_Client')
-rw-r--r--www/pear-HTTP_Client/Makefile25
-rw-r--r--www/pear-HTTP_Client/distinfo2
-rw-r--r--www/pear-HTTP_Client/pkg-descr11
3 files changed, 38 insertions, 0 deletions
diff --git a/www/pear-HTTP_Client/Makefile b/www/pear-HTTP_Client/Makefile
new file mode 100644
index 0000000..3f2a07a
--- /dev/null
+++ b/www/pear-HTTP_Client/Makefile
@@ -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>
diff --git a/www/pear-HTTP_Client/distinfo b/www/pear-HTTP_Client/distinfo
new file mode 100644
index 0000000..d37547a
--- /dev/null
+++ b/www/pear-HTTP_Client/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/HTTP_Client-1.0.0.tgz) = 4ae6973a6a3663abd9cdbe28ccaacdb4
+SIZE (PEAR/HTTP_Client-1.0.0.tgz) = 6396
diff --git a/www/pear-HTTP_Client/pkg-descr b/www/pear-HTTP_Client/pkg-descr
new file mode 100644
index 0000000..ff4ac85
--- /dev/null
+++ b/www/pear-HTTP_Client/pkg-descr
@@ -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/
OpenPOWER on IntegriCloud