Update http_request.rb

Making URI.regexp called the normal Ruby way.