Actions
Bug #12215
closedURI::HTTP.new example is incorrect
Description
On this page (http://ruby-doc.org/stdlib-2.3.0/libdoc/uri/rdoc/URI/HTTP.html) the example for URI::HTTP.new will result in an error (ArgumentError: wrong number of arguments (given 7, expected 9..11)
).
A working example (2.3.0-dev) is: uri = URI::HTTP.new('http', nil, "www.example.com", nil, nil, "/path", nil, "query", 'fragment')
.
Actions
Like0
Like0Like0Like0Like0Like0Like0