cloudconvert / cloudconvert-java

Official CloudConvert Java SDK
35 stars 19 forks source link

Add uplaod for File type #5

Closed oleksandrkyetov closed 4 years ago

oleksandrkyetov commented 4 years ago

Changes:

Under the hood File is converted to InputStream anyway, as it is a requirement for async client. If we try to upload File object with async client, it fails with ContentTooLongException, as it expects multipart data too be buffered