Add support for text/xml to create and insertDocument
This commit is contained in:
parent
8e74e13930
commit
e9f04ab263
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user