Commit 130d8e0c authored by Joshua Lambert's avatar Joshua Lambert

Update server.rb

parent 25a935ab
......@@ -3,9 +3,9 @@ require 'securerandom'
server = WEBrick::HTTPServer.new :Port => 5000
#The following proc is used to customize the server operations
#Return a successful Hello World response.
server.mount_proc '/' do |request, response|
response.body = 'Hello, improved world!'
response.body = 'Hello, world!'
sleep 0.125 + SecureRandom.random_number*0.250
end
......
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