Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 7331482

Browse files
committed
test fix
1 parent c10caf8 commit 7331482

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ public void SetResponseBodyString(string body)
469469
/// <param name="html">HTML content to sent.</param>
470470
/// <param name="headers">HTTP response headers.</param>
471471
/// <param name="closeServerConnection">Close the server connection used by request if any?</param>
472-
public void Ok(string html, IDictionary<string, HttpHeader>? headers = null,
472+
public void Ok(string html, IDictionary<string, HttpHeader>? headers,
473473
bool closeServerConnection = false)
474474
{
475475
Ok(html, headers?.Values, closeServerConnection);
@@ -504,7 +504,7 @@ public void Ok(string html, IEnumerable<HttpHeader>? headers = null,
504504
/// <param name="result">The html content bytes.</param>
505505
/// <param name="headers">The HTTP headers.</param>
506506
/// <param name="closeServerConnection">Close the server connection used by request if any?</param>
507-
public void Ok(byte[] result, IDictionary<string, HttpHeader>? headers = null,
507+
public void Ok(byte[] result, IDictionary<string, HttpHeader>? headers,
508508
bool closeServerConnection = false)
509509
{
510510
Ok(result, headers?.Values, closeServerConnection);
@@ -538,7 +538,7 @@ public void Ok(byte[] result, IEnumerable<HttpHeader>? headers = null,
538538
/// <param name="headers">The HTTP headers.</param>
539539
/// <param name="closeServerConnection">Close the server connection used by request if any?</param>
540540
public void GenericResponse(string html, HttpStatusCode status,
541-
IDictionary<string, HttpHeader>? headers = null, bool closeServerConnection = false)
541+
IDictionary<string, HttpHeader>? headers, bool closeServerConnection = false)
542542
{
543543
GenericResponse(html, status, headers?.Values, closeServerConnection);
544544
}

0 commit comments

Comments
 (0)