Skip to content

Commit 125d0b8

Browse files
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 9173ea4 commit 125d0b8

3 files changed

Lines changed: 262 additions & 289 deletions

File tree

0 commit comments

Comments
 (0)