[server side] Code cleaning in web_server.rb