R. Mark Volkmann
6/26/2005 12:54:00 AM
Quoting "R. Mark Volkmann" <mark@ociweb.com>:
> How can I configure WEBrick to treat requests for XHTML files just like HTML
> files? I think what I need is for it to correctly set the content type of
> the
> response so that the web browser renders it correctly.
I figured it out.
mimeTypes = server.config[:MimeTypes]
mimeTypes['xhtml'] = 'text/html'
--
R. Mark Volkmann
Partner, Object Computing, Inc.