3
<title>Help file for HTTP TestServer/1.1</title>
7
<h3> Help file for HTTP TestServer/1.1</h3>
8
The HTTP TestServer is a simple server written to test some special HTTP
9
behaviour. It is based on a script file (docs/urlmap) and can be easily
10
extended to add special response situations. <P>
12
To compile this you will need any version of JDK >1.1.2. Just compile them
13
with command- <PRE>javac *.java</PRE>
14
And then run the server with command- <PRE>java TestServer [port]</PRE>
15
The port is optional and if not specified defaults to 4321.
16
Assuming that the server is running on http://foo:4321/
17
Use the following URLs to retrieve special responses. In order to create
18
your own special case- telnet to foo, and edit the docs/urlmap file to
19
handle special cases and then add info here about it.
21
<center><table WIDTH="80%" >
23
<td><a href="/help">http://foo:4321/help</a></td>
24
<td>This help file.</td>
28
<td><a href="/">http://foo:4321/</a></td>
29
<td>Default echo of the server. Prints the request out.</td>
32
The subsequent ones may be combined to generate multiple results. NOTE: This
33
hasn't been fixed as yet. So it wont work for now. But if it did...
34
You can try something fancy like- http://foo:4321/multi&close&both
36
<center><table WIDTH="80%" >
39
<td><a href="/multi">http://foo:4321/multi</a></td>
40
<td>Returns a multipart message. </td>
44
<td><a href="/close">http://foo:4321/close</a></td>
45
<td>Returns "Connection: close" in a response header.</td>
49
<td><a href="/both">http://foo:4321/both</a></td>
50
<td>Returns the request as well as the response headers.</td>
54
<p>If you need any more help with running this server, or have suggestions
55
to improve it let <a href="mailto:gagan@netscape.com?subject=HTTP TestServer/1.1">me</a>