Permalink
Browse files

Merge pull request #7 from ufobat/patch-1

Adding Http OPTIONS method HTTP.pm6
  • Loading branch information...
CurtTilmes committed Mar 19, 2018
2 parents 844db6d + 3d2d555 commit 035ee61b406ab2fccf51a86b8f36d32e0fc6738e
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/LibCurl/HTTP.pm6
View
@@ -16,6 +16,11 @@ class LibCurl::HTTP is LibCurl::Easy
self.setopt(:failonerror, :nobody, URL => $URL);
}
method OPTIONS($URL)
{
self.setopt(:failonerror, customrequest => 'OPTIONS', URL => $URL);
}
method DELETE($URL)
{
self.setopt(:failonerror, customrequest => 'DELETE', URL => $URL);

0 comments on commit 035ee61

Please sign in to comment.