class Fog::Rackspace::CDNV2::Real
  def update_service(service)
    request(
      :expects => [201, 202],
      :method  => 'PATCH',
      :body    => Fog::JSON.encode(service.operations),
      :path    => "services/#{service.id}"
    )
  end
end

class Fog::Rackspace::CDNV2::Real
  def update_service(service)
    request(
      :expects => [201, 202],
      :method  => 'PATCH',
      :headers => {"Content-Type" => "application/json-patch+json"},
      :body    => Fog::JSON.encode(service.operations),
      :path    => "services/#{service.id}"
    )

    service.operations = []
  end
end

Set proper content type and clear operations after request
Set proper content type and clear operations after request
