Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Allow separate file upload backends #358

Closed
snoyberg opened this Issue · 0 comments

1 participant

@snoyberg
Owner

Currently, yesod-core hardcodes that we use in-memory file uploads, via the FileInfo type. This does not handle all use cases. The fix should be relatively simple:

  1. Expose a setting in the Yesod typeclass to specify which BackEnd we're going to use.
  2. Turn FileInfo into an abstract type.
  3. Provide functions to retrieve the info in different ways, such as a Source or to move to the specified file on the filesystem.
@snoyberg snoyberg referenced this issue from a commit
@snoyberg snoyberg FileUpload (#358) 8fac491
@snoyberg snoyberg closed this
@wuzzeb wuzzeb referenced this issue from a commit
@snoyberg snoyberg FileUpload (#358) 560c661
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.