We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have a controller PUT request which is receiving a zip file in the body as binary blob.
Using the rubyzip-gem with MRI we can use this:
Zip::File.open_buffer request.body
The request body is of type StringIO. When running this on JRuby in production mode, we get the following runtime error:
Zip::File.open_buffer expects a String or IO-like argument (responds to tell, seek, read, close). Found: JRuby::Rack::Input (RuntimeError)
I suppose the JRuby rack input implementation does not suppose seeking as the MRI implementation does.
We use JRuby 1.7.23 and Rails 4.2.8 with jruby-rack 1.1.20
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have a controller PUT request which is receiving a zip file in the body as binary blob.
Using the rubyzip-gem with MRI we can use this:
The request body is of type StringIO. When running this on JRuby in production mode, we get the following runtime error:
I suppose the JRuby rack input implementation does not suppose seeking as the MRI implementation does.
We use JRuby 1.7.23 and Rails 4.2.8 with jruby-rack 1.1.20
The text was updated successfully, but these errors were encountered: