ByteArrayInputStream input = new ByteArrayInputStream("test".getBytes());
responseCode = put(m_host, "repository/commit", "apache", "test", "1", input);
assertResponseCode(HttpURLConnection.HTTP_INTERNAL_ERROR, responseCode);
input.reset();
responseCode = put(m_host, "repository/commit", "apache", "test", "0", input);
assertResponseCode(HttpURLConnection.HTTP_OK, responseCode);
out.reset();
responseCode = get(m_host, "repository/checkout", "apache", "test", "1", out);