Timeline for Advanced Code Golf - Write a small HTTP server
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | CommunityBot | Commonmark migration | |
| Jun 23, 2014 at 9:52 | comment | added | manatwork | Indeed. I read your related tip but had no time to apply it in my posts. Thank you, @professorfish. | |
| Jun 22, 2014 at 20:07 | comment | added | user16402 | webserver.sh can be golfed to for((;;)){ nc -lp36895 -e./w;} (30 chars) | |
| Mar 6, 2013 at 16:55 | comment | added | manatwork | You scared me, @ugoren. I thought I missed a bug. I moved the text/plain separately to ensure that error pages and “directory index” pages also have Content-Type response header. | |
| Mar 6, 2013 at 16:32 | comment | added | ugoren | Sorry, my mistake. I missed saw that text/plain is missing in the case, but didn't see it at the top. | |
| Mar 6, 2013 at 7:58 | comment | added | manatwork | What you mean @ugoren? Files with .txt extension and error pages are both served as text/plain. See here some tests: pastebin.com/ErNtvQzx (Ignore the read errors, they are usual reactions of the client netcat.) | |
| Mar 6, 2013 at 7:44 | comment | added | ugoren | What about text/plain? | |
| Mar 4, 2013 at 18:36 | comment | added | manatwork | You probably have nc from BusyBox. I use GNU netcat. | |
| Mar 4, 2013 at 18:15 | comment | added | tomsmeding | Curious... whenever I try this nc tells me that the -e option is not supported. Any ideas? | |
| Mar 4, 2013 at 15:44 | history | edited | manatwork | CC BY-SA 3.0 | deleted 22 characters in body |
| Mar 4, 2013 at 15:17 | comment | added | Mr. Llama | Netcat - it'll do anything! | |
| Mar 3, 2013 at 16:16 | history | answered | manatwork | CC BY-SA 3.0 |