Change content download rest template config.
[federation.git] / gateway / src / main / java / org / acumos / federation / gateway / common / FederationClient.java
index 2e04542..cab73b0 100644 (file)
@@ -362,7 +362,7 @@ public class FederationClient extends AbstractClient {
                ResponseEntity<Resource> response = null;
                RequestEntity<Void> request = RequestEntity
                                                                                                                                        .get(theUri)
-                                                                                                                                       .accept(MediaType.APPLICATION_OCTET_STREAM)
+                                                                                                                                       .accept(MediaType.ALL)
                                                                                                                                        .build();
                try {
                        response = restTemplate.exchange(request, Resource.class);