Skip to content

Commit 694aecb

Browse files
gregcastrofelipao-mx
authored andcommitted
if proxy -> data = None (#77)
* if proxy -> data = None * reason of why data = None
1 parent 2e6f443 commit 694aecb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

arcus/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def request(
9292
else:
9393
api_key = self.api_key.user
9494
headers = {'X-ARCUS-API-KEY': api_key}
95+
# GET request with Body is not allowed on CloudFront
96+
data = None
9597
response = self.session.request(
9698
method,
9799
url,

arcus/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.2.0' # pragma: no cover
1+
__version__ = '1.2.1' # pragma: no cover

0 commit comments

Comments
 (0)