    # File lib/fog/bluebox/dns.rb, line 70
            def request(params)
              params[:headers] ||= {}

              params[:headers]['Authorization'] = "Basic #{auth_header}"

              params[:headers]['Accept'] = 'application/xml'
              case params[:method]
              when 'POST', 'PUT'
                params[:headers]['Content-Type'] = 'application/xml'
              end

              begin
                response = @connection.request(params.merge!({:host => @host}))
              rescue Excon::Errors::HTTPStatusError => error
                raise case error
                when Excon::Errors::NotFound
                  Fog::DNS::Bluebox::NotFound.slurp(error)
                else
                  error
                end
              end

              response
            end