We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf10b6c commit e60d30cCopy full SHA for e60d30c
plotly/plotly/plotly.py
@@ -469,7 +469,8 @@ def get_streaming_specs(self):
469
470
# If no scheme (https/https) is included in the streaming_url, the
471
# host will be None. Use streaming_url in this case.
472
- host = urlparse(streaming_url).hostname or streaming_url
+ host = (six.moves.urllib.parse.urlparse(streaming_url).hostname or
473
+ streaming_url)
474
475
headers = {'Host': host, 'plotly-streamtoken': self.stream_id}
476
streaming_specs = {
0 commit comments