parent
f2c8699823
commit
3afaa5c1e6
|
@ -191,7 +191,8 @@ public class FederatedClient {
|
||||||
Response response = client.target(peer.getUrl())
|
Response response = client.target(peer.getUrl())
|
||||||
.path(String.format(RECEIPT_PATH, source, sourceDeviceId, destination, messageId))
|
.path(String.format(RECEIPT_PATH, source, sourceDeviceId, destination, messageId))
|
||||||
.request()
|
.request()
|
||||||
.put(Entity.json(null));
|
.property(ClientProperties.SUPPRESS_HTTP_COMPLIANCE_VALIDATION, true)
|
||||||
|
.put(null);
|
||||||
|
|
||||||
if (response.getStatus() != 200 && response.getStatus() != 204) {
|
if (response.getStatus() != 200 && response.getStatus() != 204) {
|
||||||
throw new WebApplicationException(response);
|
throw new WebApplicationException(response);
|
||||||
|
|
Loading…
Reference in New Issue