Skip to content

Commit

Permalink
Merge pull request #9116 from smortex/fix-docs-http-client-usage
Browse files Browse the repository at this point in the history
Fix `Puppet::HTTP::Client` example with system store
  • Loading branch information
joshcooper authored Oct 5, 2023
2 parents 42543dd + c1b0085 commit 839c29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ possible to additionally trust the system store when making HTTPS requests:

```ruby
client = Puppet::HTTP::Client.new
response = http.get("https://artifactory.example.com/java.tar.gz", trust_system_store: true)
response = client.get("https://artifactory.example.com/java.tar.gz", options: { include_system_store: true })
response.read_body do |data|
puts "Read #{data.bytes}"
end
Expand Down

0 comments on commit 839c29d

Please sign in to comment.