You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When request has binary body (for images) contract is generating to JSON in UTF-8 encoding.
This is error, because UTF-8 irreversible.
You must use Base64 or ISO_8859_1
I found this bug and fix it.
I made pull request to fix this error (#1111).
I attached to this Issue my test data which helped me to find bug:
I think this has been addressed now. If you run PostImageBodyTest.groovy and take the body from the persisted pact file, base64 decode it and remove the multipart header it loads correctly in an image editor.
When request has binary body (for images) contract is generating to JSON in UTF-8 encoding.
This is error, because UTF-8 irreversible.
You must use Base64 or ISO_8859_1
I found this bug and fix it.
I made pull request to fix this error (#1111).
I attached to this Issue my test data which helped me to find bug:
The text was updated successfully, but these errors were encountered: