method
edit_path
v2_6_3 -
Show latest stable
- Class:
Net::HTTP
edit_path(path)private
No documentation available.
# File lib/net/http.rb, line 1171
def edit_path(path)
if proxy?
if path.start_with?("ftp://") || use_ssl?
path
else
"http://#{addr_port}#{path}"
end
else
path
end
end