@realman543@dcc If I were to do it in python it'd probably be about 20 lines just for error-handling, like the wtf one in this, which is a reasonably complete http server for file sockets only; a lot of the stuff in it can be stripped if you just want to spit out a file, but about half of run will have to stay.