class Roadie::NetHttpProvider

def validate_host(host)

def validate_host(host)
  if host.nil? || host.empty? || host == "." || host.include?("/")
    raise ArgumentError, "#{host.inspect} is not a valid hostname"
  end
end