Having file: support POST (and probably some other methods)
Jeff Macdonald <[email protected]> Thu, 6 May 2010 15:03:09 -0400
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| 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