http is a small library of Java classes to let you do HTTP
CGI GET, POST, HEAD and "FETCH" (generic) to a server. It
will also encode parameter pairs for you.

It does nothing on its own. It is intended to be
incorporated into your own programs.

To see a sample use have a look at the
com.mindprod.submitter package, downloadable at
http://mindprod.com/products1.html#SUBMITTER

For downloading long http:, file: or https: files, see
com.mindprod.filetransfer.Download
http://mindprod.com/products1.html#FILETRANSFER

The Get, Post, Head and Probe classes only work on http: urls.
The Fetch class works on http:, https:, file: etc.

For meanings of various response codes, see
http://mindprod/jgloss/responsecode.html

I don't have a proxy server myself, so I have not been able to experiment 
with getting Http to work with one.  It may simply be a matter of 
setting some Java properties with the -D option on the command line.  It 
would probably be easier for you to experiment with your appplication run as a 
standalone utility than as an Applet.  In my opinion, proxy servers should be 
transparent to applications.  The current proxy interface sounds like the 
work of teenage programmers who live on cheap pizza and don't change 
their underwear.  If you are successful at getting proxies to work with 
Http, please pass on what you did.  Here is what Sun has to say about 
proxies.  
http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html

----

Version History:

1.0 2007-06-25 is the first public release though it has
been in use in slightly different form for many years.

1.1 2007-07-19 improved handling of responseCode.

1.2 2007-07-27 uses UTF-8 instead of ISO-8859-1.

1.3  2007-08-24 new Read methods that will work with
multibyte encodings. rename read methods to
readBytesBlocking and readStringBlocking.

1.4 2007-08-26 add timeout.

1.5 2007-12-30 add altervate get and post methods that take
a full URL.

1.6 2008-01-14 add ability to read gzipped streams.

1.7 2008-07-25 add configurable User-Agent, add Base Http class.

1.8 2008-07-27 handle case where URL given was not HTTP. Add generic fetch method
that works with https: file: etc. configurable Referer property.

1.9 2008-08-22 support accept-charset, accept-encoding and
accept-language.  Fix bugs in gzip support.

2.0 2009-02-20 major refactoring. Now specify setParms and setPostParms separately.
               use of send method.

2.1 2010-02-07 new methods Post.setBody Http.setRequestProperties.

-30-
