Main > Free Download Search >

Free http client software for linux

http client

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 4706
Curl HTTP Client 1.1

Curl HTTP Client 1.1


Curl HTTP Client is a PHP class that implements an HTTP client using the PHP Curl library extension. more>> <<less
Download (0.003MB)
Added: 2007-03-08 License: BSD License Price:
963 downloads
HTTPClient 0.3-3

HTTPClient 0.3-3


HTTPClient provides a complete http client library. more>>
This package provides a complete http client library. It currently implements most of the relevant parts of the HTTP/1.0 and HTTP/1.1 protocols, including the request methods HEAD, GET, POST and PUT, and automatic handling of authorization, redirection requests, and cookies.

Furthermore the included Codecs class contains coders and decoders for the base64, quoted-printable, URL-encoding, chunked and the multipart/form-data encodings. The whole thing is free, and licenced under the GNU Lesser General Public License (LGPL) (note that this is not the same as the GPL).

Following are the kits and documentation for the HTTPClient Version 0.3-3. If you have any problems, bugs, suggestions, comments, etc. see the info on debugging and reporting problems. An older version of these pages are also available in Japanese, thanks to the kindly efforts of Yuji Kumasaka.

Using the HTTPClient should be quite simple. First add the import statement import HTTPClient.*; to your file(s). Next you create an instance of HTTPConnection (youll need one for every server you wish to talk to). Requests can then be sent using one of the methods Head(), Get(), Post(), etc in HTTPConnection.

These methods all return an instance of HTTPResponse which has methods for accessing the response headers (getHeader(), getHeaderAsInt(), etc), various response info (getStatusCode(), getReasonLine(), etc), the response data (getData(), getText(), and getInputStream()) and any trailers that might have been sent (getTrailer(), getTrailerAsInt(), etc). Following are some examples to get started.
To retrieve files from the URL "http://www.myaddr.net/my/file" you can use something like the following:
try
{
HTTPConnection con = new HTTPConnection("www.myaddr.net");
HTTPResponse rsp = con.Get("/my/file");
if (rsp.getStatusCode() >= 300)
{
System.err.println("Received Error: "+rsp.getReasonLine());
System.err.println(rsp.getText());
}
else
data = rsp.getData();

rsp = con.Get("/another_file");
if (rsp.getStatusCode() >= 300)
{
System.err.println("Received Error: "+rsp.getReasonLine());
System.err.println(rsp.getText());
}
else
other_data = rsp.getData();
}
catch (IOException ioe)
{
System.err.println(ioe.toString());
}
catch (ParseException pe)
{
System.err.println("Error parsing Content-Type: " + pe.toString());
}
catch (ModuleException me)
{
System.err.println("Error handling request: " + me.getMessage());
}

This will get the files "/my/file" and "/another_file" and put their contents into byte[]s accessible via getData(). Note that you need to only create a new HTTPConnection when sending a request to a new server (different protocol, host or port); although you may create a new HTTPConnection for every request to the same server this not recommended, as various information about the server is cached after the first request (to optimize subsequent requests) and persistent connections are used whenever possible (see also Advanced Info).

To POST form data from an applet back to your server you could use something like this (assuming you have two fields called name and e-mail, whose contents are stored in the variables name and email):
try
{
NVPair form_data[] = new NVPair[2];
form_data[0] = new NVPair("name", name);
form_data[1] = new NVPair("e-mail", email);

// note the convenience constructor for applets
HTTPConnection con = new HTTPConnection(this);
HTTPResponse rsp = con.Post("/cgi-bin/my_script", form_data);
if (rsp.getStatusCode() >= 300)
{
System.err.println("Received Error: "+rsp.getReasonLine());
System.err.println(rsp.getText());
}
else
stream = rsp.getInputStream();
}
catch (IOException ioe)
{
System.err.println(ioe.toString());
}
catch (ModuleException me)
{
System.err.println("Error handling request: " + me.getMessage());
}

Here the response data is read at leisure via an InputStream instead of all at once into a byte[].

As another example, if you want to upload a document to a URL (and the server supports http PUT) you could do something like the following:
try
{
URL url = new URL("http://www.mydomain.us/test/my_file");

HTTPConnection con = new HTTPConnection(url);
HTTPResponse rsp = con.Put(url.getFile(), "Hello World");
if (rsp.getStatusCode() >= 300)
{
System.err.println("Received Error: "+rsp.getReasonLine());
System.err.println(rsp.getText());
}
else
text = rsp.getText();
}
catch (IOException ioe)
{
System.err.println(ioe.toString());
}
catch (ModuleException me)
{
System.err.println("Error handling request: " + me.getMessage());
}
<<less
Download (0.52MB)
Added: 2005-09-27 License: LGPL (GNU Lesser General Public License) Price:
1491 downloads
HTTP Proxy Client 0.8.5

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.
<<less
Download (0.21MB)
Added: 2005-09-13 License: GPL (GNU General Public License) Price:
1510 downloads
HTTunnel::Client 0.08

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.

<<less
Download (0.020MB)
Added: 2007-06-09 License: Perl Artistic License Price:
868 downloads
Ghoti IRC Client 0.86

Ghoti IRC Client 0.86


Ghoti is a GUI-based IRC Client for unix/linux. more>>
Ghoti is a GUI-based IRC Client for unix/linux, written in Perl, and distributed under the GPL. Ghoti IRC Client has an uncanny similarity to mIRC.
Main features:
- Multi-server support
- Fully customisable GUI
- DCC Resume support
- Support for mIRC colours
- Robust CTCP flood protection
- Built in XDCC/CDCC file offering
- On-event sounds (if you really must)
<<less
Download (0.15MB)
Added: 2006-07-24 License: GPL (GNU General Public License) Price:
1190 downloads
Oww Client 0.5.4

Oww Client 0.5.4


Oww Client is a graphical client program for One-Wire Weather (Oww) servers. more>>
Oww Client is a graphical client program for One-Wire Weather (Oww) servers. Oww Client is based on GTK+, displaying lists of collected weather data from one or more servers.
Enhancements:
- Owwl was enhanced to include new sensor types (mainly for cryogenic readout).
- A status window was added.
- Reconnexion is now automatic, after the remote server drops it.
<<less
Download (0.038MB)
Added: 2006-06-09 License: Artistic License Price:
1233 downloads
PHP Client Sniffer 2.1.3

PHP Client Sniffer 2.1.3


PHP Client Sniffer is a PHP class file that allows one to quickly determine the clients browser. more>>
PHP Client Sniffer is a PHP class file that allows one to quickly determine the clients browser and system information based on the HTTP_USER_AGENT string. The class can be used to generate browser specific html marks and other client side scripting.
Enhancements:
- add k-meleon support
- add camino support
- add mozilla firebird support
- add amiga support
- fixed issues with netscape and gecko browsers
<<less
Download (0.020MB)
Added: 2006-06-29 License: LGPL (GNU Lesser General Public License) Price:
1217 downloads
TeleAuth Client Tools 0.6

TeleAuth Client Tools 0.6


TeleAuth Client Tools are a set of Unix tools for the TeleAuth two-factor/two-channel authentication system. more>>
TeleAuth Client Tools are a set of Unix tools for the TeleAuth two-factor/two-channel authentication system.

This includes a commandline client and a set of PAM modules. It also enables out-of-the-box two-factor authentication on Linux, Mac OS X, and Windows machines.

These tools can be used to integrate Web sites, VPNs, and other network services with TeleAuth. They are primarily written for the free Public TeleAuth Server.

This package contains a set of optional (but convenient) client tools for TeleAuth.

Index:

commandline/ - TeleAuth Commandline Client
pam_teleauth/ - PAM modules. Source and some binaries.
demo/ - A CGI-based TeleAuth example for a fictional financial company.
drupal/ - A TeleAuth authentication module for Drupal (http://drupal.org).
ruby/ - The Ruby-TeleAuth module.
<<less
Download (0.035MB)
Added: 2006-03-17 License: GPL (GNU General Public License) Price:
1318 downloads
Tiny ERP Web client 0.0.1

Tiny ERP Web client 0.0.1


Tiny ERP Web client is a Turbogears/AJAX interface for the enterprise management software Tiny ERP. more>>
Tiny ERP Web client is a Turbogears/AJAX interface for the enterprise management software Tiny ERP.

The project supports all features of the GTK client and connects to the Tiny ERP server using XML-RPC.

<<less
Download (0.38MB)
Added: 2007-06-15 License: GPL (GNU General Public License) Price:
865 downloads
Oracle client 1.00

Oracle client 1.00


Oracle client is a simplistic Perl-based Oracle client. more>>
Oracle client is a simplistic Perl-based Oracle client that tries to mimic some of the functionality of PostgreSQL and MySQLs text-based SQL clients.

It is relatively simplistic, but much more useful than dbishell or sqlplus.

The project supports readline, history, desc, and various shorthand commands like d, , c, etc.

<<less
Download (0.013MB)
Added: 2007-04-12 License: Perl Artistic License Price:
938 downloads
Messa 1.01 (Client)

Messa 1.01 (Client)


Messa is an instant messager client and server. The client has a curses interface and works on the console. more>>
Messa is an instant messager client and server. The client has a curses interface and works on the console. Messa supports multilingual messages and private messages.

The server supports monoprocess operation (without threads), the ability to choose the listening port, and the ability to run under the console.
<<less
Download (0.012MB)
Added: 2006-07-21 License: LGPL (GNU Lesser General Public License) Price:
1194 downloads
WebSphere::MQTT::Client 0.03

WebSphere::MQTT::Client 0.03


WebSphere::MQTT::Client is a WebSphere MQ Telemetry Transport Client. more>>
WebSphere::MQTT::Client is a WebSphere MQ Telemetry Transport Client.

SYNOPSIS

use WebSphere::MQTT::Client;

my $mqtt = WebSphere::MQTT::Client->new( Hostname => localhost );

$mqtt->disconnect();

WebSphere::MQTT::Client
Publish and Subscribe to broker.

<<less
Download (0.24MB)
Added: 2007-05-25 License: Perl Artistic License Price:
888 downloads
Net::Hotline::Client 0.83

Net::Hotline::Client 0.83


Net::Hotline::Client is a Perl library for the Hotline internet client. more>>
Net::Hotline::Client is a Perl library for the Hotline internet client.

SYNOPSIS

use Net::Hotline::Client;

$hlc = new Net::Hotline::Client;
$hlc->connect("127.0.0.1")

$hlc->chat_handler(&Chat_Handler);
$hlc->msg_handler(&Msg_Handler);

$hlc->login(Login => "Steve",
Password => "xyzzy",
Nickname => "Jobs",
Icon => 128);

$hlc->run();
...

Net::Hotline::Client is a class implementing a Hotline internet client in Perl. It was specifically developed to aid in the creation of Hotline "bots," although its suitable for most other tasks as well. Hotline is an internet client/server system thats sort of a cross between IRC and a BBS. See http://www.hotlinesw.com/ for more information.

This document assumes you have some knowledge of the Hotline client. If not, I suggest downloading it from the URL above. (Its shareware. Mac and PC versions are available)

<<less
Download (0.057MB)
Added: 2007-06-23 License: Perl Artistic License Price:
859 downloads
HTTP Grabber 1.0

HTTP Grabber 1.0


HTTP grabber can be used to see what other people on your LAN are downloading. more>>
HTTP grabber can be used to see what other people on your LAN are downloading as it saves information being sent via the HTTP protocol to disk.

Check the makefile:
if libngrep isnt in /usr/local/lib, change the LFLAGS
if you dont want httpgrabber to be installed in /usr/local/bin, change the directory in the "install" rule.

To install just run "make" and "make install"

<<less
Download (0.007MB)
Added: 2006-06-28 License: BSD License Price:
1220 downloads
lns.http 0.1

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.
<<less
Download (0.017MB)
Added: 2006-12-19 License: LGPL (GNU Lesser General Public License) Price:
1046 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5