Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: send content-length with streams #25

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

Closed
ascorbic wants to merge 1 commit into main from stream-content-length
Closed

Conversation

Copy link
Contributor

@ascorbic ascorbic commented Jul 26, 2023

S3 throws an error if transfer encoding is chunked. This happens if a stream is sent with no content-length. This PR adds a new contentLength option which is required when setting a stream. I've set the types up so it should enforce this, but it also includes runtime checks for the same. I've not actually tested if this fixes the problem yet

@ascorbic ascorbic requested a review from a team as a code owner July 26, 2023 19:55
Copy link

netlify bot commented Jul 26, 2023
edited
Loading

Deploy Preview for blobs-js ready!

Name Link
🔨 Latest commit 2f46003
🔍 Latest deploy log https://app.netlify.com/sites/blobs-js/deploys/64c17d220354dc0008180b97
😎 Deploy Preview https://deploy-preview-25--blobs-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the type: bug code to address defects in shipped code label Jul 26, 2023
Copy link
Contributor Author

Doesn't solve the problem, so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
type: bug code to address defects in shipped code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /