Open mjones-vsat opened 5 years ago
Umm, Could you please elaborate your use case a bit?
We are using protobuf instead of JSON, and the following doesn't work:
message = getProtoMessage();
server.expect().withPath("/api/foo").andReturn(200, message.toByteArray()).once();
@vsmteam : Could you please raise a PR to support this?
Right now binary responses don't seem to work as intended due to extensive use of String. What would it take to allow binary responses to be mocked?