hanbei/mock-httpserver — pull request #11 by hkorte (2014-12-16 21:45:27+00:00)
Title: Fix issue 10: Headers are not sent for prepared responses

Headers are not sent for prepared Responses, i.e. also "Content-Type" is never sent. The reason is, that additional headers are ignored after ```httpExchange.sendResponseHeaders(statusCode, max(0, length));``` is called. I modified a few lines to solve this problem.