Skip to content

Commit b74c19d

Browse files
author
claudiamurialdo
committed
Fix build error ASP0019: Use IHeaderDictionary.Append or the indexer to append or set headers
1 parent 4f9e34a commit b74c19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/test/DotNetCoreChunkedTest/ChunkedServiceTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void Configure(IApplicationBuilder app)
7979

8080
app.Run(async context =>
8181
{
82-
context.Response.Headers.Add(HttpHeader.TRANSFER_ENCODING, "chunked");
82+
context.Response.Headers.Append(HttpHeader.TRANSFER_ENCODING, "chunked");
8383

8484
var responseStream = context.Response.Body;
8585

0 commit comments

Comments
 (0)