FileResource's GET vs. HEAD behavior

In FileResource.get(), the resource deletes itself if it finds that
its file no longer exists. But this doesn't happen in head(). We ran
into this because we were attempting to use HEAD to test for the
existence of a file on the server. Obviously we should just use
GET. But why this difference in behavior?

Joe Futrelle
HTTP Server Development, Joule/Hacksaw Group
National Center for Supercomputing Applications
(217) 265-0296

Received on Tuesday, 18 March 1997 12:36:33 UTC