David Wheeler wrote:
[...]re: OPTIONS, see section 9.2 in http://www.faqs.org/rfcs/rfc2616.html
for my $url (@urls) { my $res = OPTIONS $url; ok $res->code == 200; my $allow = $res->header('Allow') || ''; ok $allow =~ /OPTIONS/; }
I still don't understand what it does or what it's for. Sorry. Someone else will likely have to document it.
It's trivial. If your webserver supports only the following methods: GET and HEAD, OPTIONS, but not POST. the request OPTIONS will return a response with a header Allow: OPTIONS GET HEAD
Looking forward for more docs ;)
We'll see if I find any more tuits in the next few weeks. The only one I'm likely to contribute to in the short term is Apache::TestMM. And I don't understand it too well at this point, anyway.
I guess I can take care of it. Just let me know which options are the most urgent that you need to work with.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com