Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Couldn't agree more - if all you need is a static file server, SimpleHTTPServer does the job. I made Knod specifically because I could not find a built in HTTP server that allows writing and deleting.


I'm curious -- what is your use case is for writing and deleting?


Got the idea while working through the React tutorial some time ago. Thought a zero config server that responds to all of the HTTP verbs would make a nice tool for front end prototyping.


"Hey bob, here is a link to a folder on my machine - can you upload that those [random file types] you want me to look at?"

or

"non-tech wife needs to get this file to our home machine, she can use my link to /home/put/ to send this to my home machine from her work"


How is a non-technical person supposed to execute a POST request with an attached file to Knod?


At a guess, using a browser with a file upload form downloaded from the same place where the file will go.


That's fair, although it goes beyond what Knowd provides.


I extended Python SimpleHTTPServer as a data store server for some web games and also as a cross-site XML server for said games. Knod would fit that niche just fine.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: