This repository was archived by the owner on Jun 4, 2026. It is now read-only.
v1.2.0
v1.2.0
Features
- GetBodyWith — new method that caches the raw request body on first read and returns it on subsequent calls without re-reading. Ideal for middlewares that need the raw body (HMAC verification, custom parsing, logging) while allowing downstream handlers to bind the cached body with BindJSONWith, BindXMLWith, etc.
Fixes
- BindBodyWith — added nil body check, returns
pirca: invalid requesterror whenRequest.Bodyis nil instead of panicking
Breaking Changes
None. Fully backward compatible.