Add support for text/xml to create and insertDocument
This commit is contained in:
parent
f61c67140e
commit
211c530462
@ -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