http mobileagent jphone 0.26
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2341
HTTP::MobileAgent::JPhone 0.26
HTTP::MobileAgent::JPhone Perl module is a J-Phone implementation. more>>
HTTP::MobileAgent::JPhone Perl module is a J-Phone implementation.
SYNOPSIS
use HTTP::MobileAgent;
local $ENV{HTTP_USER_AGENT} = "J-PHONE/2.0/J-DN02";
my $agent = HTTP::MobileAgent->new;
printf "Name: %sn", $agent->name; # "J-PHONE"
printf "Version: %sn", $agent->version; # 2.0
printf "Model: %sn", $agent->model; # "J-DN02"
print "Packet is compliant.n" if $agent->packet_compliant; # false
# only availabe in Java compliant
# e.g.) "J-PHONE/4.0/J-SH51/SNXXXXXXXXX SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0"
printf "Serial: %sn", $agent->serial_number; # XXXXXXXXXX
printf "Vendor: %sn", $agent->vendor; # SH
printf "Vender Version: %sn", $agent->vendor_version; # "0001a"
my $info = $self->java_info; # hash reference
print map { "$_: $info->{$_}n" } keys %$info;
HTTP::MobileAgent::JPhone is a subclass of HTTP::MobileAgent::Vodafone.
<<lessSYNOPSIS
use HTTP::MobileAgent;
local $ENV{HTTP_USER_AGENT} = "J-PHONE/2.0/J-DN02";
my $agent = HTTP::MobileAgent->new;
printf "Name: %sn", $agent->name; # "J-PHONE"
printf "Version: %sn", $agent->version; # 2.0
printf "Model: %sn", $agent->model; # "J-DN02"
print "Packet is compliant.n" if $agent->packet_compliant; # false
# only availabe in Java compliant
# e.g.) "J-PHONE/4.0/J-SH51/SNXXXXXXXXX SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0"
printf "Serial: %sn", $agent->serial_number; # XXXXXXXXXX
printf "Vendor: %sn", $agent->vendor; # SH
printf "Vender Version: %sn", $agent->vendor_version; # "0001a"
my $info = $self->java_info; # hash reference
print map { "$_: $info->{$_}n" } keys %$info;
HTTP::MobileAgent::JPhone is a subclass of HTTP::MobileAgent::Vodafone.
Download (0.022MB)
Added: 2007-06-18 License: Perl Artistic License Price:
861 downloads
HTTP::MobileAgent::Vodafone 0.26
HTTP::MobileAgent::Vodafone is a Perl module with a Vodafone implementation. more>>
HTTP::MobileAgent::Vodafone is a Perl module with a Vodafone implementation.
SYNOPSIS
use HTTP::MobileAgent;
local $ENV{HTTP_USER_AGENT} = "J-PHONE/2.0/J-DN02";
my $agent = HTTP::MobileAgent->new;
printf "Name: %sn", $agent->name; # "J-PHONE"
printf "Version: %sn", $agent->version; # 2.0
printf "Model: %sn", $agent->model; # "J-DN02"
print "Packet is compliant.n" if $agent->packet_compliant; # false
# only availabe in Java compliant
# e.g.) "J-PHONE/4.0/J-SH51/SNXXXXXXXXX SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0"
printf "Serial: %sn", $agent->serial_number; # XXXXXXXXXX
printf "Vendor: %sn", $agent->vendor; # SH
printf "Vender Version: %sn", $agent->vendor_version; # "0001a"
my $info = $self->java_info; # hash reference
print map { "$_: $info->{$_}n" } keys %$info;
<<lessSYNOPSIS
use HTTP::MobileAgent;
local $ENV{HTTP_USER_AGENT} = "J-PHONE/2.0/J-DN02";
my $agent = HTTP::MobileAgent->new;
printf "Name: %sn", $agent->name; # "J-PHONE"
printf "Version: %sn", $agent->version; # 2.0
printf "Model: %sn", $agent->model; # "J-DN02"
print "Packet is compliant.n" if $agent->packet_compliant; # false
# only availabe in Java compliant
# e.g.) "J-PHONE/4.0/J-SH51/SNXXXXXXXXX SH/0001a Profile/MIDP-1.0 Configuration/CLDC-1.0 Ext-Profile/JSCL-1.1.0"
printf "Serial: %sn", $agent->serial_number; # XXXXXXXXXX
printf "Vendor: %sn", $agent->vendor; # SH
printf "Vender Version: %sn", $agent->vendor_version; # "0001a"
my $info = $self->java_info; # hash reference
print map { "$_: $info->{$_}n" } keys %$info;
Download (0.023MB)
Added: 2007-06-09 License: Perl Artistic License Price:
877 downloads
HTTP::MobileAgent::EZweb 0.26
HTTP::MobileAgent::EZweb is a EZweb implementation. more>>
HTTP::MobileAgent::EZweb is a EZweb implementation.
SYNOPSIS
use HTTP::MobileAgent;
local $ENV{HTTP_USER_AGENT} = "UP.Browser/3.01-HI02 UP.Link/3.2.1.2";
my $agent = HTTP::MobileAgent->new;
printf "Name: %sn", $agent->name; # "UP.Browser"
printf "Version: %sn", $agent->version; # 3.01
printf "DevieID: %sn", $agent->device_id; # HI02
printf "Server: %sn", $agent->server; # "UP.Link/3.2.1.2"
# e.g.) UP.Browser/3.01-HI02 UP.Link/3.2.1.2 (Google WAP Proxy/1.0)
printf "Comment: %sn", $agent->comment; # "Google WAP Proxy/1.0"
# e.g.) KDDI-TS21 UP.Browser/6.0.2.276 (GUI) MMP/1.1
print "XHTML compiant!n" if $agent->xhtml_compliant; # true
HTTP::MobileAgent::EZweb is a subclass of HTTP::MobileAgent, which implements EZweb (WAP1.0/2.0) user agents.
<<lessSYNOPSIS
use HTTP::MobileAgent;
local $ENV{HTTP_USER_AGENT} = "UP.Browser/3.01-HI02 UP.Link/3.2.1.2";
my $agent = HTTP::MobileAgent->new;
printf "Name: %sn", $agent->name; # "UP.Browser"
printf "Version: %sn", $agent->version; # 3.01
printf "DevieID: %sn", $agent->device_id; # HI02
printf "Server: %sn", $agent->server; # "UP.Link/3.2.1.2"
# e.g.) UP.Browser/3.01-HI02 UP.Link/3.2.1.2 (Google WAP Proxy/1.0)
printf "Comment: %sn", $agent->comment; # "Google WAP Proxy/1.0"
# e.g.) KDDI-TS21 UP.Browser/6.0.2.276 (GUI) MMP/1.1
print "XHTML compiant!n" if $agent->xhtml_compliant; # true
HTTP::MobileAgent::EZweb is a subclass of HTTP::MobileAgent, which implements EZweb (WAP1.0/2.0) user agents.
Download (0.023MB)
Added: 2006-11-28 License: Perl Artistic License Price:
1065 downloads
HTTP::MobileAgent::DoCoMo 0.26
HTTP::MobileAgent::DoCoMo is a NTT DoCoMo implementation. more>>
HTTP::MobileAgent::DoCoMo is a NTT DoCoMo implementation.
SYNOPSIS
use HTTP::MobileAgent;
local $ENV{HTTP_USER_AGENT} = "DoCoMo/1.0/P502i/c10";
my $agent = HTTP::MobileAgent->new;
printf "Name: %sn", $agent->name; # "DoCoMo"
printf "Ver: %sn", $agent->version; # 1.0
printf "HTML ver: %sn", $agent->html_version; # 2.0
printf "Model: %sn", $agent->model; # "P502i"
printf "Cache: %dkn", $agent->cache_size; # 10
print "FOMAn" if $agent->is_foma; # false
printf "Vendor: %sn", $agent->vendor; # P
printf "Series: %sn", $agent->series; # "502i"
# only available with
# e.g.) "DoCoMo/1.0/P503i/c10/serNMABH200331";
printf "Serial: %sn", $agent->serial_number; # "NMABH200331"
# e.g.) "DoCoMo/2.0 N2001(c10;ser0123456789abcde;icc01234567890123456789)";
printf "Serial: %sn", $agent->serial_number; # "0123456789abcde"
printf "Card ID: %sn", $agent->card_id; # "01234567890123456789"
# e.g.) "DoCoMo/1.0/P502i (Google CHTML Proxy/1.0)"
printf "Comment: %sn", $agent->comment; # "Google CHTML Proxy/1.0
# e.g.) "DoCoMo/1.0/D505i/c20/TB/W20H10"
printf "Status: %sn", $agent->status; # "TB"
# only available in eggy/M-stage
# e.g.) "DoCoMo/1.0/eggy/c300/s32/kPHS-K"
printf "Bandwidth: %dkbpsn", $agent->bandwidth; # 32
# e.g.) "DoCoMo/2.0 SO902i(c100;TB;W30H16)"
print "XHTML compiant!n" if $agent->xhtml_compliant; # true
HTTP::MobileAgent::DoCoMo is a subclass of HTTP::MobileAgent, which implements NTT docomo i-mode user agents.
<<lessSYNOPSIS
use HTTP::MobileAgent;
local $ENV{HTTP_USER_AGENT} = "DoCoMo/1.0/P502i/c10";
my $agent = HTTP::MobileAgent->new;
printf "Name: %sn", $agent->name; # "DoCoMo"
printf "Ver: %sn", $agent->version; # 1.0
printf "HTML ver: %sn", $agent->html_version; # 2.0
printf "Model: %sn", $agent->model; # "P502i"
printf "Cache: %dkn", $agent->cache_size; # 10
print "FOMAn" if $agent->is_foma; # false
printf "Vendor: %sn", $agent->vendor; # P
printf "Series: %sn", $agent->series; # "502i"
# only available with
# e.g.) "DoCoMo/1.0/P503i/c10/serNMABH200331";
printf "Serial: %sn", $agent->serial_number; # "NMABH200331"
# e.g.) "DoCoMo/2.0 N2001(c10;ser0123456789abcde;icc01234567890123456789)";
printf "Serial: %sn", $agent->serial_number; # "0123456789abcde"
printf "Card ID: %sn", $agent->card_id; # "01234567890123456789"
# e.g.) "DoCoMo/1.0/P502i (Google CHTML Proxy/1.0)"
printf "Comment: %sn", $agent->comment; # "Google CHTML Proxy/1.0
# e.g.) "DoCoMo/1.0/D505i/c20/TB/W20H10"
printf "Status: %sn", $agent->status; # "TB"
# only available in eggy/M-stage
# e.g.) "DoCoMo/1.0/eggy/c300/s32/kPHS-K"
printf "Bandwidth: %dkbpsn", $agent->bandwidth; # 32
# e.g.) "DoCoMo/2.0 SO902i(c100;TB;W30H16)"
print "XHTML compiant!n" if $agent->xhtml_compliant; # true
HTTP::MobileAgent::DoCoMo is a subclass of HTTP::MobileAgent, which implements NTT docomo i-mode user agents.
Download (0.023MB)
Added: 2006-11-29 License: Perl Artistic License Price:
1079 downloads
HTTP Anti Virus Proxy 0.86
HTTP Anti Virus Proxy is a proxy with a ClamAV anti-virus scanner. more>>
HAVP (HTTP Antivirus Proxy) is a proxy with a ClamAV anti-virus scanner. HTTP Anti Virus Proxy aims are continuous, non-blocking downloads and smooth scanning of dynamic and password protected HTTP traffic.
Havp antivirus proxy has a parent and transparent proxy mode. It can be used with squid or standalone.
Main features:
- HTTP Antivirus proxy
- Scans complete incomming traffic
- Nonblocking downloads
- Smooth scanning of dynamic and password protected traffic
- Can used with squid or other proxy
- Parent proxy support
- Transparent proxy support
- Logfile
- Process change to defined user and group
- Daemon
- Use Clamav (GPL antivirus)
- Operating System: Linux
- Written in C++
- Released under GPL
Enhancements:
- Experimental support was added for chunked Transfer-Encoding, which fixes some broken sites.
- The IGNOREVIRUS configuration directive was added for whitelisting virus names.
- The CLAMBLOCKBROKEN configuration directive was added.
- Detection with AVG was improved.
- HAVP is killed if database reloading fails for Library Scanner.
- The URL is logged when a crashed scanner process is detected.
- The build system updated, adding the --prefix, --sbindir, --sysconfdir, and --localstatedir options.
<<lessHavp antivirus proxy has a parent and transparent proxy mode. It can be used with squid or standalone.
Main features:
- HTTP Antivirus proxy
- Scans complete incomming traffic
- Nonblocking downloads
- Smooth scanning of dynamic and password protected traffic
- Can used with squid or other proxy
- Parent proxy support
- Transparent proxy support
- Logfile
- Process change to defined user and group
- Daemon
- Use Clamav (GPL antivirus)
- Operating System: Linux
- Written in C++
- Released under GPL
Enhancements:
- Experimental support was added for chunked Transfer-Encoding, which fixes some broken sites.
- The IGNOREVIRUS configuration directive was added for whitelisting virus names.
- The CLAMBLOCKBROKEN configuration directive was added.
- Detection with AVG was improved.
- HAVP is killed if database reloading fails for Library Scanner.
- The URL is logged when a crashed scanner process is detected.
- The build system updated, adding the --prefix, --sbindir, --sysconfdir, and --localstatedir options.
Download (0.53MB)
Added: 2007-04-17 License: GPL (GNU General Public License) Price:
932 downloads
HTTP Server type 1.2.3
httptype is a program that returns the http host software of a website. more>>
httptype is a program that returns the http host software of a website. It is written in Perl.
httptype reads a list of http hosts and optionally the port number for each of these. It queries each host, displaying the type of HTTP server running on that host. It reads the http_proxy and no_proxy environment variables to determine whether to use a proxy or not.
httptype reads a list of http servers and, optionally, the port number for each of these. It then queries each of the hosts and displays the HTTP server software of the host.
Input may be read from a host file if specified using the --hosts switch:
httptype --hosts [hostfile]
If hostfile is omitted or `-, httptype reads from standard input. See Format of host file for more info.
A single host may be queried by passing its name on the command line:
httptype host [port]
If port is omitted, 80 is used.
If no host file is specified through the --hosts file and no host is specified on the command line, httptype will read the list from standard input. See Format of host file for more info.
httptype will read the http_proxy environment variable and try to determine if a proxy server is being used. This setting may be overridden using the --proxy switch:
httptype --proxy proxyhost[:proxyport]
If proxyport is omitted, 80 is used.
If the proxy server is `none, no proxy is used. This is typically used to prevent httptype from using the proxy server specified by http_proxy. The --noproxy switch can be used to achieve the same.
Additionally, you may use the no_proxy environment variable to specify a comma delimited list of hosts for which httptype should not use the proxy. If httptype comes across any of these hosts, it will make a direct connection to them.
Enhancements:
- made 1.3.8 stable and renamed to 1.2.3
<<lesshttptype reads a list of http hosts and optionally the port number for each of these. It queries each host, displaying the type of HTTP server running on that host. It reads the http_proxy and no_proxy environment variables to determine whether to use a proxy or not.
httptype reads a list of http servers and, optionally, the port number for each of these. It then queries each of the hosts and displays the HTTP server software of the host.
Input may be read from a host file if specified using the --hosts switch:
httptype --hosts [hostfile]
If hostfile is omitted or `-, httptype reads from standard input. See Format of host file for more info.
A single host may be queried by passing its name on the command line:
httptype host [port]
If port is omitted, 80 is used.
If no host file is specified through the --hosts file and no host is specified on the command line, httptype will read the list from standard input. See Format of host file for more info.
httptype will read the http_proxy environment variable and try to determine if a proxy server is being used. This setting may be overridden using the --proxy switch:
httptype --proxy proxyhost[:proxyport]
If proxyport is omitted, 80 is used.
If the proxy server is `none, no proxy is used. This is typically used to prevent httptype from using the proxy server specified by http_proxy. The --noproxy switch can be used to achieve the same.
Additionally, you may use the no_proxy environment variable to specify a comma delimited list of hosts for which httptype should not use the proxy. If httptype comes across any of these hosts, it will make a direct connection to them.
Enhancements:
- made 1.3.8 stable and renamed to 1.2.3
Download (0.014MB)
Added: 2006-07-11 License: GPL (GNU General Public License) Price:
1203 downloads
Bigtop 0.26
Bigtop is a web application data language processor. more>>
Bigtop is a web application data language processor.
SYNOPSIS
See Bigtop::Docs::TentTut or Bigtop::Docs::Tutorial for how to create a Bigtop file. Bigtop::Docs::TOC is a guide to all of the documentation modules.
The real synopsis:
vi your_app.bigtop (or use tentmaker see Bigtop::Docs::TentTut)
bigtop --create your_app.bigtop all
Modify your bigtop file and try again:
bigtop docs/your_app.bigtop all
Bigtop is a language for describing the data of a web application. Usually this data will be stored in a relational database. Once you have a description of your data, you can generate a web application from it. This includes all the pieces you need like: the sql statements ready for feeding to your database command line tool, the httpd.conf you need to Include in the httpd.conf on your system, the modules that will handle the web requests, the models that make the database tables look like classes, etc.
If you need to alter the data model in the future, you can change your original description to match the new reality, then regenerate the application without fear of losing hand written code (though you may have to modify some of it to reflect the new reality).
FUNCTIONS
This module is really a place holder, but it does provide some developer routines (which are not exported):
write_file
use Bigtop;
Bigtop::write_file( $file_name, $file_content, $no_overwrite )
This attempts to write $file_content to $file_name and dies on failures of open or close. Further, if you pass a true no_overwrite flag, it will check to see if the file exists and refuse to overwrite it. In that case, the user gets a warning that the file has been skipped because it already exists. If you dont want the user to see the warning, turn off the Bigtop warning. To avoid fatal errors on write failures, wrap in an eval. Putting these together, we come to my typcial usage:
eval {
no warnings qw( Bigtop );
Bigtop::write_file( $some_output_file, $content, no_overwrite );
}
warn $@ if $@;
make_module_path
(Note that make_module_path uses File::Spec, so even though Unix directory syntax is shown below, the function should work in other places.)
use Bigtop;
Bigtop::make_module_path( $build_dir, $module_name );
This attempts to make all the directories from $build_dir to the home of the module. It assumes that lib comes immediately after $build_dir.
For example, a call like:
Bigtop::make_module_path(
/home/username/App-Name, App::Name::Subname
);
Attempts to make these directories:
/home/username/App-Name/lib
/home/username/App-Name/lib/App
/home/username/App-Name/lib/App/Name
/home/username/App-Name/lib/App/Name/Subname
It doesnt report failures. Making directories can fail because the directories already exist (in which case you probably dont care) or because they could not be written (in which case youll notice soon enough, when you try to write to them).
<<lessSYNOPSIS
See Bigtop::Docs::TentTut or Bigtop::Docs::Tutorial for how to create a Bigtop file. Bigtop::Docs::TOC is a guide to all of the documentation modules.
The real synopsis:
vi your_app.bigtop (or use tentmaker see Bigtop::Docs::TentTut)
bigtop --create your_app.bigtop all
Modify your bigtop file and try again:
bigtop docs/your_app.bigtop all
Bigtop is a language for describing the data of a web application. Usually this data will be stored in a relational database. Once you have a description of your data, you can generate a web application from it. This includes all the pieces you need like: the sql statements ready for feeding to your database command line tool, the httpd.conf you need to Include in the httpd.conf on your system, the modules that will handle the web requests, the models that make the database tables look like classes, etc.
If you need to alter the data model in the future, you can change your original description to match the new reality, then regenerate the application without fear of losing hand written code (though you may have to modify some of it to reflect the new reality).
FUNCTIONS
This module is really a place holder, but it does provide some developer routines (which are not exported):
write_file
use Bigtop;
Bigtop::write_file( $file_name, $file_content, $no_overwrite )
This attempts to write $file_content to $file_name and dies on failures of open or close. Further, if you pass a true no_overwrite flag, it will check to see if the file exists and refuse to overwrite it. In that case, the user gets a warning that the file has been skipped because it already exists. If you dont want the user to see the warning, turn off the Bigtop warning. To avoid fatal errors on write failures, wrap in an eval. Putting these together, we come to my typcial usage:
eval {
no warnings qw( Bigtop );
Bigtop::write_file( $some_output_file, $content, no_overwrite );
}
warn $@ if $@;
make_module_path
(Note that make_module_path uses File::Spec, so even though Unix directory syntax is shown below, the function should work in other places.)
use Bigtop;
Bigtop::make_module_path( $build_dir, $module_name );
This attempts to make all the directories from $build_dir to the home of the module. It assumes that lib comes immediately after $build_dir.
For example, a call like:
Bigtop::make_module_path(
/home/username/App-Name, App::Name::Subname
);
Attempts to make these directories:
/home/username/App-Name/lib
/home/username/App-Name/lib/App
/home/username/App-Name/lib/App/Name
/home/username/App-Name/lib/App/Name/Subname
It doesnt report failures. Making directories can fail because the directories already exist (in which case you probably dont care) or because they could not be written (in which case youll notice soon enough, when you try to write to them).
Download (1.0MB)
Added: 2007-05-09 License: Perl Artistic License Price:
898 downloads
HTTP Proxy Client 0.8.5
HTTP Proxy Client is a set of libraries and scripts that provide transparent access to Internet. more>>
HTTP Proxy Client is the small set of libraries and scripts, which provides transparent access to Internet via HTTP proxy for programs, which uses TCP/IP for communication.
The list of programs includes: telnet, ftp, licq, cvs, smth else? Project implements dynamic library, that can be preloaded before program run.
The library substitutes some system calls (connect(), gethostbyaddr(), gethostbyname()), with calls, which makes TCP/IP connection through HTTP proxy. This allows client programs behind HTTP proxy work with Internet without limitations.
At the moment tested on i386 Linux, i386/sparc Solaris.
Enhancements:
- While using dotted address, applications will attempt to connect regardless DNS lookup result.
<<lessThe list of programs includes: telnet, ftp, licq, cvs, smth else? Project implements dynamic library, that can be preloaded before program run.
The library substitutes some system calls (connect(), gethostbyaddr(), gethostbyname()), with calls, which makes TCP/IP connection through HTTP proxy. This allows client programs behind HTTP proxy work with Internet without limitations.
At the moment tested on i386 Linux, i386/sparc Solaris.
Enhancements:
- While using dotted address, applications will attempt to connect regardless DNS lookup result.
Download (0.21MB)
Added: 2005-09-13 License: GPL (GNU General Public License) Price:
1510 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
Catalyst::Plugin::Email::Page 0.26
Catalyst::Plugin::Email::Page is a Perl module to email your Catalyst page. more>>
Catalyst::Plugin::Email::Page is a Perl module to email your Catalyst page.
SYNOPSIS
use Catalyst::Plugin::Email::Page;
__PACKAGE__->config->{email_page}{
email = q{webmaster@example.com},
subject = q{User Report for},
link_text = q{Report Page},
};
# In your Template
[% c.email_page_url %]
This is a simple plugin that lets a developer set and forget e-mail links in Catalyst
INTERFACE
email_page_url
Returns a link in the form of: mailto:webmaster@example.com?subject=User Report for http://yours.com/
The mailto subject is escaped using uri_escape_utf8 from URI::Escape and http://yours.com/ is the current pages uri
email_page_body
Allows you to e-mail the whole page to someone once you have the right template. Used the same way as email_page_url
To do.
email_page_anchor
Allows you to e-mail a page anchor. Used the same way as email_page_url
To do.
_construct_url
Internal routine.
Reads in the various configuration settings and constructs the mailto link. See "CONFIGURATION AND ENVIRONMENT"
<<lessSYNOPSIS
use Catalyst::Plugin::Email::Page;
__PACKAGE__->config->{email_page}{
email = q{webmaster@example.com},
subject = q{User Report for},
link_text = q{Report Page},
};
# In your Template
[% c.email_page_url %]
This is a simple plugin that lets a developer set and forget e-mail links in Catalyst
INTERFACE
email_page_url
Returns a link in the form of: mailto:webmaster@example.com?subject=User Report for http://yours.com/
The mailto subject is escaped using uri_escape_utf8 from URI::Escape and http://yours.com/ is the current pages uri
email_page_body
Allows you to e-mail the whole page to someone once you have the right template. Used the same way as email_page_url
To do.
email_page_anchor
Allows you to e-mail a page anchor. Used the same way as email_page_url
To do.
_construct_url
Internal routine.
Reads in the various configuration settings and constructs the mailto link. See "CONFIGURATION AND ENVIRONMENT"
Download (0.021MB)
Added: 2007-01-17 License: Perl Artistic License Price:
1010 downloads
HTTP::GetImages 0.343
HTTP::GetImages is a spider to recover and store images from web pages. more>>
HTTP::GetImages is a spider to recover and store images from web pages.
SYNOPSIS
use HTTP::GetImages;
$_ = new HTTP::GetImages (
dir => .,
todo => [http://www.google.com/,],
dont => [http://www.somewhere/ignorethis.html,http://and.this.html],
chat => 1,
);
$_->print_imgs;
$_->print_done;
$_->print_failed;
$_->print_ignored;
my $hash = $_->imgs_as_hash;
foreach (keys %{$hash}){
warn "$_ = ",$hash->{$_},"n";
}
exit;
This module allow syou to automate the searching, recovery and local storage of images from the web, including those linked by anchor (A), mage (IMG) and image map (AREA) elements.
Supply a URI or list of URIs to process, and HTTP::GetImages will recurse over every link it finds, searching for images.
By supplying a list of URIs, you can restrict the search to certain webservers and directories, or exclude it from certain webservers and directories.
You can also decide to reject images that are too small or too large.
<<lessSYNOPSIS
use HTTP::GetImages;
$_ = new HTTP::GetImages (
dir => .,
todo => [http://www.google.com/,],
dont => [http://www.somewhere/ignorethis.html,http://and.this.html],
chat => 1,
);
$_->print_imgs;
$_->print_done;
$_->print_failed;
$_->print_ignored;
my $hash = $_->imgs_as_hash;
foreach (keys %{$hash}){
warn "$_ = ",$hash->{$_},"n";
}
exit;
This module allow syou to automate the searching, recovery and local storage of images from the web, including those linked by anchor (A), mage (IMG) and image map (AREA) elements.
Supply a URI or list of URIs to process, and HTTP::GetImages will recurse over every link it finds, searching for images.
By supplying a list of URIs, you can restrict the search to certain webservers and directories, or exclude it from certain webservers and directories.
You can also decide to reject images that are too small or too large.
Download (0.007MB)
Added: 2006-11-15 License: GPL (GNU General Public License) Price:
1073 downloads
HTTP::Server::Simple::Recorder 0.02
HTTP::Server::Simple::Recorder is Perl module for mixin to record HTTP::Server::Simples sockets. more>>
HTTP::Server::Simple::Recorder is Perl module for mixin to record HTTP::Server::Simples sockets.
SYNOPSIS
package MyServer;
use base qw/HTTP::Server::Simple::Recorder HTTP::Server::Simple::CGI/;
sub recorder_prefix { "path/to/logs/record" } # defaults to /tmp/http-server-simple-recorder
# logs to path/to/logs/record.34244.1.in,
# path/to/logs/record.34244.1.out,
# path/to/logs/record.34244.2.in,
# path/to/logs/record.34244.2.out, etc, if 34244 is the PID of the server
This module allows you to record all HTTP communication between an HTTP::Server::Simple-derived server and its clients. It is a mixin, so it doesnt itself subclass HTTP::Server::Simple; you need to subclass from both HTTP::Server::Simple::Recorder and an actual HTTP::Server::Simple subclass, and HTTP::Server::Simple::Recorder should be listed first.
Every time a client connects to your server, this module will open a pair of files and log the communication between the file and server to these files. Each connection gets a serial number starting at 1. The filename used is >, then a period, then the connection serial number, then a period, then either "in" or "out". recorder_prefix defaults to /tmp/http-server-simple-recorder, but you can override that in your subclass. For example, you might want to include the process ID.
<<lessSYNOPSIS
package MyServer;
use base qw/HTTP::Server::Simple::Recorder HTTP::Server::Simple::CGI/;
sub recorder_prefix { "path/to/logs/record" } # defaults to /tmp/http-server-simple-recorder
# logs to path/to/logs/record.34244.1.in,
# path/to/logs/record.34244.1.out,
# path/to/logs/record.34244.2.in,
# path/to/logs/record.34244.2.out, etc, if 34244 is the PID of the server
This module allows you to record all HTTP communication between an HTTP::Server::Simple-derived server and its clients. It is a mixin, so it doesnt itself subclass HTTP::Server::Simple; you need to subclass from both HTTP::Server::Simple::Recorder and an actual HTTP::Server::Simple subclass, and HTTP::Server::Simple::Recorder should be listed first.
Every time a client connects to your server, this module will open a pair of files and log the communication between the file and server to these files. Each connection gets a serial number starting at 1. The filename used is >, then a period, then the connection serial number, then a period, then either "in" or "out". recorder_prefix defaults to /tmp/http-server-simple-recorder, but you can override that in your subclass. For example, you might want to include the process ID.
Download (0.011MB)
Added: 2007-01-25 License: Perl Artistic License Price:
1005 downloads
Plasma EBG 0.26.22
Plasma EBG project is an Empire Building Game for Linux/Windows/Solaris/BSD. more>>
Plasma EBG project is an Empire Building Game for Linux/Windows/Solaris/BSD.
Plasma EBG is an empire building game with an isometric view.
It runs in multiple resolutions with graphics being displayed better for higher resolutions; hence, lower resolutions do not suffer from being too large, etc. In the future several viewing engines will be available, such as EBG-opengl and EBG-2d.
There is a separate module called EBG-dev which features the latest AI-development, as well as a separate server module.
Enhancements:
- Plasma has had server problems in the past 2-2.5months. Hence this release is not that impressive - but it is long overdue.
- Many libraries have been updated/fixed... such as libpng (1.2.1), allegro (4.0.1).
- The new plasma server will be installed after easter some time - and soon after most planned features will be completed.
<<lessPlasma EBG is an empire building game with an isometric view.
It runs in multiple resolutions with graphics being displayed better for higher resolutions; hence, lower resolutions do not suffer from being too large, etc. In the future several viewing engines will be available, such as EBG-opengl and EBG-2d.
There is a separate module called EBG-dev which features the latest AI-development, as well as a separate server module.
Enhancements:
- Plasma has had server problems in the past 2-2.5months. Hence this release is not that impressive - but it is long overdue.
- Many libraries have been updated/fixed... such as libpng (1.2.1), allegro (4.0.1).
- The new plasma server will be installed after easter some time - and soon after most planned features will be completed.
Download (1.4MB)
Added: 2006-11-06 License: Freely Distributable Price:
1082 downloads
HTTP::Server::Simple::Mason 0.09
HTTP::Server::Simple::Mason is an abstract baseclass for a standalone mason server. more>>
HTTP::Server::Simple::Mason is an abstract baseclass for a standalone mason server.
SYNOPSIS
my $server = MyApp::Server->new();
$server->run;
package MyApp::Server;
use base qw/HTTP::Server::Simple::Mason/;
sub mason_config {
return ( comp_root => /tmp/mason-pages );
}
INTERFACE
See HTTP::Server::Simple and the documentation below.
mason_handler
Returns the servers HTML::Mason::CGIHandler object. The first time this method is called, it creates a new handler by calling new_handler.
handle_request CGI
Called with a CGI object. Invokes mason and runs the request
handle_error ERROR
If the call to handle_request dies, handle_error is called with the exception (that is, $@). By default, it does nothing; it can be overriden by your subclass.
new_handler
Creates and returns a new HTML::Mason::CGIHandler, with configuration specified by the default_mason_config and mason_config methods. You dont need to call this method yourself; mason_handler will automatically call it the first time it is called.
handler_class
Returns the name of the Mason handler class invoked in new_handler. Defaults to HTML::Mason::CGIHandler, but in your subclass you may wish to change it to a subclass of HTML::Mason::CGIHandler.
setup_escapes $handler
Sets up the Mason escapes for the handler $handler. For example, the h in
< % $name | h % >
By default, sets h to HTTP::Server::Simple::Mason::escape_utf8 and u to HTTP::Server::Simple::Mason::escape_uri, but you can override this in your subclass.
mason_config
Returns a subclass-defined mason handler configuration; you almost certainly want to override it and specify at least comp_root.
default_mason_config
Returns the default mason handler configuration (which can be overridden by entries in mason_config).
escape_utf8 SCALARREF
does a css-busting but minimalist escaping of whatever html youre passing in.
escape_uri SCALARREF
Escapes URI component according to RFC2396
<<lessSYNOPSIS
my $server = MyApp::Server->new();
$server->run;
package MyApp::Server;
use base qw/HTTP::Server::Simple::Mason/;
sub mason_config {
return ( comp_root => /tmp/mason-pages );
}
INTERFACE
See HTTP::Server::Simple and the documentation below.
mason_handler
Returns the servers HTML::Mason::CGIHandler object. The first time this method is called, it creates a new handler by calling new_handler.
handle_request CGI
Called with a CGI object. Invokes mason and runs the request
handle_error ERROR
If the call to handle_request dies, handle_error is called with the exception (that is, $@). By default, it does nothing; it can be overriden by your subclass.
new_handler
Creates and returns a new HTML::Mason::CGIHandler, with configuration specified by the default_mason_config and mason_config methods. You dont need to call this method yourself; mason_handler will automatically call it the first time it is called.
handler_class
Returns the name of the Mason handler class invoked in new_handler. Defaults to HTML::Mason::CGIHandler, but in your subclass you may wish to change it to a subclass of HTML::Mason::CGIHandler.
setup_escapes $handler
Sets up the Mason escapes for the handler $handler. For example, the h in
< % $name | h % >
By default, sets h to HTTP::Server::Simple::Mason::escape_utf8 and u to HTTP::Server::Simple::Mason::escape_uri, but you can override this in your subclass.
mason_config
Returns a subclass-defined mason handler configuration; you almost certainly want to override it and specify at least comp_root.
default_mason_config
Returns the default mason handler configuration (which can be overridden by entries in mason_config).
escape_utf8 SCALARREF
does a css-busting but minimalist escaping of whatever html youre passing in.
escape_uri SCALARREF
Escapes URI component according to RFC2396
Download (0.013MB)
Added: 2007-01-18 License: Perl Artistic License Price:
1009 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
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 mobileagent jphone 0.26 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