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

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

#1 change makefile to leave test execution file

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