<div dir="ltr">I've been trying WebClient which I installed with<div><br></div><div><font face="monospace">Feature require: 'WebClient'<br clear="all"></font><div><br></div><div>I've had some success with it, but it seems to be missing key features such as serving static files. Here's an example of configuring that:</div><div><br></div><div><font face="monospace">server := WebServer new listenOn: 3000.<br>server addService: '/public' action:[:req| WebServer browseRequest: req].</font><br></div><div><br></div><div>This looks for files in the <font face="monospace">Cuis-Smalltalk-Dev-UserFiles/public</font> directory. But <font face="monospace">#browseRequest:</font> sends <font face="monospace">#browseFile:request:</font> which does not determine the MIME type from the extension of the requested file. For example, if the extension is ".html" then I think the MIME type should be "text/html". Instead it uses "application/octet-stream" for every file which results in the file being downloaded rather than rendered in the web browser.</div><div><br></div><div>Should I be looking at a different package that is perhaps more mature? Is it possible there isn't a good package for implementing a web server that is compatible with Cuis Smalltalk?</div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8000001907349px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div></div>