-
Notifications
You must be signed in to change notification settings - Fork 274
Open
Description
Useless converting raw bytes from request(response) bodies broke protobuf model deserialization.
Description
Protobuf response body incorrect deserializing, because FilteredHttpRequest(FilteredHttpResponse).getBody() converts body to string and after that convert string to byte array. Which cause to brake model from body. For example, if i have raw body bytes array size 170, response.getBody() array of bytes size will 250, because it was converted to string.
Expected Behavior
FilteredHttpRequest.getBody() gives raw bytes, without converting to string.
Actual Behavior
Possible Fix
getBody must contains raw bytes from response
Reactions are currently unavailable
