This comment should probably explain what can go wrong with an https, or better yet explain that in the function's header comment.