Open tiphdousset opened 3 years ago
Instead of decodeBase64
taking an Array[Byte]
, we might consider adding a combinator for EntityDecoder
that first decodes the stream via base64 before passing the decoded stream to another decoder. Then we could take advantage of fs2's streaming base64 support.
Hi there,
I have the following situation: to preserve the integrity of binary responses the APIGateway of my project is encoding the body of the requests with base64. My service needs then to first decode the body before being able to use it. The only way I found so far is quite "heavy" and it would be great if http4s would have his own decodeBase64 method.
*Body is a simple case class of my project