Maybe you could render the form inside of an iframe so that the redirecting would happen within the frame and maybe you could detect that somehow?
On Wed, Aug 10, 2016 at 8:55 AM, Simon <[email protected]> wrote: > This is related to https://groups.google.com/forum/#!topic/elm-discuss/ > M6vbRoVSaG4 in that I'm trying to find work arounds to do signed uploads > to S3. > > In short, can I use Elm to render a POST form with a `file` input and a > submit button that 'just works' - i.e. the POST takes place directly and > uses the browsers filereader and multipart building functionality directly, > with Elm just sitting back and watching it happen? > > I think the answer is yes, but I'l be left with no control over the > browser's subsequent redirecting. Any ideas on whether that can be > caputured and turned into an event that can be passed back to Elm through a > port? > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
