Skip to content
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

Add support for processing finished async-uploads #19

Closed
paneq opened this issue Jul 17, 2012 · 0 comments
Closed

Add support for processing finished async-uploads #19

paneq opened this issue Jul 17, 2012 · 0 comments
Assignees
Labels

Comments

@paneq
Copy link
Collaborator

paneq commented Jul 17, 2012

Branch: rack-adapter

Line from : M2R::Adapter::Rack

rack_input = StringIO.new(request.body)

This could be something like:

rack_input = request.body_io

Request would return StringIO.new(body) for this method.

But in case of async upload we would extend the request object with a module AsyncUploadRequest returning File or Tempfile instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant