tableau / tabcmd

A Python based app that replicates the functionality of the existing TabCMD command line utility
https://tableau.github.io/tabcmd/
MIT License
44 stars 12 forks source link

login should work without specifying a protocol #152

Open jacalata opened 2 years ago

jacalata commented 2 years ago

actual: Invalid URL 'blah.online.dev.tabint.net/api/2.4/serverInfo': No scheme supplied. Perhaps you meant http://blah.online.dev.tabint.net/api/2.4/serverInfo?

septatrix commented 2 years ago

I am not quite sure about this. If my tableau server instance was misconfigured I do not want it to silently fall back to HTTP. It might be fine to assume HTTPS if no protocol is given but using HTTP should be made explicit

jacalata commented 2 years ago

Some of the design choices here are made because we have a lot of users with existing scripts written for this app, and we aim for all of these scripts to continue working as written when they switch from old tabcmd to this one. The old app assumes http if it is not specified, so we will match that behavior in our initial release, and hopefully deprecate it and remove in a version bump.