Skip to content

Override default Python requests user agent to something specific to awscurl #213

@noah-guillory

Description

@noah-guillory

Hi! What do you think about setting the user agent that's sent along with requests to something that indicates that requests are coming from awscurl? I ask because I've had it come up where it would have been useful during debugging something on my end that someone used your tool to call our API.

This is something that seems like a straightforward change since requests has an option that lets you set the user agent. I'm thinking something similar to the user agent of Curl where it's just awscurl/${version_number}.

Your thoughts? I'm happy to contribute a PR for this as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions