JunHong, I just go though the replicator code. I think you're right. Now we're hard code HTTPConnection. Obviously, it's wrong for the https case.
glance-replicator is a mangement command instead of the common cli. So it may contain some dirty code. And I agree with flavio87, requests would be a good option to replace httplib since it can take care https perfectly. It would be great if you can work on this refactor since it's a very helpful feature for enterprise users.
JunHong, I just go though the replicator code. I think you're right. Now we're hard code HTTPConnection. Obviously, it's wrong for the https case.
glance-replicator is a mangement command instead of the common cli. So it may contain some dirty code. And I agree with flavio87, requests would be a good option to replace httplib since it can take care https perfectly. It would be great if you can work on this refactor since it's a very helpful feature for enterprise users.