You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user may want to set extra options on the request.send method such as auth, cert, or others.
Describe the solution you’d like
I want to expose a method on HttpStream as follows:
def request_kwargs(self) -> Mapping[str, Any]:
"""
returns a mapping of keyword arguments to be used when creating the HTTP request.
See https://docs.python-requests.org/en/master/user/advanced/ for various options which can be returned from
this method.
any args returned from this method will be flattened into the outgoing request via something
like `requests.get(url, **self.request_kwargs())`.
"""
Describe the alternative you’ve considered or used
Use the Stream class directly
The text was updated successfully, but these errors were encountered:
Tell us about the problem you're trying to solve
A user may want to set extra options on the
request.send
method such asauth
,cert
, or others.Describe the solution you’d like
I want to expose a method on
HttpStream
as follows:Describe the alternative you’ve considered or used
Use the
Stream
class directlyThe text was updated successfully, but these errors were encountered: