Revision c1c0dee5
Added by Marek Hulán over 10 years ago
lib/proxy/chefproxy.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
path = [uri.path, path].join('/') unless uri.path.empty?
|
||
req = Net::HTTP::Post.new(URI.join(uri.to_s, path).path)
|
||
req.add_field('Accept', 'application/json,version=2')
|
||
req.content_type = 'application/json'
|
Also available in: Unified diff
refs #3699 - combine paths when running Foreman under a prefix