[PR #1158] [MERGED] Allow setting Content-Length header on the response #1257

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

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/1158
Author: @StefH
Created: 8/16/2024
Status: Merged
Merged: 8/16/2024
Merged by: @StefH

Base: masterHead: feature/720-ContentLength


📝 Commits (2)

  • da80619 Allow setting Content-Length header on the response
  • e72a2bc fix?

📊 Changes

5 files changed (+299 additions, -277 deletions)

View changed files

📝 examples/WireMock.Net.Console.Net452.Classic/MainApp.cs (+9 -12)
📝 src/WireMock.Net/Http/HttpKnownHeaderNames.cs (+2 -2)
📝 src/WireMock.Net/Owin/Mappers/OwinResponseMapper.cs (+29 -24)
📝 test/WireMock.Net.Tests/Owin/Mappers/OwinResponseMapperTests.cs (+237 -238)
📝 test/WireMock.Net.Tests/WireMockServerTests.cs (+22 -1)

📄 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/1158 **Author:** [@StefH](https://github.com/StefH) **Created:** 8/16/2024 **Status:** ✅ Merged **Merged:** 8/16/2024 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `feature/720-ContentLength` --- ### 📝 Commits (2) - [`da80619`](https://github.com/wiremock/WireMock.Net/commit/da806191cbc863705825378c11d42999980462fa) Allow setting Content-Length header on the response - [`e72a2bc`](https://github.com/wiremock/WireMock.Net/commit/e72a2bc1466ded3f9801fb7a2447454a8a3483e7) fix? ### 📊 Changes **5 files changed** (+299 additions, -277 deletions) <details> <summary>View changed files</summary> 📝 `examples/WireMock.Net.Console.Net452.Classic/MainApp.cs` (+9 -12) 📝 `src/WireMock.Net/Http/HttpKnownHeaderNames.cs` (+2 -2) 📝 `src/WireMock.Net/Owin/Mappers/OwinResponseMapper.cs` (+29 -24) 📝 `test/WireMock.Net.Tests/Owin/Mappers/OwinResponseMapperTests.cs` (+237 -238) 📝 `test/WireMock.Net.Tests/WireMockServerTests.cs` (+22 -1) </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:19:04 +01:00
adam closed this issue 2025-12-29 09:19:04 +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#1257