[FIX] http: fix jsonp, session_id no longer exists
`session_id` is deprecated,
`session.sid` must be used instead.
This is similiar to the revision
4033ccc129
This commit is contained in:
+1
-1
@@ -619,7 +619,7 @@ class JsonRequest(WebRequest):
|
||||
# If we use jsonp, that's mean we are called from another host
|
||||
# Some browser (IE and Safari) do no allow third party cookies
|
||||
# We need then to manage http sessions manually.
|
||||
response['session_id'] = self.session_id
|
||||
response['session_id'] = self.session.sid
|
||||
mime = 'application/javascript'
|
||||
body = "%s(%s);" % (self.jsonp, json.dumps(response),)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user