Greetings.

The source browser on PLaneT appears to be giving out files with incorrect 
(well, non-useful) MIME types:

% curl -i 
http://planet.racket-lang.org/package-source/jaymccarthy/sqlite.plt/5/0/sqlite-ffi.rkt
Date: Wed, 26 Jan 2011 21:56:03 GMT
Server: Apache/2.2.17 (Fedora)
Last-Modified: Tue, 18 Jan 2011 19:32:22 GMT
ETag: "9e895a-6a59-49a23f59bbd80"
Accept-Ranges: bytes
Content-Length: 27225
Connection: close
Content-Type: text/plain; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";><head><title>PLaneT Package 
Repository : Home &gt; jaymccarthy &gt; sqlite.plt &gt;  package version 
5.0</title><meta content="Racket" name="generator" /><meta content="text/html; 
charset=utf-8" http-equiv="Content-Type" /><link href="/plticon.ico" rel="icon" 
type="image/ico" /><link href="/plticon.ico" rel="shortcut icon" /><link 
href="/plt.css" rel="stylesheet" title="default" type="text/css" /><link 
rel="stylesheet" href="/css/main.css" type="text/css" /><link rel="stylesheet" 
href="/css/planet-browser-styles.css" type="text/css" /><style 
type="text/css">import "/css/main.css"; import 
"/css/planet-browser-styles.css"; import "http://www.racket-lang.org/plt.css";; 
</style></head>
...

[picking a source file at random]

The MIME type looks like it should be an HTML one, rather than text/plain.

Best wishes,

Norman


-- 
Norman Gray  :  http://nxg.me.uk

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to