| To: | scsh-news@zurich.ai.mit.edu |
|---|---|
| Subject: | Bug in sunet/httpd/file-dir-handler.scm |
| From: | Peter Wang <tjaden@users.sourceforge.net> |
| Date: | 31 May 2003 20:53:37 +1000 |
| Organization: | Customer of Alphalink Australia Pty. Ltd. |
The server runs into trouble trying to serve files with a recognised
content-encoding (e.g. gzip'd files).
diff -u -r sunet/httpd/file-dir-handler.scm.orig
sunet/httpd/file-dir-handler.scm
--- sunet/httpd/file-dir-handler.scm.orig Sat May 10 00:12:17 2003
+++ sunet/httpd/file-dir-handler.scm Sat May 31 17:29:06 2003
@@ -482,7 +491,7 @@
((file-directory-options-file-name->content-type options)
stripped-filename)
(append (if content-encoding
- (cons 'content-encoding content-encoding)
+ (list (cons 'content-encoding
content-encoding))
'())
(list
(cons 'last-modified
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: scsh-sql, Jon Kåre Hellan |
|---|---|
| Previous by Thread: | SUnet ftpd restart support, Peter Wang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |