4 ms·
It really irks me that the de facto rate limiting headers mix camel case with the more standard dashes, i.e. RateLimit-Remaining instead of Rate-Limit-Remaining
by ezekg 9mo ago
It really irks me that the de facto rate limiting headers mix camel case with the more standard dashes, i.e. RateLimit-Remaining instead of Rate-Limit-Remaining.
- gsich 9mo agoit's all lowercase anyway at parse time.
- hk1337 9mo agorate-limit-remaining would be nicer than ratelimit-remaining
- alamortsubite 9mo agoAt least it's not misspelled. https://en.wikipedia.org/wiki/HTTP_referer https://en.wikipedia.org/wiki/HTTP_referer
- goto1 9mo agoThis irks me too, looking at the registry [1] it would definitely be an outlier. [1] https://www.iana.org/assignments/http-fields/http-fields.xhtml https://www.iana.org/assignments/http-fields/http-fields.xht...
- toast0 9mo agoHttp headers are case insensitive by spec (but not always as implemented, yay). I'm a fan of ratelimit as a single word, but then they capsed in the middle to hedge, I guess?