Fixed support for non-HTTP-compliant devices pulling HTTP TS output
This commit is contained in:
parent
bfa9882e8c
commit
6816b6074c
3 changed files with 9 additions and 1 deletions
|
@ -334,6 +334,10 @@ void HTTP::Parser::SetHeader(std::string i, std::string v) {
|
|||
headers[i] = v;
|
||||
}
|
||||
|
||||
void HTTP::Parser::clearHeader(const std::string & i){
|
||||
headers.erase(i);
|
||||
}
|
||||
|
||||
/// Sets header i to integer value v.
|
||||
void HTTP::Parser::SetHeader(std::string i, long long v) {
|
||||
Trim(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue