Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit a91444e

Browse files
author
Cesar Blum Silveira
committed
Revert change to HttpRequest.
1 parent b8ea4e4 commit a91444e

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/Microsoft.AspNetCore.Http.Abstractions/HttpRequest.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,6 @@ public abstract class HttpRequest
6565
/// <returns>The query value collection parsed from Request.QueryString.</returns>
6666
public abstract IQueryCollection Query { get; set; }
6767

68-
/// <summary>
69-
/// Gets the request target as it was sent in the HTTP request. This property contains the
70-
/// escaped path and full query, as well as other request targets such as * for OPTIONS
71-
/// requests (https://tools.ietf.org/html/rfc7230#section-5.3).
72-
/// </summary>
73-
/// <remarks>
74-
/// This property is not used internally for routing or authorization decisions. It has not
75-
/// been UrlDecoded and care should be taken in its use.
76-
/// </remarks>
77-
/// <returns>The raw request target.</returns>
78-
public abstract string RawTarget { get; set; }
79-
8068
/// <summary>
8169
/// Gets or set the RequestProtocol.
8270
/// </summary>

src/Microsoft.AspNetCore.Http/Internal/DefaultHttpRequest.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ public override IQueryCollection Query
112112
set { QueryFeature.Query = value; }
113113
}
114114

115-
public override string RawTarget
116-
{
117-
get { return HttpRequestFeature.RawTarget; }
118-
set { HttpRequestFeature.RawTarget = value; }
119-
}
120-
121115
public override string Protocol
122116
{
123117
get { return HttpRequestFeature.Protocol; }

0 commit comments

Comments
 (0)