Hi list, I'm investigating a way to be able to fire up a static file server like in Python:
python -m http.server 8000 but with Ersatz. Has it been done ? If not, would it involve: 1) the use of the -server function in http.l 2) grab the path of the requested file 3) read the file and send it to the client 4) write a little file explorer when requesting a directory ? BTW, wouldn't it be more correct to say «Then the -server function is called» than «Then the server function is called» near the end of this section: http://software-lab.de/doc/app.html#server Thanks. -- http://profgra.org/lycee/ (site pro) http://delicious.com/profgraorg (liens, favoris) https://twitter.com/profgraorg http://microalg.info -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
