Skip to content

Commit

Permalink
adding patch
Browse files Browse the repository at this point in the history
  • Loading branch information
iamjono committed Jun 27, 2017
1 parent c7c3ad4 commit 08e3a8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ fastlane/screenshots
Packages/
PerfectCURL.xcodeproj/
.DS_Store
Package.pins
1 change: 1 addition & 0 deletions Sources/CURLRequestOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ extension CURLRequest.Option {
case .post: curl.setOption(CURLOPT_POST, int: 1)
case .put: curl.setOption(CURLOPT_PUT, int: 1)
case .head: curl.setOption(CURLOPT_NOBODY, int: 1)
case .patch: curl.setOption(CURLOPT_POST, s: "PATCH")
case .delete,
.trace,
.options,
Expand Down

0 comments on commit 08e3a8f

Please sign in to comment.