This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 93d54be  AXIS2-5999 fix unit tests
93d54be is described below

commit 93d54beb5186803ea7dcb4a806c88d9ae2ea774f
Author: Robert Lazarski <robertlazar...@gmail.com>
AuthorDate: Wed May 12 13:25:25 2021 -0400

    AXIS2-5999 fix unit tests
---
 .../transport/http/src/org/apache/axis2/transport/http/HTTPSender.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java 
b/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
index 0465705..04c7443 100644
--- a/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
+++ b/modules/transport/http/src/org/apache/axis2/transport/http/HTTPSender.java
@@ -204,7 +204,7 @@ public abstract class HTTPSender {
                     processResponse = true;
                     fault = false;
                 } else if (statusCode == HttpStatus.SC_INTERNAL_SERVER_ERROR
-                           || statusCode == HttpStatus.SC_BAD_REQUEST) {
+                           || statusCode == HttpStatus.SC_BAD_REQUEST || 
statusCode == HttpStatus.SC_NOT_FOUND) {
                     processResponse = true;
                     fault = true;
                 } else {

Reply via email to