Sponsored Content
Special Forums News, Links, Events and Announcements Software Releases - RSS News HTTP client request class 2008.01.03 (Default branch) Post 302155607 by Linux Bot on Friday 4th of January 2008 04:30:06 PM
Old 01-04-2008
HTTP client request class 2008.01.03 (Default branch)

Image HTTP client is a PHP class to make HTTP requests. It can establish connections via a SOCKS server, send requests via a proxy server, and establish secure connections (HTTPS) with optional SSL client certificates. It supports HTTP authentication mechanisms like HTTP Basic, HTTP Digest, and NTLM (Windows or Samba). It submits POST requests with user-defined form values, file uploading, or with user-defined request bodies. It handles cookies and automatic redirection handling. There is an addon class to log in to Yahoo and execute actions on behalf of the user, like exporting the address book or sending invitations to Yahoo groups. License: BSD License (original) Changes:
This release introduces the support to establish connections via a SOCKS 5 server. A new option was added to avoid using the Curl library when sending SSL requests.Image

More...
 
HTTP::OAI::UserAgent(3pm)				User Contributed Perl Documentation				 HTTP::OAI::UserAgent(3pm)

NAME
HTTP::OAI::UserAgent - Extension of the LWP::UserAgent for OAI HTTP requests DESCRIPTION
This module provides a simplified mechanism for making requests to an OAI repository, using the existing LWP::UserAgent module. SYNOPSIS
require HTTP::OAI::UserAgent; my $ua = new HTTP::OAI::UserAgent; my $response = $ua->request( baseURL=>'http://arXiv.org/oai1', verb=>'ListRecords', from=>'2001-08-01', until=>'2001-08-31' ); print $response->content; METHODS
$ua = new HTTP::OAI::UserAgent(proxy=>'www-cache',...) This constructor method returns a new instance of a HTTP::OAI::UserAgent module. All arguments are passed to the LWP::UserAgent constructor. $r = $ua->request($req) Requests the HTTP response defined by $req, which is a HTTP::Request object. $r = $ua->request(baseURL=>$baseref, verb=>$verb, %opts) Makes an HTTP request to the given OAI server (baseURL) with OAI arguments. Returns an HTTP::Response object. OAI-PMH related options: from => $from until => $until resumptionToken => $token metadataPrefix => $mdp set => $set $str = $ua->url(baseURL=>$baseref, verb=>$verb, ...) Takes the same arguments as request, but returns the URL that would be requested. $time_d = $ua->delay( $time_d ) Return and optionally set a time (in seconds) to wait between requests. $time_d may be a CODEREF. perl v5.12.4 2011-06-23 HTTP::OAI::UserAgent(3pm)
All times are GMT -4. The time now is 07:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy