Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ public enum HttpMethod
/// <summary>
/// Http DELETE.
/// </summary>
DELETE
DELETE,

/// <summary>
/// Http HEAD.
/// </summary>
HEAD
}

/// <summary>
Expand Down Expand Up @@ -315,7 +320,8 @@ public enum HttpMethod
}

break;
case HttpMethod.DELETE:
case HttpMethod.DELETE:
case HttpMethod.HEAD:
response = await client.SendAsync(request, cancellationToken).ConfigureAwait(false);
break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"POST",
"PATCH",
"PUT",
"DELETE"
"DELETE",
"HEAD"
],
"examples": [
"GET",
Expand Down
6 changes: 4 additions & 2 deletions tests/Microsoft.Bot.Builder.TestBot.Json/testbot.schema
Original file line number Diff line number Diff line change
Expand Up @@ -3607,7 +3607,8 @@
"POST",
"PATCH",
"PUT",
"DELETE"
"DELETE",
"HEAD"
],
"examples": [
"GET",
Expand Down Expand Up @@ -9216,7 +9217,8 @@
"POST",
"PATCH",
"PUT",
"DELETE"
"DELETE",
"HEAD"
],
"examples": [
"GET",
Expand Down
3 changes: 2 additions & 1 deletion tests/tests.schema
Original file line number Diff line number Diff line change
Expand Up @@ -3868,7 +3868,8 @@
"POST",
"PATCH",
"PUT",
"DELETE"
"DELETE",
"HEAD"
],
"examples": [
"GET",
Expand Down