lib/rforce.rb in activesalesforce-0.5.3 vs lib/rforce.rb in activesalesforce-0.5.4
- old
+ new
@@ -231,10 +231,10 @@
headers = {
'Connection' => 'Keep-Alive',
'Content-Type' => 'text/xml',
'SOAPAction' => '""',
- 'User-Agent' => 'ActiveSalesforce'
+ 'User-Agent' => 'activesalesforce rforce/1.0'
}
unless show_debug
headers['Accept-Encoding'] = 'gzip'
headers['Content-Encoding'] = 'gzip'