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
HTTP/1.1 200 OK
Connection: close
Content-Type: text/plain; charset=utf-8
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTE2NTEyMjEsImlhdCI6MTcxMTY0NDAyMSwidG9waWNQZXJtaXNzaW9ucyI6ImVKeUtqZ1VFQUFELy93RVZBTGs9IiwidXNlcklkIjoic2FnYW5BZG1pbiIsIm9yZ0lkIjoic2FnYW4iLCJyb2xlSWRzIjpbInNhZ2FuLWFkbWluIl0sInNhZ2FuVXNlciI6InNhZ2FuLW9wZXJhdG9yIiwic2Vzc2lvbiI6eyJpZCI6IiJ9fQ.GaDrAz1132zOptIyElUp8-vSUkTZn47lFTGrzBKSycw
5) Verifying a pact between demo-loader and auth Given operator has valid token - create admin token for valid operator token
5.1) includes header 'Content-Type' with value 'text/plain'
Expected header 'Content-Type' to have value 'text/plain' but was 'text/plain; charset=utf-8'
This issue is present in libpact_ffi 0.4.16.
The text was updated successfully, but these errors were encountered:
Given the pact JSON with
term
matcher onContent-Type
header:Complete JSON: demo-loader-auth.json
and the provider responding with
which matches Content-Type regex: https://regex101.com/r/eaiKgC/2
the corresponding pactffi trace:
the verification fails with:
This issue is present in libpact_ffi 0.4.16.
The text was updated successfully, but these errors were encountered: