Hi,
We have upgraded our cluster from 7.1 to 7.3 and everything is fine… except ISO image uploads via API do not work any more for us.
We get an error:
The exact some upload requests (multipart/form-data with content=iso in one part and the file data in the other)
worked for PVE 7.1 and earlier.
Any ideas what is going on?
I have looked into the code and it seems the 'invalid content type' error message is not about the 'Content-Type' header, but the data received which should be just 'iso' but includes the headers for some reason.
We have upgraded our cluster from 7.1 to 7.3 and everything is fine… except ISO image uploads via API do not work any more for us.
We get an error:
Code:
{"data":null,"errors":{"content":"invalid format - invalid content type 'Content-Type: text/plain; charse
t=ISO-8859-1\r\nContent-Transfer-Encoding: 8bit\r\n\r\niso'\n"}}
The exact some upload requests (multipart/form-data with content=iso in one part and the file data in the other)
worked for PVE 7.1 and earlier.
Any ideas what is going on?
I have looked into the code and it seems the 'invalid content type' error message is not about the 'Content-Type' header, but the data received which should be just 'iso' but includes the headers for some reason.