Skip to content

Commit

Permalink
twilio python changes for orgs api uptake
Browse files Browse the repository at this point in the history
  • Loading branch information
AsabuHere committed Sep 26, 2024
1 parent 1ba2f9b commit 98708f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 33 deletions.
30 changes: 0 additions & 30 deletions twilio/http/bearer_token_http_client.py

This file was deleted.

7 changes: 4 additions & 3 deletions twilio/http/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ def request(
elif timeout <= 0:
raise ValueError(timeout)

if "Requires-Authentication" in headers:
headers.pop("Requires-Authentication", None)
auth = None
if headers:
if "Requires-Authentication" in headers:
headers.pop("Requires-Authentication", None)
auth = None

kwargs = {
"method": method.upper(),
Expand Down

0 comments on commit 98708f0

Please sign in to comment.