-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow http as an argument to base Connection class. #608
Conversation
Subclasses may seek to use the private key from ``credentials`` to sign | ||
data. | ||
|
||
A custom (non-``httplib``) HTTP object must have a ``request`` method |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
I don't see any harm in allowing the caller to pass in the |
This will allow libraries other than httplib2 to be used. Fixes googleapis#551.
@tseaver I updated to non-httplib2 (folded into 2nd commit on rebase). As for the layer, I'm unclear on who will use it but could see people building adapters that we wouldn't need to have control over. Other issues? |
LGTM |
Allow http as an argument to base Connection class.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
This will allow libraries other than httplib2 to be used.
Fixes #551.
@tseaver I dream of tearing
httplib2
out as a dependency (also would need to come out ofoauth2client
) and using something simple likehttplib
for the defaulthttp
object. Sigh.But really this is to support users in specialized environments like
twisted
or people who preferrequests