Commit f16d041
committed
Add Response.RawBody for buffered body access and modernize error tests
Response gains a rawBody field, RawBody() accessor, and NewResponse()
constructor so generated response types can buffer and re-expose the
raw bytes without consuming the stream.
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>1 parent 7208c1d commit f16d041
3 files changed
Lines changed: 262 additions & 289 deletions
0 commit comments