laravel5-genderize-api-client
laravel5-genderize-api-client copied to clipboard
Error Undefined index: X-Rate-Limit-Limit
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.
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?