-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
In fd23c08 RequestBody constructor made obsolete: "The RestBody class will be internal in future versions".
We have API which uses XML request-response, so we use UseDotNetXmlSerializer.
However, in Authenticator we need to replace generated XML body with signed application/pkcs7-mime. So we take request.Body.Value, sign it and replace entire request.Body with new RequestBody("application/pkcs7-mime", "application/pkcs7-mime", signedBody)
With RequestBody constructor made obsolete what is the right way for authenticators to replace entire request.Body?
magne4000 and Decimation