# File escape.rb, line 436 def http_token?(str) /\A[!\#-'*+\-.0-9A-Z^-z|~]+\z/ =~ str ? true : false end