Skip to content

Commit e911cdd

Browse files
authored
Merge pull request #11 from ilanddev/api_v0_8
Force iland API v0.8.
2 parents a0c8dd7 + af409c6 commit e911cdd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ History
55
0.7.5 (unreleased)
66
------------------
77

8-
*
8+
* Force iland API v0.8
99

1010
0.7.4 (2017-05-26)
1111
------------------

iland/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ def _do_request(self, rpath, verb='GET', form_data=None):
123123

124124
headers = {
125125
'Authorization': 'Bearer %s' % self._get_access_token_string(),
126-
'content-type': 'application/json'}
126+
'Content-Type': 'application/vnd.ilandcloud.api.v0.8+json',
127+
'Accept': 'application/vnd.ilandcloud.api.v0.8+json'
128+
}
127129

128130
request_params = {
129131
'headers': headers,

0 commit comments

Comments
 (0)