11-20-2008
Your question looks weird. A "normal" HTTP/1.1 server like Apache will serve both HTTP/1.0 and HTTP/1.1 requests. So what exactly do you want to achieve?
5 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
have installed a Network Management System at HP and when I tried to connect to Sun for Extractor function, it shows" incompatible protocol version:3". What does it mean? How to slove the problem?
Thanks a lot, Emily (1 Reply)
Discussion started by: yaoww
1 Replies
2. UNIX for Advanced & Expert Users
Is there any way to access http page from UNIX command line....
eg: http://www.abc.xyz (5 Replies)
Discussion started by: bishweshwar
5 Replies
3. AIX
SSH Protocol Version 1 Session Key Retrieval
Disable compatibility with version 1 of the protocol
can any one advice in this regard and how can I Disable compatibility with version 1 of the protocol
Pls advice .. (2 Replies)
Discussion started by: Mr.AIX
2 Replies
4. Web Development
Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers
10 Status Code Definitions
Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies
5. Shell Programming and Scripting
Hi,
I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log.
Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
LEARN ABOUT DEBIAN
http::oai::useragent
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)