final Request request = new Request(Method.GET, this.uri);
final Client client = new Client(Protocol.HTTP);
final Response response = client.handle(request);
assertEquals("No user did not throw 401",
Status.CLIENT_ERROR_UNAUTHORIZED, response.getStatus());
client.stop();
}
public void HTTPBasicShort() throws Exception {
final Request request = new Request(Method.GET, this.uri);
final Client client = new Client(Protocol.HTTP);