Skip to content

Instantly share code, notes, and snippets.

@craigw
Forked from ELLIOTTCABLE/gist:260855
Created December 21, 2009 09:55
Show Gist options
  • Save craigw/260887 to your computer and use it in GitHub Desktop.
Save craigw/260887 to your computer and use it in GitHub Desktop.
require('http')
.createServer(function(request, response){
setTimeout(function() {
response.sendHeader(200, {'Content-Type' : 'text/plain'});
response.sendBody("zoom");
response.finish();
}, 2000);
})
.listen(8000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment