Add support for text/xml to create and insertDocument

This commit is contained in:
Paul Trudel 2024-04-23 14:40:15 -04:00
parent 8e74e13930
commit e9f04ab263
2 changed files with 2 additions and 2 deletions

View File

@ -145,6 +145,6 @@ public class CreateMeeting extends RequestWithChecksum<CreateMeeting.Params> {
@Override
public Set<String> getSupportedContentTypes() {
return Set.of(MediaType.APPLICATION_FORM_URLENCODED, MediaType.MULTIPART_FORM_DATA, MediaType.APPLICATION_XML);
return Set.of(MediaType.APPLICATION_FORM_URLENCODED, MediaType.MULTIPART_FORM_DATA, MediaType.APPLICATION_XML, MediaType.TEXT_XML);
}
}

View File

@ -43,6 +43,6 @@ public class InsertDocument extends RequestWithChecksum<InsertDocument.Params> {
@Override
public Set<String> getSupportedContentTypes() {
return Set.of(MediaType.APPLICATION_XML);
return Set.of(MediaType.APPLICATION_XML, MediaType.TEXT_XML);
}
}