Skip to content

v1.0.14

Latest

Choose a tag to compare

@hubipe hubipe released this 06 Aug 06:50
5a788fb

Finstat moved their API behind Cloudflare, which serves responses over HTTP/2. HTTP/2 requires all header names to be lowercase on the wire, so the rate-limit headers that previously arrived as Finstat-Daily-Limit-Current etc. now arrive as finstat-daily-limit-current. Since this library matched the header names case-sensitively, every API response failed with ParserException: FinStat response is missing limit headers.

Header names are case-insensitive per the HTTP specification, so this release makes the limit-header parsing case-insensitive – responses are now handled correctly regardless of the casing used.

Full Changelog: v1.0.13...v1.0.14