Created
February 14, 2014 03:11
-
-
Save avdi/8995165 to your computer and use it in GitHub Desktop.
One line web server that Chrome doesn't like
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do { echo -e 'HTTP/1.1 200 OK\r\n\r\n'; echo "Hello, world"; } | nc -l 1234; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment