From 3918f8555f717595b4570869b2d7fdf64accb3f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AC=9D=E8=87=B4=E9=82=A6=20=28XIE=20Zhibang=29?= Date: Sun, 17 Apr 2016 14:19:00 +0800 Subject: [PATCH] Update ph7_cgi.c --- examples/ph7_cgi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ph7_cgi.c b/examples/ph7_cgi.c index f05a887..14447e1 100644 --- a/examples/ph7_cgi.c +++ b/examples/ph7_cgi.c @@ -15,8 +15,8 @@ static void CgiHeader() { - puts("X-Powered-By: " PH7_SIG); - puts("Content-type: text/html; charset=UTF-8\n"); + puts("X-Powered-By: " PH7_SIG "\r"); + puts("Content-type: text/html; charset=UTF-8\r\n\r"); } /* * Display an error message and exit.