Revert "[core] Adds fog User-Agent header"

This reverts commit a07f3203a6.

The change made a dependency on Fog::VERSION which is defined in
`lib/fog` forcing more of the system to be loaded in some cases.

Github issue #1310
This commit is contained in:
Paul Thornthwaite 2012-11-27 15:59:06 +00:00
parent b45468dab1
commit c4d176922c
1 changed files with 0 additions and 1 deletions

View File

@ -2,7 +2,6 @@ module Fog
class Connection
def initialize(url, persistent=false, params={})
Excon.defaults[:headers]['User-Agent'] ||= "fog/#{Fog::VERSION}"
@excon = Excon.new(url, params)
@persistent = persistent
end