jsanda commented on issue #2910: [2862] Get protocol from client config base url
URL: 
https://github.com/apache/incubator-openwhisk/pull/2910#issuecomment-340571329
 
 
   @dubeejw I may need some help with how to implement the test. As I 
understand it, ```Client.Config.BackendURL.Scheme``` is essentially determined 
by the api host. If the api host does not specify the protocol, it defaults to 
https. I have been deploying things locally with ansible via `wskdev fresh`. I 
am not yet familiar enough with the ansible set up, but I do know that nginx is 
configured to only listen for https requests. 
   
   If I want to write a test to verify that 
```Client.Config.BackendURL.Scheme```  is set to http, how can I do so without 
having to redeploy things?
   
   Here is another, better question now that I have spent some time looking at 
this. Should insecure requests ever be supported?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to