-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Allow to specify filename as optional parameter to TypedByteArray #787
Comments
+1. I've been bitten by this as well |
+1. Also bitten. |
Yea, I never understood why you couldn't use a TypedByteArray in a multipart file upload. Had the API allowed it, probably would have just figured it out. I'm now using the subclass hack. |
👍 |
|
I would expect to be able to use
new TypedByteArray(type, bytes, "myfilename.foo")
to upload a file multi-part using RetroFit from an in-memory file instead of aFile
object.Right now one needs to subclass using work-around described here: #178 (comment)
The text was updated successfully, but these errors were encountered: