Skip to content

Allow User-Agent customization to devpi-server #1093

@btschwertfeger

Description

@btschwertfeger

We're running a quite large instance of devpi-sever and faced the issue of not being able to download packages that had recent releases due to the mirror-cache-expiry time. To fix this, we want to set the time to zero, which will result in lots of requests to PyPI.

Following PyPI's recommendations for such scenario, we want to use the User-Agent header to leave some contact information (https://docs.pypi.org/api/#rate-limiting). As far as I can see, this is currently not possible with devpi-sever. Are there any plans to support that?

Note: We don't want to create another service in between our devpi-server instance and PyPI just to inject the User-Agent information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions