Skip to content

Commit 535b19f

Browse files
committed
Fix Personality Insights V3 problem that accept:text/csv is not reflected
1 parent e20e5f4 commit 535b19f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

watson_developer_cloud/personality_insights_v3.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ def profile(self,
154154
headers = {
155155
'content-type': content_type,
156156
'Content-Language': content_language,
157-
'Accept-Language': accept_language
157+
'Accept-Language': accept_language,
158+
'Accept': accept
158159
}
159160
params = {
160161
'version': self.version,

0 commit comments

Comments
 (0)