The issue here was that a dependency, getRawBody mutates the req object in a way that makes calling getRawBody not idempotent. Most of the solve here was stashing the results of the first call of getRawBody so we can skip this for the second pass. Added new tests demonstrating this capability.
The issue here was that a dependency,
getRawBody
mutates the req object in a way that makes callinggetRawBody
not idempotent. Most of the solve here was stashing the results of the first call of getRawBody so we can skip this for the second pass. Added new tests demonstrating this capability.