mirror of
https://github.com/electron/electron.git
synced 2026-02-14 00:55:19 -05:00
Adding HTTP request headers manipulation tests.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user