Skip to content

Commit

Permalink
fix: sending data in the body of the request
Browse files Browse the repository at this point in the history
  • Loading branch information
davidt99 committed Oct 8, 2024
1 parent 4766c64 commit 5659d26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.21.6
_______
- Fix sending data in the body of the request

1.21.5
_______
- Add url and scanned_url to url analyses history filters
Expand Down
2 changes: 1 addition & 1 deletion intezer_sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.21.5'
__version__ = '1.21.6'
2 changes: 1 addition & 1 deletion intezer_sdk/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _request(self,
stream=stream,
timeout=timeout_in_seconds or self.timeout_in_seconds
)
elif isinstance(data, bytes):
elif isinstance(data, (bytes, str)):
response = self._session.request(
method,
url,
Expand Down

0 comments on commit 5659d26

Please sign in to comment.