o97doge This seems to be fixed! Many thanks to the DreamHost team for having such helpful support.
Everything I know so far:
- The issue doesn't happen when the server software is run locally.
- It could either be a configuration error or a DreamHost limitation.
I've sent a ticket to DreamHost (the server provider), and I'll document the chat here.