Fork me on GitHub

A bit of a muuntaja question too, but how would I handle request having binary data, and coming in varying formats? So client might send a field value of binary as JSON, maybe messagepack, and I would like the handler to just see bytes array, or a stream, or something. Right now we accept JSON and do explicit base64 decode in the handler, but that won't be compatible with the binary format of messagepack. This is assuming that muuntaja supports that, haven't checked…

Hukka17:02:07 doesn't really mention handling bytes array, so perhaps using messagepack with bin would need digging pretty deep