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

Fixes race condition; improves error reporting #18

Closed rickb777 closed 7 years ago

rickb777 commented 7 years ago

Hi Chris,

I've taken your requirement about the default 200 code on board and added an option to set any required value (404 being the obvious choice).

I've also fixed a deficiency in the query string handling. But note that there is no reporting of PUT/POST body data in this implementation. I don't need this at the moment, but it might be worth revisiting later.

Rick