X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=main%2Fmanager.c;h=f69f3fad8d27b856085d5b99287fb64fc1b3e4d9;hp=1b0ce8897f29952c947d9a95c1af9421f78bdee2;hb=254092f8f6fb1567d54b730a12398667bf3577de;hpb=0d66e03bf43aee53d6d4bf2e0002e3a1f45bb3ae diff --git a/main/manager.c b/main/manager.c index 1b0ce88..f69f3fa 100644 --- a/main/manager.c +++ b/main/manager.c @@ -5852,7 +5852,7 @@ static int auth_http_callback(struct ast_tcptls_session_instance *ser, goto auth_callback_out; } - ast_str_append(&http_header, 0, "Content-type: text/%s", contenttype[format]); + ast_str_append(&http_header, 0, "Content-type: text/%s\r\n", contenttype[format]); if (format == FORMAT_XML) { ast_str_append(&out, 0, "\n");