ruby/lib/webrick
normal 778bbac8ac stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays.

* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String):
  eliminate chomp
* lib/net/http.rb (connect): eliminate delete
* lib/net/http/header.rb (basic_encode): ditto
* lib/net/imap.rb (authenticate): eliminate gsub
  (self.encode_utf7): shorten delete arg
* lib/net/smtp.rb (base64_encode): eliminate gsub
* lib/open-uri.rb (OpenURI.open_http): eliminate delete
* lib/rss/rss.rb: ditto
* lib/securerandom.rb (base64): ditto
  (urlsafe_base64): eliminate delete!
* lib/webrick/httpauth/digestauth.rb (split_param_value):
  eliminate chop
* lib/webrick/httpproxy.rb (do_CONNECT): eliminate delete
  (setup_upstream_proxy_authentication): ditto
  [ruby-core:72666] [Feature #11938]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10 00:35:43 +00:00
..
httpauth stdlib: avoid extra calls to eliminate "\n" from Base64 2016-01-10 00:35:43 +00:00
httpservlet Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
accesslog.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
cgi.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
compat.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
config.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
cookie.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
htmlutils.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
httpauth.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
httpproxy.rb stdlib: avoid extra calls to eliminate "\n" from Base64 2016-01-10 00:35:43 +00:00
httprequest.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
httpresponse.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
https.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
httpserver.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
httpservlet.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
httpstatus.rb * lib/webrick/httpstatus.rb: Added HTTP 451 Status Code. 2015-12-30 11:45:52 +00:00
httputils.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
httpversion.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
log.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
server.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ssl.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
utils.rb leakchecker.rb: remove temporary measure 2016-01-05 06:09:17 +00:00
version.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00