One-line shell script server for testing your AJAX and HTTP code
Here is how to make a very simple web server with a very simple shell script on a GNU or Unix system such as OS X. I have found it to be ideal for quick tests and debugging sessions with AJAX code and tools like Python’s urllib2.
The idea is to run an infinite loop which calls socat to return static files to the browser.
Posted in Free Software | No Comments »
