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(kv_store): allow file read support #427

Merged
merged 1 commit into from
May 9, 2023

Conversation

Integralist
Copy link
Collaborator

@Integralist Integralist commented May 9, 2023

When providing a large value for a KV Store entry, the API will return:

400 Bad Request: must include valid content-length header

This seems to be because the original implementation in go-fastly doesn't set BodyLength on the request and so the author must have presumed a smaller value would be provided and so never noticed that the API would return this Content-Length error when a user attempts to pass the contents of a large file as the value.

@Integralist Integralist added the bug label May 9, 2023
@Integralist Integralist merged commit b27dc28 into main May 9, 2023
@Integralist Integralist deleted the integralist/kvstoreentry-bug branch May 9, 2023 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant