mirror of https://github.com/grpc/grpc-dart.git
Merge a25aa7edf7
into 0f86517606
This commit is contained in:
commit
84ad566be2
|
@ -364,7 +364,7 @@ class ServerHandler extends ServiceCall {
|
|||
};
|
||||
|
||||
outgoingHeadersMap.addAll(_customHeaders!);
|
||||
_customHeaders = null;
|
||||
_customHeaders = <String, String>{};
|
||||
|
||||
final outgoingHeaders = <Header>[];
|
||||
outgoingHeadersMap.forEach(
|
||||
|
@ -393,7 +393,7 @@ class ServerHandler extends ServiceCall {
|
|||
..remove(':status')
|
||||
..remove('content-type');
|
||||
outgoingTrailersMap.addAll(_customHeaders!);
|
||||
_customHeaders = null;
|
||||
_customHeaders = <String, String>{};
|
||||
_headersSent = true;
|
||||
}
|
||||
_customTrailers!
|
||||
|
|
Loading…
Reference in New Issue