### Is your feature request related to a problem? Please describe. I would like to be able to send and receive an InputStream instead of a File when uploading/downloading. ## Describe the solution you'd like Support the `useAbstractionForFile` config option for the `native` library for uploading files (similar to "resttemplate"). ## Describe alternatives you've considered Create a custom template but this is a very common and frequently requested feature. ## Additional context 1. Consider adding support of `useAbstractionForFile` config option in `OkHttp` library as well (as requested in #7941 ). 2. Extend the functionality and return an InputStream when downloading files, not only when uploading files (for all supported libraries) As requested in the comments of #6715 .
Is your feature request related to a problem? Please describe.
I would like to be able to send and receive an InputStream instead of a File when uploading/downloading.
Describe the solution you'd like
Support the
useAbstractionForFileconfig option for thenativelibrary for uploading files (similar to "resttemplate").Describe alternatives you've considered
Create a custom template but this is a very common and frequently requested feature.
Additional context
useAbstractionForFileconfig option inOkHttplibrary as well (as requested in [BUG] Java client (OkHttp) uses java.io.File for file parameters, instead of an InputStream #7941 ).