Skip to content

Rate limit message contains embedded HTML #2

Open
@jpluscplusm

Description

@jpluscplusm

I hit a rate limit while fetching a public module from the Central Registry, operating as an unauthenticated user, and the HTML-ness of the rate-limiting error report was a bit surprising:

$ cue mod get github.com/perses/perses/cue
module github.com/perses/perses/cue: 429 Too Many Requests: non-JSON error response "text/html; charset=UTF-8"; body "<!doctype html><meta charset=\"utf-8\"><meta name=viewport content=\"width=device-width, initial-scale=1\"><title>429</title>429 Too Many Requests"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions