[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

a clue? mime tags change with request method...



could someone please give me a hint pertaining to the different
mime-types (and content, it's a simple text file) that apache serves
in response to HEAD and GET? while HEADing the file returns text/plain
as it should, GETting it results in the same file HTML-auto-generated
and as text/html... anyone with more of a clue than me?

----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----

  merlin:~> nc diamond.madduck.net 80
  GET http://www.maenad.net/perl/12--dir_access.txt HTTP/1.0

  HTTP/1.1 200 OK
  Date: Mon, 22 Apr 2002 20:26:02 GMT
  Server: Apache/1.3.23
  Connection: close
  Content-Type: text/plain

----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----

  merlin:~> nc diamond.madduck.net 80
  GET http://www.maenad.net/perl/12--dir_access.txt HTTP/1.0

  HTTP/1.1 200 OK
  Date: Mon, 22 Apr 2002 20:27:35 GMT
  Server: Apache/1.3.23
  Last-Modified: Mon, 22 Apr 2002 20:02:50 GMT
  ETag: "167c8-992-3cc46c6a"
  Connection: close
  Content-Type: text/html
  
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML>
          <HEAD>

  [...]

----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
"a kiss may ruin a human life."
                                                        -- oscar wilde



----- End forwarded message -----

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
http://www.vcnet.com/bms/

Attachment: pgp9PUPvCmRI3.pgp
Description: PGP signature


Reply to: