Commit 2d2727bd authored by Joshua Lambert's avatar Joshua Lambert

Update server.rb

parent 2f94a9f5
......@@ -6,7 +6,7 @@ server = WEBrick::HTTPServer.new :Port => 5000
#The following proc is used to customize the server operations
server.mount_proc '/' do |request, response|
response.body = 'Hello, improved world!'
sleep SecureRandom.random_number
sleep 0.125 + SecureRandom.random_number*0.250
end
server.mount_proc '/error' do |request, response|
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment