Files
opencloud/pkg/middleware
Pascal Bleser 0169f3b0a5 graph: answer the export rate limit in the graph error format
A request to export the personal data beyond the rate limit got the
plain text 429 of httprate, while the other errors of graph, also those
of the same route, are JSON with an error code.

RateLimitPerAuthenticatedUser takes a handler for the response beyond
the limit now, so that a service can answer in its own format; nil
keeps the plain text 429. Graph answers with activityLimitReached. The
Retry-After header is set before the handler is called, so it stays.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-13 18:25:47 +01:00
..
2026-04-23 09:31:11 +02:00
2025-01-13 16:42:19 +01:00
2025-01-13 16:42:19 +01:00
2025-01-13 16:42:19 +01:00
2025-01-13 16:42:19 +01:00
2025-01-13 16:42:19 +01:00
2025-01-13 16:42:19 +01:00