On Fri, 10 May 2002, Duncan Hill wrote:

> graphics are being looked for in /asgard/images - mkdir'ing asgard as a real 
> dir doesn't solve the image problem.

Ran my browser through proxomitron so I could see what was being passed 
around:
+++GET 4477+++
GET /asgard/images/toplogo.gif HTTP/1.1
Accept: */*
Referer: http://bajan.cricalix.net/asgard/
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461)
Host: bajan.cricalix.net
Authorization: Basic YWRtaW46cGFzc3dvcmQ=
Connection: keep-alive

+++RESP 4477+++
HTTP/1.1 200 OK
Date: Sat, 11 May 2002 10:28:03 GMT
Server: Apache/1.3.24 (Unix) PHP/4.0.6 Midgard/1.4.2-1/SG
X-Powered-By: PHP/4.0.6
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html
+++CLOSE 4477+++

An image is text/html?  That's news to me.  Apache itself is serving the 
images just fine out of the file system (I checked) - but Midgard appears to 
be setting the wrong content type.  Not exactly a good thing.

I'd also argue that IE is being foolish by saying it'll accept anything for 
a graphic.  Mozilla is a bit better, saying it'll take image types with high 
priority, then anything else with lower priority.  Ah well, thats a browser 
matter - the server is still returning text/html for graphic files - but 
only when parsed by Midgard.

-- 

Sapere aude
My mind not only wanders, it sometimes leaves completely.
Never attribute to malice that which can be adequately explained by stupidity.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to