[PR #302] [MERGED] Fixed bug 301 by not setting BodyAsFile to null after first use #845

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

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/302
Author: @rwwilden
Created: 7/22/2019
Status: Merged
Merged: 7/22/2019
Merged by: @StefH

Base: masterHead: bugfix/issue-301


📝 Commits (3)

  • 3058dae Fixed bug 301 by not setting BodyAsFile to null after first use
  • 99bf3cb Added extra unit test
  • 2e1a207 1.0.24.0

📊 Changes

4 files changed (+8 additions, -5 deletions)

View changed files

📝 Directory.Build.props (+1 -1)
📝 GitHubReleaseNotes.txt (+1 -1)
📝 src/WireMock.Net/ResponseBuilders/Response.cs (+0 -1)
📝 test/WireMock.Net.Tests/ResponseBuilders/ResponseWithBodyFromFileTests.cs (+6 -2)

📄 Description

#301


🔄 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/302 **Author:** [@rwwilden](https://github.com/rwwilden) **Created:** 7/22/2019 **Status:** ✅ Merged **Merged:** 7/22/2019 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `bugfix/issue-301` --- ### 📝 Commits (3) - [`3058dae`](https://github.com/wiremock/WireMock.Net/commit/3058dae83babeb247fc568b384ed05a5abb4c8f5) Fixed bug 301 by not setting BodyAsFile to null after first use - [`99bf3cb`](https://github.com/wiremock/WireMock.Net/commit/99bf3cb7700f7607bc341e9681d52268bc4c6152) Added extra unit test - [`2e1a207`](https://github.com/wiremock/WireMock.Net/commit/2e1a207443041370bc2dfd720c83cb10b32cec02) 1.0.24.0 ### 📊 Changes **4 files changed** (+8 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `Directory.Build.props` (+1 -1) 📝 `GitHubReleaseNotes.txt` (+1 -1) 📝 `src/WireMock.Net/ResponseBuilders/Response.cs` (+0 -1) 📝 `test/WireMock.Net.Tests/ResponseBuilders/ResponseWithBodyFromFileTests.cs` (+6 -2) </details> ### 📄 Description #301 --- <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 08:33:45 +01:00
adam closed this issue 2025-12-29 08:33: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#845