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

[email protected] (Jeff Macdonald)
Newsgroups perl.libwww
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.