Over the years, I've written a lot of Java code, and I've found that I write the same types of tools for
nearly all projects. So rather than reinventing the wheel, I've collected these tools into "pdflib".
I making the source code (and binaries) available here.
The basic HTTP request is made by telneting to port 80
and entering the command, terminated by two blank lines:
GET / HTTP/1.0
To get any specific file, include the relative URI
as the argument to the "get" command. This example
also shows the use of "Host:" for http 1.1 requests:
GET /icons/stamp.gif HTTP/1.1