elasticsearch/elasticsearch — pull request #7766 by javanna (2014-09-17 09:17:27+00:00)
Title: Internal: make sure that update internal requests share the same origina headers and request context

Update request internally executes index and delete operations. We need to make sure that those internal operations hold the same headers and context as the original update request. Achieved via copy constructors that accept the current request and the original request.