laravel5-genderize-api-client icon indicating copy to clipboard operation
laravel5-genderize-api-client copied to clipboard

Error Undefined index: X-Rate-Limit-Limit

Open Raphavolt opened this issue 2 years ago • 1 comments

genderize.io header X-Rate-Limit-Limit is now all lower case. All other headers are also lower case now, so probably needs to adjust all of them.

Raphavolt avatar Sep 20 '22 19:09 Raphavolt

To add a bit of context, I recently switched Genderize from running on older Node servers to run Elixir on OTP. This had the effect of downcasing all the headers and I'm sorry for the inconvenience it has cost.

Headers should however always be handled in a case-insensitive manner (RFC 7230).

I'd love to make a pull request, but I haven't touched PHP since 5.7 😅 Is there any chance you would consider submitting an update @pixelpeter?

Stroemgren avatar Sep 21 '22 17:09 Stroemgren