Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Add PATCH to available method #53

Merged
merged 1 commit into from
Apr 4, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ajax-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if (method) {
var proposedMethod = method.toUpperCase();

if (['GET', 'POST', 'PUT'].indexOf(proposedMethod) >= 0) {
if (['GET', 'POST', 'PUT', 'PATCH'].indexOf(proposedMethod) >= 0) {
return proposedMethod;
}
}
Expand Down