Javascript Https Request Python Docstring