Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add support for PATCH http requests #1

Merged
merged 1 commit into from

2 participants

@zombor

No description provided.

@kiall kiall merged commit b9d679e into managedit:develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 29, 2011
  1. @zombor
This page is out of date. Refresh to see the latest.
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'
);
/**
Something went wrong with that request. Please try again.