Commit cc214f0
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 ec221b1 commit cc214f0
3 files changed
Lines changed: 262 additions & 289 deletions
0 commit comments