Function createTestHTTPServerRequest
Creates a HTTPServerRequest suitable for writing unit tests.
HTTPServerRequest createTestHTTPServerRequest
(
URL url,
HTTPMethod method = HTTPMethod .GET,
InputStream data = null
) @safe;
HTTPServerRequest createTestHTTPServerRequest
(
URL url,
HTTPMethod method,
DictionaryList!(string,false,12L,false) headers,
InputStream data = null
) @safe;