X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fapi%2Finternal%2Fio%2FHttpHeader_p.h;h=7a50ff935d04b104d2f2114e588e116690b7310c;hb=1dd0e1cb8a8557dfb463bf4323f121614cb6fcb2;hp=764ff633e0368508b1e92c75fbcfd479cb4b2d8a;hpb=8e8ed0f0d520fa4d240ab98bd7cc0b0933777fdb;p=bamtools.git diff --git a/src/api/internal/io/HttpHeader_p.h b/src/api/internal/io/HttpHeader_p.h index 764ff63..7a50ff9 100644 --- a/src/api/internal/io/HttpHeader_p.h +++ b/src/api/internal/io/HttpHeader_p.h @@ -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 #include @@ -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);