lib/stream/client.rb in stream-ruby-2.2.5 vs lib/stream/client.rb in stream-ruby-2.3
- old
+ new
@@ -80,9 +80,11 @@
get_default_params.merge(params)
end
def make_request(method, relative_url, signature, params = {}, data = {}, headers = {})
headers["Authorization"] = signature
+ headers["stream-auth-type"] = 'jwt'
+
get_http_client.make_http_request(method, relative_url, make_query_params(params), data, headers)
end
end
class StreamHTTPClient