Skip to content

Commit f605884

Browse files
committed
updated CHANGES.md
1 parent 4aef91c commit f605884

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 2.6.0
2+
3+
- Dropped support for Python 3.6 and below
4+
- Now supporting currently supported stable versions of Python, i.e. Python 3.7-3.10
5+
- Internal refactoring and enhancements
6+
17
# 2.5.x
28

39
- Support for Independent SMS, Voice and Verify APIs with tests as well as current client methods

vonage/_internal.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get_application(self, application_id):
113113

114114
return self._api_server.get(
115115
f"/v2/applications/{application_id}",
116-
headers={"content-type": "application/json"},
116+
headers={"Content-Type": "application/json"},
117117
)
118118

119119
def update_application(self, application_id, params):
@@ -134,7 +134,7 @@ def delete_application(self, application_id):
134134

135135
self._api_server.delete(
136136
f"/v2/applications/{application_id}",
137-
headers={"content-type": "application/json"},
137+
headers={"Content-Type": "application/json"},
138138
)
139139

140140
def list_applications(self, page_size=None, page=None):
@@ -151,7 +151,7 @@ def list_applications(self, page_size=None, page=None):
151151
return self._api_server.get(
152152
"/v2/applications",
153153
params=params,
154-
headers={"content-type": "application/json"},
154+
headers={"Content-Type": "application/json"},
155155
)
156156

157157

0 commit comments

Comments
 (0)