You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NoMethodError: undefined method `length' for #<Zip::File:0x007f0cb455eae8> from /home/luc/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/multipart-post-2.0.0/lib/composite_io.rb:102:in `method_missing' from (irb):47
Do you have any idea how I could do that with your gem?
Thanks for your time and your work
Luc Donnet
The text was updated successfully, but these errors were encountered:
It looks like you are trying to decompress this file before you upload it. Are you sure you want to do that?
A zip file contains a directory structure, so it would be problematic to provide a length parameter that represents the size of all of its contents. It would also be problematic to try and present the directory structure output from a zip file as a single upload file.
I want to make a post request with faraday with a zip file and it fails with multipart-post.
I have this code :
And it returns an error on length method :
Do you have any idea how I could do that with your gem?
Thanks for your time and your work
Luc Donnet
The text was updated successfully, but these errors were encountered: