Page MenuHomePhabricator

Support setting rate limits based on x-trusted-request headers coming from the edge.
Closed, ResolvedPublic

Description

See https://wikitech.wikimedia.org/wiki/CDN/Backend_api#x-trusted-request

This would be especially useful for identifying requests from "trusted bots" ("good scrapers") and from WMCS.

Event Timeline

Change #1214633 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[operations/deployment-charts@master] rest gateway: use the new x-trusted-request header

https://gerrit.wikimedia.org/r/1214633

Change #1214633 merged by jenkins-bot:

[operations/deployment-charts@master] rest gateway: use the new x-trusted-request header

https://gerrit.wikimedia.org/r/1214633

Change #1217516 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[operations/deployment-charts@master] rest gateway: split anon class

https://gerrit.wikimedia.org/r/1217516

Change #1217516 merged by jenkins-bot:

[operations/deployment-charts@master] rest gateway: split anon class

https://gerrit.wikimedia.org/r/1217516