Revert "fix https.py"

This reverts commit b5949f945cf23e539f57f4150a195e3f5f70e09e.