-
Notifications
You must be signed in to change notification settings - Fork 412
Adds workaround for Async Multipart uploads greater than 25 kb #574
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
(let [os (java.io.ByteArrayOutputStream.)] | ||
(.writeTo mp-entity os) | ||
(.flush os) | ||
(java.io.ByteArrayInputStream. (.toByteArray os)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It does appear there is a suggested workaround in the JIRA issue by wrapping with a |
2a62663
to
7edf576
Compare
@dakrone I gave it a try, but unfortunately it fails for the same reason in my test case. The Removing the checks in the original solution is more reliable to retain the existing behaviour our users expect. |
Hi, |
@romashatomar the changes were released in clj-http |
Fixes #560