vendored/puppet/lib/puppet/util/http_proxy.rb in bolt-0.17.1 vs vendored/puppet/lib/puppet/util/http_proxy.rb in bolt-0.17.2
- old
+ new
@@ -155,11 +155,13 @@
proxy.read_timeout = Puppet[:http_read_timeout]
proxy
end
- # Retrieve a document through HTTP(s), following redirects if necessary.
- #
+ # Retrieve a document through HTTP(s), following redirects if necessary. The
+ # returned response body may be compressed, and it is the caller's
+ # responsibility to decompress it based on the 'content-encoding' header.
+ #
# Based on the the client implementation in the HTTP pool.
#
# @see Puppet::Network::HTTP::Connection#request_with_redirects
#
# @param [URI] uri The address of the resource to retrieve.