Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compare Engine reporting's
privateHeaders
case-insensitively, as do…
…cumented. The documentation for `privateHeaders`[[0]] suggests that it is case-insensitive. While that statement is true, and the incoming header is lower-cased before checking it against the `privateHeaders` configuration, it assumed that the headers in the `privateHeaders` object were specified in lower-case. This changes the comparison to lower-case both sides prior to determining equality. [0]: https://github.com/apollographql/apollo-server/blob/abb8dc58/packages/apollo-engine-reporting/src/agent.ts#L67-L70 Fixes: #2273
- Loading branch information