Index: manager.c =================================================================== --- manager.c (revision 33263) +++ manager.c (working copy) @@ -2204,7 +2222,7 @@ memset(&m, 0, sizeof(m)); if (s) { char tmp[80]; - ast_build_string(&c, &len, "Content-type: text/%s\n", contenttype[format]); + ast_build_string(&c, &len, "Content-type: text/%s\r\n", contenttype[format]); sprintf(tmp, "%08lx", s->managerid); ast_build_string(&c, &len, "%s\r\n", ast_http_setcookie("mansession_id", tmp, httptimeout, cookie, sizeof(cookie))); if (format == FORMAT_HTML)