    # File lib/fog/rackspace/compute_v2.rb, line 111
            def request(params)
              begin
                response = @connection.request(params.merge!({
                  :headers  => {
                    'Content-Type' => 'application/json',
                    'X-Auth-Token' => @auth_token
                  }.merge!(params[:headers] || {}),
                  :host     => @host,
                  :path     => "#{@path}/#{params[:path]}"
                }))
              rescue Excon::Errors::NotFound => error
                raise NotFound.slurp error
              rescue Excon::Errors::BadRequest => error
                raise BadRequest.slurp error
              rescue Excon::Errors::InternalServerError => error
                raise InternalServerError.slurp error
              rescue Excon::Errors::HTTPStatusError => error
                raise ServiceError.slurp error
              end
              unless response.body.empty?
                response.body = Fog::JSON.decode(response.body)
              end
              response
            end