rufusisnodufus has asked for the wisdom of the Perl Monks concerning the following question:
Hey,
I'm working on a REST api proxy, and I've run into a problem handling the large quantities of PUT data that come through occasionally. The data is not part of a form, which is why I don't think that it's being saved to a file for me automatically like the documentation indicates it should be. Unfortunately this results in my running out of memory if I'm sent to much data.
Any thoughts on how to handle this better? Ideally I would love to trick CGI.pm into always dumping PUT data to a temporary file and just giving me the file handle. I've been searching for days but haven't stumbled on anything yet.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Handling lots of PUT data in CGI
by blue_cowdawg (Monsignor) on May 28, 2013 at 15:19 UTC | |
by rufusisnodufus (Initiate) on May 28, 2013 at 19:36 UTC | |
by blue_cowdawg (Monsignor) on May 29, 2013 at 12:57 UTC | |
|
Re: Handling lots of PUT data in CGI (#79102)
by Anonymous Monk on May 28, 2013 at 19:32 UTC | |
by rufusisnodufus (Initiate) on May 28, 2013 at 19:39 UTC |