I really don't understand this comment. What copy are you talking about ? This function has to return a ResponseHeaders object. All I'm doing is creating a local reference to it so that I can call setTransport. The construction of a ResponseHeaders object does not create a copy. The call to ResponseHeaders#setTransport does not create a copy of RawHeaders either.

Perhaps we should discuss this over chat.