in reply to On-disk multipart/form-data part extraction

FWIW, Plack will run under Nginx, and like CGI.pm will keep uploads/multipart in tempfiles for the duration of the request
  • Comment on Re: On-disk multipart/form-data part extraction (Nginx Plack)

Replies are listed 'Best First'.
Re^2: On-disk multipart/form-data part extraction (Nginx Plack)
by Anonymous Monk on Dec 24, 2012 at 18:13 UTC

      I did give HttpUploadModule a try, but I had difficulty getting it to send to my handler an upload-free but otherwise complete body (i.e. with the other form fields that were present in the posted body). I may revisit that, but it seems to me that using perl to explode them out of the original raw body file would be more workable.

Re^2: On-disk multipart/form-data part extraction (Nginx Plack)
by Conquistadog (Novice) on Dec 24, 2012 at 18:53 UTC

    Goodness... Plack seems to be a whole "framework" that I'd have to migrate my handler to. Am I wrong in that? I would rather invoke the operations in my current handler than convert to another "framework" (a word I use with some disdain).

      If you migrate, it will run on everything, not just nginx, but yeah, it is PSGI