wiremock-rs
wiremock-rs copied to clipboard
Comma in header value
Hi here,
Good morning. I am using 0.6.0 version.
I setup a mock for an http call with an header that looks like
.and(header("x-ms-date", "Sun, 01 Jan 2023 00:00:00 GMT"))
There should be some bug in the handling of the commas, since that value will not be matched.
Intead, the following without a comma works well
.and(header("x-ms-date", "Sun 01 Jan 2023 00:00:00 GMT"))
Best regards, R