Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert
Buffer.byteLength
to string before assigning to `Content-Le…
…ngth`. This change seems necessary in order to meet the new type definitions for `res.setHeader` which mandate that the argument be a string, or an array of strings. Those type definitions were introduced via the `@types/node@9` series of typing updates provided in [0], [1], [2]. With any luck, this will fix the failures being exhibited in CircleCI tests[3] after we landed those typing updates. [0]: #907 [1]: #927 [2]: #939 [3]: https://circleci.com/gh/apollographql/apollo-server/1587
- Loading branch information