Based on the BiDi documentation, there is no such option. Which is very strange, because at the network.beforeRequestSent stage it is possible to change the request body content, but it is inconvenient without knowing the original request body.
Tried to search for solutions, couldn't find anything. Checking for updates on this. If you have found something working, I would be grateful if you could share it