[PR #951] [MERGED] Allow setting the Content-Length header for a HTTP method HEAD #1167

Closed
opened 2025-12-29 09:18:45 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/951
Author: @StefH
Created: 6/6/2023
Status: Merged
Merged: 6/6/2023
Merged by: @StefH

Base: masterHead: stef-950-ContentLength_Header


📝 Commits (2)

  • d0cfa91 Allow setting the Content-Length header for a HTTP method HEAD
  • 9759522 .

📊 Changes

2 files changed (+46 additions, -1 deletions)

View changed files

📝 src/WireMock.Net/Http/HttpRequestMessageHelper.cs (+19 -1)
📝 test/WireMock.Net.Tests/Http/HttpRequestMessageHelperTests.cs (+27 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/wiremock/WireMock.Net/pull/951 **Author:** [@StefH](https://github.com/StefH) **Created:** 6/6/2023 **Status:** ✅ Merged **Merged:** 6/6/2023 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `stef-950-ContentLength_Header` --- ### 📝 Commits (2) - [`d0cfa91`](https://github.com/wiremock/WireMock.Net/commit/d0cfa91fe7408aa864ad034ecf2ac1adb737f914) Allow setting the Content-Length header for a HTTP method HEAD - [`9759522`](https://github.com/wiremock/WireMock.Net/commit/9759522fb15cf672f2a885099db3adaf816270d9) . ### 📊 Changes **2 files changed** (+46 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net/Http/HttpRequestMessageHelper.cs` (+19 -1) 📝 `test/WireMock.Net.Tests/Http/HttpRequestMessageHelperTests.cs` (+27 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 09:18:45 +01:00
adam closed this issue 2025-12-29 09:18:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#1167