[cgiapp] REST tunneling in CGI::Application::Dispatch

Mark Stosberg mark at summersault.com
Wed May 11 19:56:15 EDT 2011


On 05/11/2011 07:47 PM, Ron Savage wrote:
> Hi Tim
> 
> Just glancing at the code:
> 
> If you call lc at line 399, surely the check 2 lines down should be for
> 'post', not 'POST'?
> 
> Or am I missing something?

It looks like you are looking at the "line 399" that shows up on the
side of the patch for lines being removed:

    $http_method = lc $http_method if $method_lc;

So, that line is not part of the proposed solution.

   Mark



More information about the cgiapp mailing list