From bd62b5077a9a7e693f2c07ddae881d95e84b0e0f Mon Sep 17 00:00:00 2001 From: Ivo Nascimento Date: Tue, 29 Jul 2014 21:16:48 -0300 Subject: [PATCH] FIX Continue Header line breaker closereactphp/react#308 --- src/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Response.php b/src/Response.php index 13b22211..36e375fc 100644 --- a/src/Response.php +++ b/src/Response.php @@ -43,7 +43,7 @@ public function writeContinue() throw new \Exception('Response head has already been written.'); } - $this->conn->write("HTTP/1.1 100 Continue\r\n"); + $this->conn->write("HTTP/1.1 100 Continue\r\n\r\n"); } public function writeHead($status = 200, array $headers = array())