Skip to content

cache: HttpOrigin does not set a User-Agent header on origin requests, making CDN-originated traffic indistinguishable from anonymous HTTP clients in origin access logs and preventing operators from rate-limiting or routing CDN pulls separately #435

Closed

Description

@alpergundogdu

Every reqwest request from HttpOrigin::fetch uses the default client with no User-Agent override. Operators running S3-compatible or nginx-backed origins cannot distinguish CDN pull-through traffic from end-user traffic in access logs, complicating bandwidth attribution and per-client rate limiting on the origin side.


Filed via GitDailyReporterBot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:bugkind:feature

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions