Skip to content
Permalink
Browse files
[CXF-5547] Linking a response message to the exchange in case of 202 …
…and no body

git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1565269 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Sergey Beryozkin committed Feb 6, 2014
1 parent 1557512 commit aacf5fcb0733b69db3cb9a3c884e7700e3d7e991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -1592,6 +1592,7 @@ protected void handleResponseInternal() throws IOException {
if (in != null) {
in.close();
}
exchange.setInMessage(inMessage);
return;
}
} else {
@@ -626,6 +626,7 @@ public void testOnewayWebClient() throws Exception {
WebClient client = WebClient.create("http://localhost:" + PORT + "/bookstore/oneway");
Response r = client.header("OnewayRequest", "true").post(null);
assertEquals(202, r.getStatus());
assertFalse(r.getHeaders().isEmpty());
}

@Test

0 comments on commit aacf5fc

Please sign in to comment.