ariya/phantomjs — pull request #202 by lfranchi (2012-02-10 18:47:04+00:00)
Title: Make Mongoose webserver asynchronous.

This fixes issue #326 by introducing a request.close() method on web server requests.

It enables webserver callbacks like the following:

server.listen(port, function(request, response){
...
page.open(..., function(){
response.write("foo");
response.close();
})
...
})