1.4

The next part of the process checks whether the requested document can be found or not. If the
requested document is less than one kilobyte in size, we assume it is nonexistent. When this is
the case, a File Not Found document is created, sent to the requesting client, and then deleted
from the server.
If the requested document is more than one kilobyte in size, then we know it does exist. In the
third part of our process, the document is actually sent to the requesting client. The document is
first loaded, renamed to the original name included in the request (the full path is reduced to the
file name), and sent to the client. Finally, the document is deleted from the server.
Page 22