https://github.com/puppetlabs/puppet/blob/22f20d1948d207fa271fb2185e155a4e9443fa97/lib/puppet/indirector/rest.rb#L90-L98