elasticsearch/elasticsearch — pull request #7590 by javanna (2014-09-04 12:26:38+00:00)
Title: Internal: deduplicate useful headers that get copied from REST to transp...

The useful headers are now stored into a `Set` instead of an array so we can easily deduplicate them. A set is also returned instead of an array by the `usefulHeaders` static getter.