Add possibility to upload file in addition to InputStream;
Fix filename when uploading as InputStream;
Change form parameter to map and add those dynamically;
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
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