sttp icon indicating copy to clipboard operation
sttp copied to clipboard

Expose nonserialized body in RequestT

Open InversionSpaces opened this issue 3 years ago • 0 comments

Currently using some type of body serialization (e.g. with circe) leads to eager serialization with request construction. So request gets to backend with body already serialized.

This makes some use cases really hard to implement. For example, consider a delegating backend that does unified request body logging based on typeclass MaskedBodyShow because body often contains sensitive information.

InversionSpaces avatar Feb 22 '22 08:02 InversionSpaces