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 chunked upload error #10

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Fix chunked upload error #10

merged 1 commit into from
Oct 5, 2023

Conversation

alexanderglueck
Copy link

@alexanderglueck alexanderglueck commented Sep 28, 2023

This pull requests attempts to fix the following issues: #8 and #9

I replaced the instance call with a static call. This should fix both issues.

However, after fixing the call to the put method, it wasn't working due to the facade attempting to json_encode the chunk.

To work around this issue I applied the headers and the body the way the Http facade requires them to be applied.

I also had to set the Content-Type application/octet-stream because the Http facade falls back to application/json.

@timo2o1o timo2o1o requested a review from Jusdon October 5, 2023 11:11
@timo2o1o timo2o1o assigned timo2o1o and Jusdon and unassigned timo2o1o Oct 5, 2023
@timo2o1o timo2o1o added the bug Something isn't working label Oct 5, 2023
@Jusdon Jusdon merged commit 948890b into doerffler:master Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants