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

[Miniflare 3] Fix KVNamespace#put() with empty value #704

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

mrbbot
Copy link
Contributor

@mrbbot mrbbot commented Oct 5, 2023

Empty put()s may send HTTP requests with null bodies, violating an assumption we had. This change handles this case, and adds some additional tests for empty values.

Closes #703

Empty `put()`s may send HTTP requests with `null` bodies, violating
an assumption we had. This change handles this case, and adds some
additional tests for empty values.

Closes #703
@changeset-bot
Copy link

changeset-bot bot commented Oct 5, 2023

⚠️ No Changeset found

Latest commit: 4191b32

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@mrbbot mrbbot requested a review from a team October 5, 2023 09:46
@mrbbot mrbbot linked an issue Oct 5, 2023 that may be closed by this pull request
@mrbbot mrbbot merged commit 112fa5b into tre Oct 5, 2023
8 checks passed
@mrbbot mrbbot deleted the bcoll/tre-fix-empty-kv-put branch October 5, 2023 11:29
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.

AssertionError thrown while put empty string with KV
2 participants