[Zope-dev] HEAD/GET

Magnus Heino magnus.heino@home.se
Wed, 21 May 2003 09:43:46 +0200


Can anyone explain why this HEAD request fails, when the same GET 
request succeeds?

magnus@daysleeper magnus $ curl -I -s 
http://www.alvkarlebygk.com/index_html/document_view|head
HTTP/1.1 404 Not Found
Date: Wed, 21 May 2003 07:42:19 GMT
Server: Zope/(Zope 2.6.1 (source release, python 2.1, linux2), python 
2.1.3, freebsd4) ZServer/1.1b1
Bobo-Exception-File: 
/usr/home/alvkar/zope/261/lib/python/ZPublisher/HTTPResponse.py
Content-Type: text/html;charset=iso-8859-15
Pragma: no-cache
Etag:
Last-Modified: Wed, 21 May 2003 07:42:19 +0000
Expires: Sat, 1 Jan 2000 00:00:00 GMT
Bobo-Exception-Type: NotFound

magnus@daysleeper magnus $ curl  -s 
http://www.alvkarlebygk.com/index_html/document_view|head
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sv"
       lang="sv">

<head>
     <meta http-equiv="Content-Type"
           content="text/html;charset=iso-8859-15" />

     <title>Välkommen till Älvkarleby Golfklubb - Välkommen!</title>
magnus@daysleeper magnus $

--

/Magnus