namshi / mockserver

Mock your backends in a matter of seconds. HTTP is King.
351 stars 89 forks source link

Headers should not be case sensitive #71

Open romansavchenko opened 5 years ago

romansavchenko commented 5 years ago

Or at least if they are going to be case sensitive they should match what is put into the headers array and not be force camel cased.

When I do mockServer.headers = ['x-b3-traceid'] Mockserver changes it to Reading from test/mockserver/myservice/POST_X-B3-Traceid=traceValue.mock

vinaym512 commented 4 years ago

Hey @romansavchenko , did you get it fixed? I have some issue with mockserver as its not reading from the file with header name.

romansavchenko commented 4 years ago

I believe it's still an issue