Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connector: remove dependency on requests library #397

Closed
peiwangdb opened this issue Oct 22, 2020 · 1 comment
Closed

Connector: remove dependency on requests library #397

peiwangdb opened this issue Oct 22, 2020 · 1 comment
Assignees
Labels

Comments

@peiwangdb
Copy link
Contributor

Remove the installation dependency on requests library and modify the code accordingly.
Example: chang:

import requests
requests.get("www.python.org").json()

to:

import http.client
import json
conn = http.client.HTTPSConnection("www.python.org")
conn.request("GET", "/")
r1 = conn.getresponse()
json.loads(r1.read())

@dovahcrow
Copy link
Member

Close in favor of #396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants