Update request.rb

encode "|" symbol from request uri