Re: Having file: support POST (and probably some other methods)

Jeff Macdonald <[email protected]> Thu, 6 May 2010 15:53:26 -0400
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
On Thu, May 6, 2010 at 3:12 PM, Gisle Aas <[email protected]> wrote:
>
> I would be nutty

:)

> to make the regular file protocol handler in LWP do
> something with posted data.  There must be some way for the POST
> end-point to define the semantics of this operation.  There is no
> natural default.

I suppose. I can see big security issues too.... but it would be very
useful IMHO.

> If this is just for rigging a test, you could just set up you own
> handling code with LWP::Protocol::implementor() and then use whatever
> scheme name you want.

yes, I could go that route. But that would mean adding that
implementation to PERL5LIB. I don't know if I like that. I'll have to
tinker some more. Thanks for the quick feedback.


-- 
Jeff Macdonald
Ayer, MA