Closed ddebrunner closed 7 years ago
I'll work on this one.
By default, Requests
verifies SSL certificates for HTTPS requests (i.e. verify=True).
I propose to modify StreamsConnection
to accept kwargs, so user can customize the Requests session object. For example, session object can be configured with these parameters:
Assuming we want verify=True
as the default Requests behaviour, then this would cause communication with a local sws service to fail, unless user explicitly specify verify=False
when:
StreamsConnection
View
object from the Stream
objectHowever, this modification may break some existing application. @ddebrunner , @wmarshall484 , any thoughts?
If user wants to bypass SSL verification, then:
StreamsConnection
object, specifying verify=False
Going to wait for the REST APIs to merge with streamsx.topology before delivering the fix, as the fix will requires changes in both modules.
https://github.com/IBMStreams/streamsx.utility/blob/master/python/packages/streamsx/rest.py#L13
Should be up to the app using a generic library if it wants to disable warnings or not.