ariya/phantomjs — pull request #201 by lfranchi (2012-02-10 18:45:09+00:00)
Title: Webserver async

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();
})
...
})