seitime-frappe/frappe/integrations
tonspar c12b753648
fix: make_request - prevents an error during response parsing if the response body is empty. (#24613)
* Update utils.py

Sometimes the returned response body is empty. This change prevents the error during frappe response parsing. For example DELETE request returns no content.

* Revert "Update utils.py"

This reverts commit edbfb6960a175da142e9114d8096e5f09665da1b.

* fix: Avoid parsing empty responses in make_request

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-02-10 08:50:22 +00:00
..
doctype fix: ruff fixes 2024-02-07 17:04:31 +05:30
frappe_providers fix: ruff fixes 2024-02-07 17:04:31 +05:30
workspace/integrations refactor: Workspace cleanup (#21100) 2023-05-26 14:42:31 +05:30
__init__.py Moved Backup Manager and Social Login keys to the new Integrations Module, prepared frappe for Mandrill Integration 2015-08-11 12:03:13 +05:30
google_oauth.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
oauth2.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
oauth2_logins.py refactor: OAuth 2022-12-27 19:25:43 +05:30
offsite_backup_utils.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
utils.py fix: make_request - prevents an error during response parsing if the response body is empty. (#24613) 2024-02-10 08:50:22 +00:00