basdijkstra / rest-assured-net

C# DSL for writing readable tests for HTTP-based APIs
Apache License 2.0
134 stars 16 forks source link

Add ability to override response Content-Type header when extracting response body elements #76

Closed basdijkstra closed 1 year ago

basdijkstra commented 1 year ago

In case the API you're using does not set the correct Content-Type header value in the response.

basdijkstra commented 1 year ago

Will probably be a solution similar to #73, using an enumeration called ExtractAs to maximise readability.

basdijkstra commented 1 year ago

Added in https://github.com/basdijkstra/rest-assured-net/commit/34afd7d41e28b8eb67d2f0f96019edc657d40c73.