hello, in authentication plugin I need to access b...
# ktor
m
hello, in authentication plugin I need to access body payload to verify hmac hash, so I installed
DoubleReceive
plugin to be able to receive it in the controller as well, but I am still getting
RequestAlreadyConsumedException
, any ideas?
I have
receiveEntireContent
on true already
https://youtrack.jetbrains.com/issue/KTOR-2189 using
DoubleReceiveFixed
worked for me, anyone knows if this will be added to ktor directly?
a
There are plans to fix it in Ktor but it will require thoughtful design for the DoubleReceive plugin https://youtrack.jetbrains.com/issue/KTOR-2631.
m
thank you