refactor: more extensible Content-Type header handling
This fixes the PHP Notice when $headers['Content-Type'] is unset. It also allows for easier extension later, e.g. adding handling for a JSON content-type.
Loading
Please register or sign in to comment