diff options
author | Muxi Yan <muxi@users.noreply.github.com> | 2017-08-04 15:30:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-04 15:30:57 -0700 |
commit | f6f12de88a783c5c1f41b7549c41a11a771e43fb (patch) | |
tree | 5cca791fb75ce39191b5e1534caed3719f20b87d /src/objective-c/GRPCClient/private | |
parent | 1fb3b669f957c02b32ce0b967f391493b81808f5 (diff) |
Revert "Add OAuth2 protocol in GRPCClient"
Diffstat (limited to 'src/objective-c/GRPCClient/private')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCRequestHeaders.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCRequestHeaders.m b/src/objective-c/GRPCClient/private/GRPCRequestHeaders.m index 5de1d8fff5..7640a64d6d 100644 --- a/src/objective-c/GRPCClient/private/GRPCRequestHeaders.m +++ b/src/objective-c/GRPCClient/private/GRPCRequestHeaders.m @@ -103,6 +103,7 @@ static void CheckKeyValuePairIsValid(NSString *key, id value) { } - (void)setObject:(id)obj forKey:(NSString *)key { + [self checkCallIsNotStarted]; CheckIsNonNilASCII(@"Header name", key); key = key.lowercaseString; CheckKeyValuePairIsValid(key, obj); |