Backported various little edits from Pro edition.
This commit is contained in:
parent
ef9938da0c
commit
4c9c6fa7ba
78 changed files with 2334 additions and 1266 deletions
|
@ -19,6 +19,7 @@ namespace HTTP {
|
|||
std::string GetHeader(std::string i);
|
||||
std::string GetVar(std::string i);
|
||||
std::string getUrl();
|
||||
std::string allVars();
|
||||
void SetHeader(std::string i, std::string v);
|
||||
void SetHeader(std::string i, long long v);
|
||||
void setCORSHeaders();
|
||||
|
@ -44,11 +45,13 @@ namespace HTTP {
|
|||
unsigned int length;
|
||||
bool headerOnly; ///< If true, do not parse body if the length is a known size.
|
||||
bool bufferChunks;
|
||||
//this bool was private
|
||||
bool sendingChunks;
|
||||
|
||||
private:
|
||||
bool seenHeaders;
|
||||
bool seenReq;
|
||||
bool getChunks;
|
||||
bool sendingChunks;
|
||||
unsigned int doingChunk;
|
||||
bool parse(std::string & HTTPbuffer);
|
||||
void parseVars(std::string data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue