Skip to content

Option to set Request User-Agent string #12

@mafrosis

Description

@mafrosis

I've been trialling riko and it seems great. I do have a small request however, that an option be added to change the User-Agent on outgoing requests. Some servers will block the default User-Agent: Python-urllib/3.5.

Alternatively, have you considered using urllib3 instead of the mess that's in Python core? In that case you can easily pass headers into the PoolManager constructor.

https://urllib3.readthedocs.io/en/latest/

Thanks for your works!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions