Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu committed Oct 17, 2023
1 parent 6da0976 commit 0b5455f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void test() throws Exception {
}

int responseCode = connection.getResponseCode();
if (responseCode != HttpURLConnection.HTTP_ACCEPTED) { // success
if (responseCode != HttpURLConnection.HTTP_OK) { // success
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
Expand Down

0 comments on commit 0b5455f

Please sign in to comment.