boto / boto

For the latest version of boto, see https://github.com/boto/boto3 -- Python interface to Amazon Web Services

Home Page:http://docs.pythonboto.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set the sender parameter in boto.connection.AWSAuthConnection.make_request()

SlivTaMere opened this issue · comments

commented

The function make_request in boto.connection.AWSAuthConnection (and its subclasses) https://github.com/boto/boto/blob/develop/boto/connection.py#L1062 has a "sender" parameter that can be used to actually make the http request https://github.com/boto/boto/blob/develop/boto/connection.py#L938 . The probleme is, I can't find where I can set that parameter as a end user of boto. There is nothing in client parameters or botocore config.

I noticed the https_connection_factory parameter in the constructor of boto.connection.AWSAuthConnection (and its subclasses) that should be able to achieve the same role as "sender" but it seems way more work to make a class compatible with http_client.HTTPSConnection