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

IHttpExceptionFormatter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Sep 2015 15:55:17 +0200
parents d73124f6b439
children 5cf2bd0abfa2
line wrap: on
line diff
--- a/Core/HttpServer/HttpOutput.h	Wed Sep 23 22:05:27 2015 +0200
+++ b/Core/HttpServer/HttpOutput.h	Thu Sep 24 15:55:17 2015 +0200
@@ -114,7 +114,6 @@
     StateMachine stateMachine_;
     bool         isDeflateAllowed_;
     bool         isGzipAllowed_;
-    bool         describeErrors_;
 
     HttpCompression GetPreferredCompression(size_t bodySize) const;
 
@@ -123,8 +122,7 @@
                bool isKeepAlive) : 
       stateMachine_(stream, isKeepAlive),
       isDeflateAllowed_(false),
-      isGzipAllowed_(false),
-      describeErrors_(true)
+      isGzipAllowed_(false)
     {
     }
 
@@ -148,16 +146,6 @@
       return isGzipAllowed_;
     }
 
-    void SetDescribeErrorsEnabled(bool enabled)
-    {
-      describeErrors_ = enabled;
-    }
-
-    bool IsDescribeErrorsEnabled() const
-    {
-      return describeErrors_;      
-    }
-
     void SendStatus(HttpStatus status,
 		    const char* message,
 		    size_t messageSize);