Closed tsallinen closed 9 years ago
Currently Provider accepts only text/xml and application/json content-type:
https://github.com/educloudalliance/xroad-rest-gateway/blob/master/src/src/main/java/com/pkrete/xrd4j/tools/rest_gateway/ProviderGateway.java#L127
As application/xml is fairly common, perhaps it should be supported as an alternative form to text/xml.
You're right, application/xml should be supported. Now it's added.
Currently Provider accepts only text/xml and application/json content-type:
https://github.com/educloudalliance/xroad-rest-gateway/blob/master/src/src/main/java/com/pkrete/xrd4j/tools/rest_gateway/ProviderGateway.java#L127
As application/xml is fairly common, perhaps it should be supported as an alternative form to text/xml.