diff options
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs b/src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs index f611552..be89ebb 100644 --- a/src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs +++ b/src/DotNetOpenAuth.Test/Mocks/CoordinatingHttpRequestInfo.cs @@ -39,7 +39,10 @@ namespace DotNetOpenAuth.Test.Mocks { /// </summary> /// <param name="recipient">The recipient.</param> internal CoordinatingHttpRequestInfo(MessageReceivingEndpoint recipient) { - this.recipient = recipient; + this.recipient = recipient;
+ if (recipient != null) {
+ this.Url = recipient.Location;
+ } if (recipient == null || (recipient.AllowedMethods & HttpDeliveryMethods.GetRequest) != 0) { this.HttpMethod = "GET"; |