Skip to content

Commit 1ec3092

Browse files
author
Stephane Landelle
committed
Fix test: http://google.com/ now replies with 302 instead of 301
1 parent 64140b5 commit 1ec3092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/test/java/org/asynchttpclient/async/AsyncStreamHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public void asyncStream301WithBody() throws Exception {
347347
c.prepareGet("http://google.com/").execute(new AsyncHandlerAdapter() {
348348

349349
public STATE onStatusReceived(HttpResponseStatus status) throws Exception {
350-
assertEquals(301, status.getStatusCode());
350+
assertEquals(302, status.getStatusCode());
351351
return STATE.CONTINUE;
352352
}
353353

0 commit comments

Comments
 (0)