That's a header the client sends to a server to indicate which formats it would like in the response to it's requests, and not relevant to the problem.
Rule of least astonishment would be that the file is converted unless the accept header lists the heif file. At least by the expectations Apple set up, which don’t match up with standards.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ac...