Skip to content

Commit 774896f

Browse files
authored
Merge pull request #12 from nobu/sync
We don't need "require 'uri'" after "require 'net/http'".
2 parents c6c5cdf + ae08690 commit 774896f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/net/http.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ def HTTP.post(url, data, header = nil)
531531
# Example:
532532
#
533533
# require 'net/http'
534-
# require 'uri'
535534
#
536535
# Net::HTTP.post_form URI('http://www.example.com/search.cgi'),
537536
# { "q" => "ruby", "max" => "50" }

0 commit comments

Comments
 (0)