Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ext/node): don't encode buffer data as utf8 in node:http2 #24016

Merged
merged 5 commits into from
May 29, 2024

Conversation

satyarohith
Copy link
Member

@satyarohith satyarohith commented May 28, 2024

We previously encoded any data as utf8 which is incorrect. This patch fixes that and allows writing image data to node:http2 request's body. It will enable @google-cloud/vision package to work on Deno.

Towards #23714

@satyarohith satyarohith changed the title WIP: support writing to node:http2 request body fix(ext/http): don't encode buffer data as utf8 May 29, 2024
@satyarohith satyarohith marked this pull request as ready for review May 29, 2024 04:54
Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@littledivy littledivy changed the title fix(ext/http): don't encode buffer data as utf8 fix(ext/node): don't encode buffer data as utf8 in node:http2 May 29, 2024
@satyarohith satyarohith merged commit 4f9b23b into denoland:main May 29, 2024
17 checks passed
@satyarohith satyarohith deleted the support_grpc_request_payload branch May 29, 2024 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants