This commit is contained in:
hiro-at-pieces 2025-09-02 13:58:43 +00:00 committed by GitHub
commit 84ad566be2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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!