Skip to content

Commit 0d704a0

Browse files
committed
Fix warnings
1 parent fe4dd6a commit 0d704a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/syndications/syndication-1/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
str.Append("</ul>");
3737

38-
context.Response.Headers.Add("Content-Type", "text/html");
38+
context.Response.Headers.Append("Content-Type", "text/html");
3939
await context.Response.WriteAsync($@"
4040
<html>
4141
<head>

projects/syndications/syndication-2/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
}
5252
str.Append("</ul>");
5353

54-
context.Response.Headers.Add("Content-Type", "text/html");
54+
context.Response.Headers.Append("Content-Type", "text/html");
5555
await context.Response.WriteAsync($@"
5656
<html>
5757
<head>

0 commit comments

Comments
 (0)