tarttelin / JavaStubServer

An HTTP server used in tests to provide canned responses to expected requests.
http://tarttelin.github.io/JavaStubServer/
Other
6 stars 5 forks source link

Added the ability to do pattern vs literal header matches #14

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi Chris,

This adds the ability to specify whether you want to do a literal or pattern based match on a header. This allows you to specify a header containing special regex chars (mainly . and +) without having to escape the string.

I would appreciate your feedback on this change as this is causing us a bit of a problem.

Thanks Brian

ghost commented 10 years ago

Added the missing files