|
From: David J. R. <dr...@dr...> - 2007-04-11 19:49:52
|
What is the correct behaviour when no content type is returned by a site for a page? Should the browser default to text or HTML? streetmap.co.uk returns a correct type of text/html for its title page, but entering a search results in a page with no content type which NetSurf renders as text. The same if a map page URL is dragged in from another browser. *curl -I http://www.streetmap.co.uk/ HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 X-Powered-By: ASP.NET Cache-Control: max-age=1800 Expires: Wed, 11 Apr 2007 17:23:16 GMT Content-Location: http://www.streetmap.co.uk/newdefaulte2.htm Date: Wed, 11 Apr 2007 16:53:16 GMT Content-Type: text/html Accept-Ranges: bytes Last-Modified: Mon, 02 Apr 2007 12:42:25 GMT ETag: "12c7ca5d2475c71:162a" Content-Length: 17852 *curl -I http://www.streetmap.co.uk/newsearch.srf? HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Wed, 11 Apr 2007 19:32:26 GMT X-Powered-By: ASP.NET Content-Length: 18568 Of course you'll have spotted its Microsoft shite. Cheers ---Dave -- ______________________________________________________________________ David J. Ruck Phone: +44- (0)7974 108301 Email: dr...@dr... ______________________________________________________________________ |