lib/vagrant-skytap/api/client.rb in vagrant-skytap-0.2.7 vs lib/vagrant-skytap/api/client.rb in vagrant-skytap-0.2.8
- old
+ new
@@ -127,19 +127,15 @@
errors if errors.present?
end
private
- def user_agent_string
- "Vagrant-Skytap/#{VERSION} Vagrant/#{Vagrant::VERSION}"
- end
def default_headers
{
'Authorization' => auth_header,
'Content-Type' => 'application/json',
- 'Accept' => 'application/json',
- 'User-Agent' => user_agent_string,
+ 'Accept' => 'application/json'
}
end
def auth_header
"Basic #{Base64.encode64(config.username + ":" +