If a user specifies a header in their request for metadata,
it could override what the proxy would have inserted on their
behalf. Make sure to remove any headers we don't want, and
override something that might be present in the request.
If the agent somehow gets a request with both headers it will
silently drop it.
(cherry picked from commit 5af046fd4e)
Brian Haley2020-02-27 17:33:28 -05:00committed byBrian Haley