# File lib/webrick/httputils.rb, line 196
    def quote(str)
      '"' << str.gsub(/[\\\"]/o, "\\\1") << '"'
    end