]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/io/HttpHeader_p.h
Fixed: const-related typo in last commit
[bamtools.git] / src / api / internal / io / HttpHeader_p.h
index 764ff633e0368508b1e92c75fbcfd479cb4b2d8a..7a50ff935d04b104d2f2114e588e116690b7310c 100644 (file)
@@ -1,6 +1,26 @@
+// ***************************************************************************
+// HttpHeader_p.h (c) 2011 Derek Barnett
+// Marth Lab, Department of Biology, Boston College
+// ---------------------------------------------------------------------------
+// Last modified: 13 January 2012 (DB)
+// ---------------------------------------------------------------------------
+// Provides a generic interface for parsing/generating HTTP headers, along
+// with specialized request & response header types
+// ***************************************************************************
+
 #ifndef HTTP_HEADER_P_H
 #define HTTP_HEADER_P_H
 
+//  -------------
+//  W A R N I N G
+//  -------------
+//
+// This file is not part of the BamTools API.  It exists purely as an
+// implementation detail. This header file may change from version to version
+// without notice, or even be removed.
+//
+// We mean it.
+
 #include "api/api_global.h"
 #include <map>
 #include <string>
@@ -21,7 +41,7 @@ class HttpHeader {
 
         // header field=>value access
         bool ContainsKey(const std::string& key) const;
-        std::string GetValue(const std::string& key) const;
+        std::string GetValue(const std::string& key);
         void RemoveField(const std::string& key);
         void SetField(const std::string& key, const std::string& value);