Permalink
Browse files

Add support for PATCH http requests

  • Loading branch information...
1 parent 267235e commit 311bbbef9e22243f59bc7e389a3f0c260f0e41cd @zombor zombor committed Nov 29, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 classes/kohana/controller/api.php
View
2 classes/kohana/controller/api.php
@@ -30,6 +30,7 @@
Http_Request::GET => 'get',
Http_Request::PUT => 'put', // Typically Update..
Http_Request::DELETE => 'delete',
+ 'PATCH' => 'patch',
);
/**
@@ -39,6 +40,7 @@
(
Http_Request::POST,
Http_Request::PUT,
+ 'PATCH'
);
/**

0 comments on commit 311bbbe

Please sign in to comment.