W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1997

FileResource's GET vs. HEAD behavior

From: Joseph M. Futrelle <futrelle@ncsa.uiuc.edu>
Date: Tue, 18 Mar 1997 11:36:37 -0600 (CST)
Message-Id: <199703181736.LAA06654@pecos.ncsa.uiuc.edu>
To: www-jigsaw@w3.org

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:22 UTC