Skip to content

Commit ec057cd

Browse files
committed
Fixing x_watson_learning_opt_out
1 parent ec90328 commit ec057cd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Change Log
22
==========
33

4+
## Version 0.17.1
5+
6+
_2016-07-17_
7+
8+
* Fixed: `x_watson_learning_opt_out` value
9+
410
## Version 0.17.0
511

612
_2016-07-14_

watson_developer_cloud/watson_developer_cloud_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def request(self, method, url, accept_json=False, headers=None, params=None, jso
242242
params['api_key'] = self.api_key
243243

244244
if self.x_watson_learning_opt_out:
245-
headers['x-watson-learning-opt-out'] = 'false'
245+
headers['x-watson-learning-opt-out'] = 'true'
246246

247247
response = requests.request(method=method, url=full_url, cookies=self.jar, auth=auth, headers=headers,
248248
params=params, data=data, files=files, **kwargs)

0 commit comments

Comments
 (0)