Hello, community. The situation is as follows. With an ajax request, the response from the server comes in at least 2 lines, where the first line is always a colon ":". I tried to find an answer in the Internet but found nothing similar. Maybe I didn’t get it ... Why is this happening and what can it be connected with? How to be treated? On the local machine, the answers come in normally, i.e. without colons.
PHP 7.0.30, nginx 1.10.3
mail.php. Learn server code. - Maxim K