Closed sunnyagarwal008 closed 3 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.80. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Hi, yes, the initial idea was to create a plugin mostly for RESTful APIs, I did not notice that people were using it for protobufs. I'm sorry you are running into this much trouble. I will definitely add protobuf support going forward, but for now, the plugin is not compatible 😕
Hi, I have added this to the backlog, hopefully I will have it ready soon enough, I will close the issue for now and will ping back once it's merged. Cheers!
The
_attemptRequest
method checks if the retry policy is configured, and if yes it creates a response clone usingResponseData.fromHttpResponse(response)
which tries to read response body as string (response.body). This will not work if the response body is a protobuf byte array.