diff Core/HttpServer/HttpOutput.cpp @ 1645:1558b3226b18

IHttpExceptionFormatter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Sep 2015 15:55:17 +0200
parents d73124f6b439
children b7da58699f92
line wrap: on
line diff
--- a/Core/HttpServer/HttpOutput.cpp	Wed Sep 23 22:05:27 2015 +0200
+++ b/Core/HttpServer/HttpOutput.cpp	Thu Sep 24 15:55:17 2015 +0200
@@ -302,15 +302,7 @@
     
     stateMachine_.ClearHeaders();
     stateMachine_.SetHttpStatus(status);
-
-    if (describeErrors_)
-    {
-      stateMachine_.SendBody(message, messageSize);
-    }
-    else
-    {
-      stateMachine_.SendBody(NULL, 0);
-    }
+    stateMachine_.SendBody(message, messageSize);
   }