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
I have a Consumer that expects bytes as response. Something like this: .will_respond_with(200, body=bytes([0x13, 0x00, 0x00, 0x00, 0x08, 0x00]))
But it seems like bytes are not supported as response type of an interaction, since I'm getting a value error from pact (ValueError: Unknown type: <class 'bytes'>).
Is it possible to support bytes as well or is there any workaround for this kind of scenario?
The text was updated successfully, but these errors were encountered:
I have a Consumer that expects bytes as response. Something like this:
.will_respond_with(200, body=bytes([0x13, 0x00, 0x00, 0x00, 0x08, 0x00]))
But it seems like bytes are not supported as response type of an interaction, since I'm getting a value error from pact (ValueError: Unknown type: <class 'bytes'>).
Is it possible to support bytes as well or is there any workaround for this kind of scenario?
The text was updated successfully, but these errors were encountered: