Skip to content

Commit d32f74c

Browse files
committed
Fix warnings
1 parent 40aca03 commit d32f74c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

projects/uri-helper/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
`UriHelper.BuildAbsolute` combines the given URI components into a string that is properly encoded for use in HTTP headers. This sample
2424
shows 9 ways on how to use it.
2525

26-
dotnet6
26+
dotnet8

projects/uri-helper/uri-helper-get-encoded-path-and-query/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
app.Run(context =>
66
{
7-
context.Response.Headers.Add("Content-Type", "text/html");
7+
context.Response.Headers.Append("Content-Type", "text/html");
88

99
var requestUrl = context.Request.GetEncodedPathAndQuery();
1010
return context.Response.WriteAsync($@"<html>

projects/uri-helper/uri-helper-get-encoded-url/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
app.Run(context =>
66
{
7-
context.Response.Headers.Add("Content-Type", "text/html");
7+
context.Response.Headers.Append("Content-Type", "text/html");
88
return context.Response.WriteAsync($@"<html>
99
<body>
1010
<h1>Get Encoded Url</h1>

0 commit comments

Comments
 (0)