Skip to content

RequestBody constructor made obsolete #1517

Description

@ExtraClock

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions