Closed scirocco-gt closed 8 months ago
Thanks for this bug report.
According to the xmlrpc specification the correct content-type is text/xml
. I will hence close this issue, and suggest that you open a bug report on Dokuwiki instead.
(that being said, if you want to create a pull request in order to make this header configurable, I'll have a look at it)
ok, thanks for your quick response!
There is already a bug report. Thank you for your time!
The latest DokuWiki release 2024-02-06a “Kaos” responds to XMLRPC calls with “XML-RPC server accepts XML requests only.”
If the content-type is changed from "text/xml" to "application/xml", it works again. -> https://www.dokuwiki.org/devel:xmlrpc:clients#sample_curl_client
But the content-type cannot be overwritten with "setCustomHttpHeader".