| HttpClient connects to the test server and performs two subsequent
requests to the same URI in strict mode.
The first response body will be read with getResponseBodyAsString(),
which returns null if an error occured.
The second response body will be read using an InputStream, which
throws an IOException if something went wrong.
Expected behavior:
For both requests, status code 200 should be returned.
For request 1, a null response body should be returned.
For request 2, a
ProtocolException is expected.
throws: IOException - |