[Seaside] Mime type static files Kom

Pierce Ng pierce at netmemetic.com
Sat Aug 1 10:53:47 UTC 2009


On Sat, Jul 25, 2009 at 01:24:03PM +0200, Francois Stephany wrote:
> When serving static files with Kom, the Content-type is always set on 
> 'text/html'. I've committed a new version of KomHttpServer that should 
> correct this bug. As i'm not familiar with Kom, can someone have a quick 
> look at it?

On the 3rd-from-last line of HttpResponse class>>fromStream: 
changing "aStream contentType" to "aStream mimeType" does it for me.





More information about the seaside mailing list