http requests
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3292
HTTP::WebTest 2.04
HTTP::WebTest is a Perl module for testing static and dynamic web content. more>>
HTTP::WebTest is a Perl module for testing static and dynamic web content.
SYNOPSIS
use HTTP::WebTest;
my $webtest = new HTTP::WebTest;
# run test from file
$webtest->run_wtscript(script.wt);
# or (to pass test parameters as method arguments)
$webtest->run_tests($tests);
Introduction
This module runs tests on remote URLs containing Perl/JSP/HTML/JavaScript/etc. and generates a detailed test report. This module can be used "as-is" or its functionality can be extended using plugins. Plugins can define test types and provide additional report capabilities. This module comes with a set of default plugins but can be easily extended with third party plugins.
The wt script is provided for running HTTP::WebTest from the command line.
The test specifications can be read from a parameter file in wtscript format or input as method arguments. The test results can be displayed on the terminal, directed to a file, stored in a scalar variable. The test results can also be emailed. The report can be modified and extended using report plugins.
Each URL/web file is tested by fetching it from the web server using a local instance of an HTTP user agent. The basic test is simply whether or not the fetch was successful. You may also test using literal strings or regular expressions that are either required to exist or forbidden to exist in the fetched page. You may also specify tests for the minimum and maximum number of bytes in the returned page. You may also specify tests for the minimum and maximum web server response time.
Data flow for HTTP::WebTest:
-------------- -------------
| | | |
| Input |------------->| WebTest |
| parameters | | |
| | -------------
-------------- | ^
| |
V |
------------- ------------
| | request | |
| Remote || user |
| | response | agent |
------------- | |
------------
<<lessSYNOPSIS
use HTTP::WebTest;
my $webtest = new HTTP::WebTest;
# run test from file
$webtest->run_wtscript(script.wt);
# or (to pass test parameters as method arguments)
$webtest->run_tests($tests);
Introduction
This module runs tests on remote URLs containing Perl/JSP/HTML/JavaScript/etc. and generates a detailed test report. This module can be used "as-is" or its functionality can be extended using plugins. Plugins can define test types and provide additional report capabilities. This module comes with a set of default plugins but can be easily extended with third party plugins.
The wt script is provided for running HTTP::WebTest from the command line.
The test specifications can be read from a parameter file in wtscript format or input as method arguments. The test results can be displayed on the terminal, directed to a file, stored in a scalar variable. The test results can also be emailed. The report can be modified and extended using report plugins.
Each URL/web file is tested by fetching it from the web server using a local instance of an HTTP user agent. The basic test is simply whether or not the fetch was successful. You may also test using literal strings or regular expressions that are either required to exist or forbidden to exist in the fetched page. You may also specify tests for the minimum and maximum number of bytes in the returned page. You may also specify tests for the minimum and maximum web server response time.
Data flow for HTTP::WebTest:
-------------- -------------
| | | |
| Input |------------->| WebTest |
| parameters | | |
| | -------------
-------------- | ^
| |
V |
------------- ------------
| | request | |
| Remote || user |
| | response | agent |
------------- | |
------------
Download (0.088MB)
Added: 2006-12-14 License: Perl Artistic License Price:
1044 downloads
HttpAuth 0.6
HttpAuth is a daemon and framework for authenticating HTTP requests. more>>
HttpAuth is a daemon and framework for authenticating HTTP requests. It supports Basic and Digest authentication against various databases such as LDAP, PostgreSQL, or MySQL.
HttpAuth project also supports NTLM authentication against a Windows Server.
Compatibility: Various web servers can talk with httpauthd. Currently modules, plugins or code for the following systems have been written:
- Apache 1.3.x
- Apache 2.x
- Java Servlets
- Jetty Web Server
Enhancements:
- A crash which occurred when doing some sort of Basic authentication was fixed.
- Numbers are now allowed in handler names.
- The program reconnects properly to httpauthd when that daemon has been restarted.
- The Java (Jetty) authenticator now supports NTLM properly.
- A bug where Apache 2.x wouldnt lock down credentials for NTLM properly to a single connection was fixed.
<<lessHttpAuth project also supports NTLM authentication against a Windows Server.
Compatibility: Various web servers can talk with httpauthd. Currently modules, plugins or code for the following systems have been written:
- Apache 1.3.x
- Apache 2.x
- Java Servlets
- Jetty Web Server
Enhancements:
- A crash which occurred when doing some sort of Basic authentication was fixed.
- Numbers are now allowed in handler names.
- The program reconnects properly to httpauthd when that daemon has been restarted.
- The Java (Jetty) authenticator now supports NTLM properly.
- A bug where Apache 2.x wouldnt lock down credentials for NTLM properly to a single connection was fixed.
Download (0.88MB)
Added: 2006-12-22 License: GPL (GNU General Public License) Price:
1037 downloads
Fortress 0.3
Fortress is a simple script driven framework for performing security scans. more>>
Fortress is a simple script driven framework for performing security scans. The core of the application is an application which will execute testing scripts written using the embedded LUA scripting engine.
The scripts may perform almost arbitrary operations, including making HTTP requests, conducting port scanning, and taking advantage of several other provided primitives.
<<lessThe scripts may perform almost arbitrary operations, including making HTTP requests, conducting port scanning, and taking advantage of several other provided primitives.
Download (0.076MB)
Added: 2005-10-26 License: GPL (GNU General Public License) Price:
1478 downloads
lns.http 0.1
lns.http is a simple framework for writing Common LISP Web applications. more>>
lns.http is a simple framework for writing Common Lisp web applications. The project handles the incoming connections, parses HTTP headers and queries, and finally hands control over to your URL handler.
lns.http is a HTTP/1.1 compatible web server but tries to achieve compatibility with lesser (down to the informal HTTP/0.9) clients.
The lns.http web server uses lisp-network-server to take care of network handling.
This software is licensed unter the LGPL.
<<lesslns.http is a HTTP/1.1 compatible web server but tries to achieve compatibility with lesser (down to the informal HTTP/0.9) clients.
The lns.http web server uses lisp-network-server to take care of network handling.
This software is licensed unter the LGPL.
Download (0.017MB)
Added: 2006-12-19 License: LGPL (GNU Lesser General Public License) Price:
1046 downloads
httping 1.2.4
httping is a ping-like tool for HTTP requests. more>>
httping is a "ping"-like tool for HTTP requests. Give it a URL and it will show how long it takes to connect, send a request, and retrieve the reply (only the headers).
httping can be used for monitoring or statistical purposes (measuring latency).
Enhancements:
- A big memory leak in the SSL code was fixed.
- An audible ping mode was added.
<<lesshttping can be used for monitoring or statistical purposes (measuring latency).
Enhancements:
- A big memory leak in the SSL code was fixed.
- An audible ping mode was added.
Download (0.008MB)
Added: 2007-07-10 License: GPL (GNU General Public License) Price:
841 downloads
HTTP extension for PHP 1.5.4
HTTP extension for PHP allows building absolute URIs. more>>
HTTP extension for PHP allows building absolute URIs, RFC-compliant HTTP redirects, RFC-compliant HTTP date handling, parsing of HTTP headers and messages, caching by "Last-Modified" and/or ETag (with an on the fly option for ETag generation from buffered output), sending data/files/streams with (multiple) ranges, negotiating user-preferred language/charset, and convenient request functionality built upon libcurl.
PHP5 classes: HttpUtil, HttpResponse (PHP-5.1), HttpRequest, HttpRequestPool, and HttpMessage.
Main features:
- Building absolute URIs
- RFC compliant HTTP redirects
- RFC compliant HTTP date handling
- Parsing of HTTP headers and messages
- Caching by "Last-Modified" and/or ETag (with on the fly option for ETag generation from buffered output)
- Sending data/files/streams with (multiple) ranges support
- Negotiating user preferred language/charset
- Convenient request functionality built upon libcurl
- PHP5 classes: HttpUtil, HttpResponse (PHP-5.1), HttpRequest, HttpRequestPool, HttpMessage.
Enhancements:
- This release fixes bug #11359: HttpMessage::toMessageTypeObject() does not populate POST fields.
<<lessPHP5 classes: HttpUtil, HttpResponse (PHP-5.1), HttpRequest, HttpRequestPool, and HttpMessage.
Main features:
- Building absolute URIs
- RFC compliant HTTP redirects
- RFC compliant HTTP date handling
- Parsing of HTTP headers and messages
- Caching by "Last-Modified" and/or ETag (with on the fly option for ETag generation from buffered output)
- Sending data/files/streams with (multiple) ranges support
- Negotiating user preferred language/charset
- Convenient request functionality built upon libcurl
- PHP5 classes: HttpUtil, HttpResponse (PHP-5.1), HttpRequest, HttpRequestPool, HttpMessage.
Enhancements:
- This release fixes bug #11359: HttpMessage::toMessageTypeObject() does not populate POST fields.
Download (0.16MB)
Added: 2007-06-29 License: BSD License Price:
851 downloads
HappyHTTP 0.1
HappyHTTP is a simple C++ library for issuing HTTP requests and processing responses. more>>
HappyHTTP is a simple C++ library for issuing HTTP requests and processing responses.
Main features:
- Simple to integrate - just drop in the .h and .cpp files
- Easy-to-use interface (example)
- Non-blocking operation, suitable for use in game update loops
- Supports pipelining. You can issue multiple requests without waiting for responses.
- Licensed under the zlib/libpng license.
- Cross-platform (Linux, OSX, Windows, at least)
Usage:
The interface is based loosely on Pythons httplib. Ive kept the same terminology where possible.
All HappyHTTP code is kept within the happyhttp namespace
To issue and process a HTTP request, the basic steps are:
- Create a connection object
- Set up callbacks for handling responses
- Issue request(s)
- pump the connection at regular intervals. As responses are received, the callbacks will be invoked.
<<lessMain features:
- Simple to integrate - just drop in the .h and .cpp files
- Easy-to-use interface (example)
- Non-blocking operation, suitable for use in game update loops
- Supports pipelining. You can issue multiple requests without waiting for responses.
- Licensed under the zlib/libpng license.
- Cross-platform (Linux, OSX, Windows, at least)
Usage:
The interface is based loosely on Pythons httplib. Ive kept the same terminology where possible.
All HappyHTTP code is kept within the happyhttp namespace
To issue and process a HTTP request, the basic steps are:
- Create a connection object
- Set up callbacks for handling responses
- Issue request(s)
- pump the connection at regular intervals. As responses are received, the callbacks will be invoked.
Download (0.013MB)
Added: 2006-05-10 License: zlib/libpng License Price:
1262 downloads
libjhttpd 0.2
libjhttpd project is a simple HTTP/1.0 compliant, threaded webserver-library written in Java. more>>
libjhttpd project is a simple HTTP/1.0 compliant, threaded webserver-library written in Java.
Main features:
- threaded
- very fast
- supports MIME-Types
- flexible configuration
- supports binary multipart POST-Requests, i.e. File Uploads
<<lessMain features:
- threaded
- very fast
- supports MIME-Types
- flexible configuration
- supports binary multipart POST-Requests, i.e. File Uploads
Download (0.040MB)
Added: 2007-07-23 License: GPL (GNU General Public License) Price:
823 downloads
HTTunnel 0.04
HTTunnel is a universal HTTP tunnel using Apache, mod_perl and Perl. more>>
HTTunnel is a universal HTTP tunnel using Apache, mod_perl and Perl.
To install this module do the following:
perl Makefile.PL
make
make test
make install
Note 1: The test suite will require the URL to an Apache::HTTunnel server to run. You will prompted for it during the installation. This server must allow tunnels to localhost:80. That Apache server must also return an HTTP 200 code for a "GET / HTTP/1.0" request.
Generally if the server has index.html file in the document root it will be ok.
<<lessTo install this module do the following:
perl Makefile.PL
make
make test
make install
Note 1: The test suite will require the URL to an Apache::HTTunnel server to run. You will prompted for it during the installation. This server must allow tunnels to localhost:80. That Apache server must also return an HTTP 200 code for a "GET / HTTP/1.0" request.
Generally if the server has index.html file in the document root it will be ok.
Download (0.011MB)
Added: 2006-07-03 License: Artistic License Price:
1209 downloads
HTTP::Browscap 0.02
HTTP::Browscap is a Perl module that can parse and search browscap.ini files. more>>
HTTP::Browscap is a Perl module that can parse and search browscap.ini files.
SYNOPSIS
use HTTP::Browscap;
my $capable = browscap();
if( $capable->{wap} ) {
output_WAP();
}
if( $capable->{css} > 1 ) {
# Browser can handle CSS2
}
# OO interface
my $BC = HTTP::Browscap->new( browscap.ini );
$capable = $BC->match( $ENV{HTTP_USER_AGENT} );
ABSTRACT
Browscap.ini is a file, introduced with Microsofts IIS, that lists the User-Agent strings that different browsers send, and various capabilities of those browsers. This module parses browscap.ini and allows you to find the capability definitions for a given browser.
Starting with Microsofts IIS, a browscap.ini file was used to list the capabilities of various browsers. Using the User-Agent string that a browser sends in the HTTP request, the capabilities of a browser are retrieved. If an exact match of the User-Agent string isnt found, wild-card expantion is done. If all fails, a default browser definition is used.
There are limits the usefulness of browscap.ini. It only detects if a browser has a certain capability, but not if this capability has been deactivated or if its a buggy implementation. In particular, most CSS and JavaScript implementations will make you scream.
<<lessSYNOPSIS
use HTTP::Browscap;
my $capable = browscap();
if( $capable->{wap} ) {
output_WAP();
}
if( $capable->{css} > 1 ) {
# Browser can handle CSS2
}
# OO interface
my $BC = HTTP::Browscap->new( browscap.ini );
$capable = $BC->match( $ENV{HTTP_USER_AGENT} );
ABSTRACT
Browscap.ini is a file, introduced with Microsofts IIS, that lists the User-Agent strings that different browsers send, and various capabilities of those browsers. This module parses browscap.ini and allows you to find the capability definitions for a given browser.
Starting with Microsofts IIS, a browscap.ini file was used to list the capabilities of various browsers. Using the User-Agent string that a browser sends in the HTTP request, the capabilities of a browser are retrieved. If an exact match of the User-Agent string isnt found, wild-card expantion is done. If all fails, a default browser definition is used.
There are limits the usefulness of browscap.ini. It only detects if a browser has a certain capability, but not if this capability has been deactivated or if its a buggy implementation. In particular, most CSS and JavaScript implementations will make you scream.
Download (0.009MB)
Added: 2007-06-09 License: Perl Artistic License Price:
875 downloads
HTTP::Async 0.05
HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking. more>>
HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking.
SYNOPSIS
Create an object and add some requests to it:
use HTTP::Async;
my $async = HTTP::Async->new;
# create some requests and add them to the queue.
$async->add( HTTP::Request->new( GET => http://www.perl.org/ ) );
$async->add( HTTP::Request->new( GET => http://www.ecclestoad.co.uk/ ) );
and then EITHER process the responses as they come back:
while ( my $response = $async->wait_for_next_response ) {
# Do some processing with $response
}
OR do something else if there is no response ready:
while ( $async->not_empty ) {
if ( my $response = $async->next_response ) {
# deal with $response
} else {
# do something else
{
}
OR just use the async object to fetch stuff in the background and deal with the responses at the end.
# Do some long code...
for ( 1 .. 100 ) {
some_function();
$async->poke; # lets it check for incoming data.
}
while ( my $response = $async->wait_for_next_response ) {
# Do some processing with $response
}
Although using the conventional LWP::UserAgent is fast and easy it does have some drawbacks - the code execution blocks until the request has been completed and it is only possible to process one request at a time. HTTP::Async attempts to address these limitations.
It gives you a Async object that you can add requests to, and then get the requests off as they finish. The actual sending and receiving of the requests is abstracted. As soon as you add a request it is transmitted, if there are too many requests in progress at the moment they are queued. There is no concept of starting or stopping - it runs continuously.
Whilst it is waiting to receive data it returns control to the code that called it meaning that you can carry out processing whilst fetching data from the network. All without forking or threading - it is actually done using select lists.
<<lessSYNOPSIS
Create an object and add some requests to it:
use HTTP::Async;
my $async = HTTP::Async->new;
# create some requests and add them to the queue.
$async->add( HTTP::Request->new( GET => http://www.perl.org/ ) );
$async->add( HTTP::Request->new( GET => http://www.ecclestoad.co.uk/ ) );
and then EITHER process the responses as they come back:
while ( my $response = $async->wait_for_next_response ) {
# Do some processing with $response
}
OR do something else if there is no response ready:
while ( $async->not_empty ) {
if ( my $response = $async->next_response ) {
# deal with $response
} else {
# do something else
{
}
OR just use the async object to fetch stuff in the background and deal with the responses at the end.
# Do some long code...
for ( 1 .. 100 ) {
some_function();
$async->poke; # lets it check for incoming data.
}
while ( my $response = $async->wait_for_next_response ) {
# Do some processing with $response
}
Although using the conventional LWP::UserAgent is fast and easy it does have some drawbacks - the code execution blocks until the request has been completed and it is only possible to process one request at a time. HTTP::Async attempts to address these limitations.
It gives you a Async object that you can add requests to, and then get the requests off as they finish. The actual sending and receiving of the requests is abstracted. As soon as you add a request it is transmitted, if there are too many requests in progress at the moment they are queued. There is no concept of starting or stopping - it runs continuously.
Whilst it is waiting to receive data it returns control to the code that called it meaning that you can carry out processing whilst fetching data from the network. All without forking or threading - it is actually done using select lists.
Download (0.015MB)
Added: 2007-01-17 License: Perl Artistic License Price:
1011 downloads
HTTunnel::Client 0.08
HTTunnel::Client is a client class for Apache::HTTunnel. more>>
HTTunnel::Client is a client class for Apache::HTTunnel.
SYNOPSIS
my $hc = new HTTunnel::Client("http://localhost/httunnel") ;
$hc->connect(tcp, $some_host, $some_port) ;
$hc->print(some request) ;
my $some_response = $hc->read(1024) ;
$ch->close() ;
HTTunnel::Client is the client class to Apache::HTTunnel. It allows the creation of a network connection tunnelled through HTTP. All data sent and received during this connection will be transported inside normal HTTP requests.
HTTunnel::Client extends LWP::UserAgent, so all LWP::UserAgent methods are available through HTTunnel::Client.
CONSTRUCTORS
new ( URL, [ARGS] )
Creates an HTTunnel::Client object that will use URL to contact the Apache::HTTunnel server. ARGS are is passed directly to the LWP::UserAgent constructor.
METHODS
connect ( PROTO, HOST, PORT, [TIMEOUT] )
Asks the Apache::HTTunnel server to establish a connection of protocol PROTO to HOST:PORT. An exception is thrown if an error occurs.
Accepted values for PROTO are tcp and udp.
print ( DATA )
Asks the Apache::HTTunnel server to write DATA to the established remote connection. An exception is thrown if an error occurs.
DATA can be a scalar or a list, in which case the list items are concatenated together.
read ( LEN, [TIMEOUT], [LIFELINE], [LIFELINE_CUT_ACTION] )
Asks the Apache::HTTunnel server to read up to LEN bytes from the established remote connection. An exception is thrown if an error occurs.
When trying to read, HTTunnel::Client will establish an HTTP connection to the Apache::HTTunnel server asking that LEN bytes be read. If no data is available after TIMEOUT seconds (the default value is 15 seconds), the HTTP connection is closed by the server and the read method will establish a new one. This will go on until some data or EOF is returned.
Therefore read will return only when some (or no more) data is available to be read (like the regular read).
LIFELINE can be any valid filehandle from which one can read. If used, read will interrupt its connection loop and execute LIFELINE_CUT_ACTION when data (or EOF) is available to be read from LIFELINE. It will then return undef.
LIFELINE_CUT_ACTION wust be a CODE ref. The default value is
sub {die("lifeline cutn")}
These features can be used if you want fork and to start a process that does nothing but reads and returns the data via a pipe. You can then use a second pipe to make sure the reader process terminates when the master process terminates.
Here is an example:
my $lifeline = new IO::Pipe() ;
my $reader = new IO::Pipe() ;
my $pid = fork() ;
if ($pid){
$reader->reader() ;
$lifeline->writer() ;
# Read data from $reader...
}
else {
$reader->writer() ;
$reader->autoflush(1) ;
$lifeline->reader() ;
while (1){
my $data = $hc->read(1024, 15, $lifeline, sub {exit()}) ;
exit() unless defined($data) ;
print $reader $data ;
}
}
close ( )
Asks the Apache::HTTunnel server to close a previously established connection.
get_peer_info ( )
The get_peer_info method returns information about the remote connection. A string containing the IP address and port number, separated by a colon (:) is returned. This method can be useful with UDP connections to validate the sender of each packet.
request_callback ( REQUEST )
The request_callback method is a callback method that can be used to access the HTTP::Request object just before it is sent. The default implementation does nothing.
response_callback ( RESPONSE )
The response_callback method is a callback method that can be used to access the HTTP::Response object just after it is received. The default implementation does nothing.
<<lessSYNOPSIS
my $hc = new HTTunnel::Client("http://localhost/httunnel") ;
$hc->connect(tcp, $some_host, $some_port) ;
$hc->print(some request) ;
my $some_response = $hc->read(1024) ;
$ch->close() ;
HTTunnel::Client is the client class to Apache::HTTunnel. It allows the creation of a network connection tunnelled through HTTP. All data sent and received during this connection will be transported inside normal HTTP requests.
HTTunnel::Client extends LWP::UserAgent, so all LWP::UserAgent methods are available through HTTunnel::Client.
CONSTRUCTORS
new ( URL, [ARGS] )
Creates an HTTunnel::Client object that will use URL to contact the Apache::HTTunnel server. ARGS are is passed directly to the LWP::UserAgent constructor.
METHODS
connect ( PROTO, HOST, PORT, [TIMEOUT] )
Asks the Apache::HTTunnel server to establish a connection of protocol PROTO to HOST:PORT. An exception is thrown if an error occurs.
Accepted values for PROTO are tcp and udp.
print ( DATA )
Asks the Apache::HTTunnel server to write DATA to the established remote connection. An exception is thrown if an error occurs.
DATA can be a scalar or a list, in which case the list items are concatenated together.
read ( LEN, [TIMEOUT], [LIFELINE], [LIFELINE_CUT_ACTION] )
Asks the Apache::HTTunnel server to read up to LEN bytes from the established remote connection. An exception is thrown if an error occurs.
When trying to read, HTTunnel::Client will establish an HTTP connection to the Apache::HTTunnel server asking that LEN bytes be read. If no data is available after TIMEOUT seconds (the default value is 15 seconds), the HTTP connection is closed by the server and the read method will establish a new one. This will go on until some data or EOF is returned.
Therefore read will return only when some (or no more) data is available to be read (like the regular read).
LIFELINE can be any valid filehandle from which one can read. If used, read will interrupt its connection loop and execute LIFELINE_CUT_ACTION when data (or EOF) is available to be read from LIFELINE. It will then return undef.
LIFELINE_CUT_ACTION wust be a CODE ref. The default value is
sub {die("lifeline cutn")}
These features can be used if you want fork and to start a process that does nothing but reads and returns the data via a pipe. You can then use a second pipe to make sure the reader process terminates when the master process terminates.
Here is an example:
my $lifeline = new IO::Pipe() ;
my $reader = new IO::Pipe() ;
my $pid = fork() ;
if ($pid){
$reader->reader() ;
$lifeline->writer() ;
# Read data from $reader...
}
else {
$reader->writer() ;
$reader->autoflush(1) ;
$lifeline->reader() ;
while (1){
my $data = $hc->read(1024, 15, $lifeline, sub {exit()}) ;
exit() unless defined($data) ;
print $reader $data ;
}
}
close ( )
Asks the Apache::HTTunnel server to close a previously established connection.
get_peer_info ( )
The get_peer_info method returns information about the remote connection. A string containing the IP address and port number, separated by a colon (:) is returned. This method can be useful with UDP connections to validate the sender of each packet.
request_callback ( REQUEST )
The request_callback method is a callback method that can be used to access the HTTP::Request object just before it is sent. The default implementation does nothing.
response_callback ( RESPONSE )
The response_callback method is a callback method that can be used to access the HTTP::Response object just after it is received. The default implementation does nothing.
Download (0.020MB)
Added: 2007-06-09 License: Perl Artistic License Price:
868 downloads
HTTP::Handle 0.2
HTTP::Handle is a HTTP Class designed for streaming. more>>
HTTP::Handle is a HTTP Class designed for streaming.
SYNOPSIS
use HTTP::Handle;
my $http = HTTP::Handle->new( uri => "http://www.google.com/" );
$http->connect();
my $fd = $http->fd();
while () {
print "--> $_";
}
The HTTP::Handle module allows you to make HTTP requests and handle the data yourself. The general ideas is that you use this module to make a HTTP request and handle non-header data yourself. I needed such a feature for my mp3 player to listen to icecast streams.
HTTP::Handle->new()
Create a new HTTP::Handle object thingy.
Arguments possible:
url => "http://www.google.com/"
Sets the initial URL to connect to.
follow_redirects => [ 0 | 1 ]
Automatically follow HTTP redirects. This defaults to true (1). Set to 0 to disable this.
http_request => HASHREF
Any thing put in here will be sent as "key: value" in the http request string.
$http->connect()
Connect, send the http request, and process the response headers.
This function returns -1 on failure, undef otherwise. The reason for failure will be printed to STDERR.
$http->fd()
Get the file descriptor (socket) were using to connect.
$http->url( [ url_string ])
Get or set the URL. If a url string is passed, you will change the url that is requested. If no parameter is passed, a URI object will be returned containing the
$http->follow_redirects( [ 0 | 1 ] )
If a value is passed then you will set whether or not we will automatically follow HTTP 302 Redirects. If no value is passed, then we will return whatever the current option is.
Defaults to 1 (will follow redirects).
$http->http_request_string()
Returns a string containing the HTTP request and headers, this is used when
$http->connect() is called.
<<lessSYNOPSIS
use HTTP::Handle;
my $http = HTTP::Handle->new( uri => "http://www.google.com/" );
$http->connect();
my $fd = $http->fd();
while () {
print "--> $_";
}
The HTTP::Handle module allows you to make HTTP requests and handle the data yourself. The general ideas is that you use this module to make a HTTP request and handle non-header data yourself. I needed such a feature for my mp3 player to listen to icecast streams.
HTTP::Handle->new()
Create a new HTTP::Handle object thingy.
Arguments possible:
url => "http://www.google.com/"
Sets the initial URL to connect to.
follow_redirects => [ 0 | 1 ]
Automatically follow HTTP redirects. This defaults to true (1). Set to 0 to disable this.
http_request => HASHREF
Any thing put in here will be sent as "key: value" in the http request string.
$http->connect()
Connect, send the http request, and process the response headers.
This function returns -1 on failure, undef otherwise. The reason for failure will be printed to STDERR.
$http->fd()
Get the file descriptor (socket) were using to connect.
$http->url( [ url_string ])
Get or set the URL. If a url string is passed, you will change the url that is requested. If no parameter is passed, a URI object will be returned containing the
$http->follow_redirects( [ 0 | 1 ] )
If a value is passed then you will set whether or not we will automatically follow HTTP 302 Redirects. If no value is passed, then we will return whatever the current option is.
Defaults to 1 (will follow redirects).
$http->http_request_string()
Returns a string containing the HTTP request and headers, this is used when
$http->connect() is called.
Download (0.005MB)
Added: 2006-11-16 License: Perl Artistic License Price:
1072 downloads
HTTP-FUSE-KNOPPIX 4.0
HTTP-FUSE-KNOPPIX is a pile-up KNOPPIX. more>>
HTTP-FUSE-KNOPPIX is a "pile-up" KNOPPIX linux distribution. HTTP-FUSE KNOPPIX downloads pieces of Root Filesystem from a HTTP server when the piece is requested, although normal KNOPPIX requires whole 700MB ISO image at first. The piece is "piled up" on your PC.
The first minimum parts of HTTP-FUSE-KNOPPIX are bootloader with "Linux kernel" and "miniroot". The size is only 6MB. The rest of parts "ROOT file system" which size is 700MB is downloaded on demand as a small piece of block device.
The original block device which includes ROOT file system is split into small data-piece. Each small data-piece is compressed and saved to a file. The files are called "split-and-compressed block files". Split-and-compressed block files is downloaded when it is required. Split-and-compressed block files compose a virtual block device with HTTP-FUSE.
HTTP-FUSE-KNOPPIX selects ROOT file system at boot time. It means HTTP-FUSE-KNOPPIX doesnt make a CD-ROM for customization. It just upload the customized Root File system on HTTP server.
Furthermore the uploaded "split-and-compressed block files" for customized KNOPPIX are difference only. The most split-and-compressed blocks files are shared between original KNOPPIX and customized KNOPPIX. The feature makes small volume of a server when customized KNOPPIX is added.
<<lessThe first minimum parts of HTTP-FUSE-KNOPPIX are bootloader with "Linux kernel" and "miniroot". The size is only 6MB. The rest of parts "ROOT file system" which size is 700MB is downloaded on demand as a small piece of block device.
The original block device which includes ROOT file system is split into small data-piece. Each small data-piece is compressed and saved to a file. The files are called "split-and-compressed block files". Split-and-compressed block files is downloaded when it is required. Split-and-compressed block files compose a virtual block device with HTTP-FUSE.
HTTP-FUSE-KNOPPIX selects ROOT file system at boot time. It means HTTP-FUSE-KNOPPIX doesnt make a CD-ROM for customization. It just upload the customized Root File system on HTTP server.
Furthermore the uploaded "split-and-compressed block files" for customized KNOPPIX are difference only. The most split-and-compressed blocks files are shared between original KNOPPIX and customized KNOPPIX. The feature makes small volume of a server when customized KNOPPIX is added.
Download (5.8MB)
Added: 2006-01-02 License: GPL (GNU General Public License) Price:
1392 downloads
mod_fortress 1.0
mod_fortress is an application level firewall and intrusion detection system. more>>
mod_fortress is an application level firewall and intrusion detection system. mod_fortress is designed to intercept certain CGI/HTTP attacks by acting as a non-transparent proxy between an Apache server and an HTTP client.
Main features:
- Detects and Logs common known cgi/http security requests and scans
- SSL support
- Detects all known(and hopefully unknown) Anti-IDS Evasive Scaning methods (Whisker, twwwscan, VoidEye...etc)
- "Fortress In the Middle": Ability to act as a non-transparent proxy to modify HTTP return error codes.
- Custom logging option via a changeable format string.
- Supports Apache 1.3/2.0 (2.0 port by Anton Soudouvstev).
<<lessMain features:
- Detects and Logs common known cgi/http security requests and scans
- SSL support
- Detects all known(and hopefully unknown) Anti-IDS Evasive Scaning methods (Whisker, twwwscan, VoidEye...etc)
- "Fortress In the Middle": Ability to act as a non-transparent proxy to modify HTTP return error codes.
- Custom logging option via a changeable format string.
- Supports Apache 1.3/2.0 (2.0 port by Anton Soudouvstev).
Download (0.014MB)
Added: 2006-05-16 License: GPL (GNU General Public License) Price:
1259 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above http requests search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed