added another common override to http methods
John Napiorkowski [Wed, 6 Mar 2013 13:53:05 +0000 (08:53 -0500)]
lib/Catalyst/ActionRole/HTTPMethods.pm

index 809eaa0..8d9033d 100644 (file)
@@ -17,6 +17,7 @@ sub _normalize_expected_http_method {
   return $req->header('X-HTTP-Method') ||
     $req->header('X-HTTP-Method-Override') ||
     $req->header('X-METHOD-OVERRIDE') ||
+    $req->header('x-tunneled-method') ||
     $req->method;
 }
 
@@ -87,6 +88,8 @@ work well with existing systems and common client side tools.
 
 =item X-METHOD-OVERRIDE (IBM)
 
+=item x-tunneled-method (used in many other similar systems on CPAN
+
 =back 
 
 Please note the insanity of overriding a GET request with a DELETE override...