summaryrefslogtreecommitdiff
path: root/tests/util/server/src/lib.rs
diff options
context:
space:
mode:
authorNicola Bovolato <61934734+nicolabovolato@users.noreply.github.com>2024-10-25 00:02:26 +0200
committerGitHub <noreply@github.com>2024-10-25 00:02:26 +0200
commit8dd6177c624649d75ffcacca77e7c4f48cea07a2 (patch)
tree3f9ab8859b9d76055bf2e4da17b88442bcca684d /tests/util/server/src/lib.rs
parentfd8bf0827104407dca12fa57259a0d32380adcd5 (diff)
fix(ext/node): refactor http.ServerResponse into function class (#26210)
While testing, I found out that light-my-request relies on `ServerResponse.connection`, which is deprecated, so I added that and `socket`, the non deprecated property. It also relies on an undocumented `_header` property, apparently for [raw header processing](https://github.com/fastify/light-my-request/blob/v6.1.0/lib/response.js#L180-L186). I added it as an empty string, feel free to provide other approaches. Fixes #19901 Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/util/server/src/lib.rs')
0 files changed, 0 insertions, 0 deletions