source: cheroxy/trunk/src/CRXHttpHeader.cpp@ 46

Last change on this file since 46 was 46, checked in by cheese, 11 years ago

#1 rename http message to http header and change way to process response content as binary

File size: 999 bytes
Line 
1/**
2 * CRXHttpHeader.cpp
3 */
4#ifdef _WIN32
5# pragma warning (disable:4996)
6#endif
7
8#include "CRXHttpHeader.h"
9
10CRXHttpHeader::CRXHttpHeader (void)
11{
12 /*----------------------------------------------------------------*/
13 /*----------------------------------------------------------------*/
14}
15
16CRXHttpHeader::~CRXHttpHeader (void)
17{
18 /*----------------------------------------------------------------*/
19 /*----------------------------------------------------------------*/
20}
21
22void
23CRXHttpHeader::Set (const char * aHeader)
24{
25 /*----------------------------------------------------------------*/
26 if (aHeader == NULL)
27 return ;
28
29 mHttpHeader.assign (aHeader);
30
31 this->Parse ();
32 /*----------------------------------------------------------------*/
33}
34
35std::string
36CRXHttpHeader::Get (void) const
37{
38 /*----------------------------------------------------------------*/
39 /*----------------------------------------------------------------*/
40
41 return mHttpHeader;
42}
Note: See TracBrowser for help on using the repository browser.