@@ -39,7 +39,7 @@ def call_with_no_auth(self, method,
3939 api_call_part2 = None ,
4040 api_call_part3 = None ,
4141 identifier1 = None , identifier2 = None , identifier3 = None ,
42- params = None , data = None ):
42+ params = None , data = None , files = None ):
4343 """ Cloudflare v4 API"""
4444
4545 headers = {
@@ -49,7 +49,7 @@ def call_with_no_auth(self, method,
4949 return self ._call (method , headers ,
5050 api_call_part1 , api_call_part2 , api_call_part3 ,
5151 identifier1 , identifier2 , identifier3 ,
52- params , data )
52+ params , data , files )
5353
5454 def call_with_auth (self , method ,
5555 api_call_part1 ,
@@ -82,7 +82,7 @@ def call_with_certauth(self, method,
8282 api_call_part2 = None ,
8383 api_call_part3 = None ,
8484 identifier1 = None , identifier2 = None , identifier3 = None ,
85- params = None , data = None ):
85+ params = None , data = None , files = None ):
8686 """ Cloudflare v4 API"""
8787
8888 if self .certtoken is '' or self .certtoken is None :
@@ -95,7 +95,7 @@ def call_with_certauth(self, method,
9595 return self ._call (method , headers ,
9696 api_call_part1 , api_call_part2 , api_call_part3 ,
9797 identifier1 , identifier2 , identifier3 ,
98- params , data )
98+ params , data , files )
9999
100100 def _raw (self , method , headers ,
101101 api_call_part1 , api_call_part2 = None , api_call_part3 = None ,
@@ -518,15 +518,15 @@ def patch(self, identifier1=None, identifier2=None, identifier3=None, params=Non
518518 identifier1 , identifier2 , identifier3 ,
519519 params , data )
520520
521- def post (self , identifier1 = None , identifier2 = None , identifier3 = None , params = None , data = None ):
521+ def post (self , identifier1 = None , identifier2 = None , identifier3 = None , params = None , data = None , files = None ):
522522 """ Cloudflare v4 API"""
523523
524524 return self ._base .call_with_certauth ('POST' ,
525525 self .api_call_part1 ,
526526 self .api_call_part2 ,
527527 self .api_call_part3 ,
528528 identifier1 , identifier2 , identifier3 ,
529- params , data )
529+ params , data , files )
530530
531531 def put (self , identifier1 = None , identifier2 = None , identifier3 = None , params = None , data = None ):
532532 """ Cloudflare v4 API"""
0 commit comments