Added QHttpHeader class.

Added QHttpHeader class.

error: pathspec 'src/core/qhttpheader.h' did not match any file(s) known to git

--- src/core/qhttpheader.h
+++ src/core/qhttpheader.h
@@ -0,0 +1,51 @@
+/**
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2015 Nathan Osman
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#ifndef QHTTPENGINE_QHTTPHEADER_H
+#define QHTTPENGINE_QHTTPHEADER_H
+
+#include "config.h"
+
+/**
+ * @brief Single HTTP header
+ *
+ * This class encapsulates a single HTTP header, including its name and value.
+ */
+class QHTTPENGINE_EXPORT QHttpHeader
+{
+public:
+
+    /**
+     * @brief Create a header from the specified values
+     */
+    QHttpHeader(const QByteArray &name, const QByteArray &value)
+        : name(name),
+          value(value)
+    {}
+
+    const QByteArray name;
+    const QByteArray value;
+};
+
+#endif // QHTTPENGINE_QHTTPHEADER_H


STYLE: Stick to the ITK style guidelines.

Stick to the ITK style guidelines:
- Make the braces of control statements dwell on a line of their own.
- Use the this keyword to call self/member methods.

https://itk.org/ItkSoftwareGuide.pdf

Following the comment to the commit by Niels Dekker in:
https://github.com/Kitware/ITK/commit/ae249c9963b87ae065a00d7ddf3cf96c4c69e2ae#commitcomment-28859014

Change-Id: Ie5bf70b263ae6686abb425963848d4cbc046ccd8

--- Modules/Core/Common/include/itkNeighborhoodAllocator.h
+++ Modules/Core/Common/include/itkNeighborhoodAllocator.h
@@ -115,7 +115,10 @@
   {
     if (n != m_ElementCount)
       {
-      if ( m_Data ) { Deallocate(); }
+      if ( m_Data )
+        {
+        this->Deallocate();
+        }
       this->Allocate(n);
       }
   }