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

[email protected] (Jeff Macdonald)
Newsgroups perl.libwww
Message-ID <[email protected]>
Hi all,
I was writing some tests for some code in which a URI can be passed as
an option. This code POSTs to the URI. Instead of having the test
create a local web server, I thought it would be nice if file URI's
could be posted to. Is this a nutty idea? This way the test could just
then read the data created at the specified file URI.

Something like this:

POST file:/some/path/data

would cause all the posted data to show up in data.

-- 
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.