Unverified Commit 8069f8d4 authored by Pranshu Srivastava's avatar Pranshu Srivastava Committed by Myles Borins
Browse files

http: don't throw on `Uint8Array`s for `http.ServerResponse#write`

Don't throw errors on Uint8Arrays and added test for all
valid types.

Backport-PR-URL: https://github.com/nodejs/node/pull/33488
PR-URL: https://github.com/nodejs/node/pull/33155
Fixes: https://github.com/nodejs/node/issues/33379
Refs: https://github.com/nodejs/node/issues/29829


Reviewed-By: default avatarRobert Nagy <ronagy@icloud.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarZeyu Yang <himself65@outlook.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 6c3d968e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment