Hey everyone, quick question: I am using the `pact...
# general
j
Hey everyone, quick question: I am using the
pact-provider-verifier
and I installed it through
gem
. On my use case I needed to use a header called
response-format
(all lower case)but it seems like when pact-provider-verifier does the request it changes the header and capitalizes it to
Resonse-Format
, is there a way to prevent this from happening and being able to use the header all lower case?
m
It might be worth searching this question across the pact foundation GH organisation. I believe it's come up before and I think the answer is no. The header names are standardised.
I believe header keys should be case insensitive as far as the RFC is concerned
💯 1
The behaviour is built into the framework that pact ruby uses. There is a rust verifier which may not do that
j
Sorry for the VERY LATE reply here, but you were right Matt, we should adjust it on ourside, which we did. Thanks again for the reply!
🙌 1