Adding HTTP request headers manipulation tests.
This commit is contained in:
parent
4eb9fc1bb6
commit
b731ca50bc
2 changed files with 187 additions and 13 deletions
|
@ -91,7 +91,7 @@ URLRequest::StateBase<Flags>::StateBase(Flags initialState)
|
|||
|
||||
template <typename Flags>
|
||||
void URLRequest::StateBase<Flags>::SetFlag(Flags flag) {
|
||||
state_ = static_cast<Flags>(static_cast<int>(state_) &
|
||||
state_ = static_cast<Flags>(static_cast<int>(state_) |
|
||||
static_cast<int>(flag));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue