mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
[PR #62] [MERGED] Add the Host, Protocol, Port and Origin to the Request message so they can be used in templating #752
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/62
Author: @alastairtree
Created: 11/17/2017
Status: ✅ Merged
Merged: 11/18/2017
Merged by: @StefH
Base:
master← Head:feat/add-origin-host-port-and-protocol-to-request-templating📝 Commits (3)
df744fdfeat: Add the Host, Protocol Port and Origin to the Request message0382e4esource code file reformatcb056cbappveyor📊 Changes
3 files changed (+189 additions, -146 deletions)
View changed files
📝
appveyor.yml(+1 -1)📝
src/WireMock.Net/RequestMessage.cs(+169 -145)📝
test/WireMock.Net.Tests/ResponseTests.Handlebars.cs(+19 -0)📄 Description
Hi
I needed to be able to template responses based on more granular information than was already available in the request object so have added some calculated fields and supporting test. Would you be interested in accepting it back?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.