HttpRequestFeature.RawTarget Property

Definition

Gets or sets the request target as it was sent in the HTTP request.

This property contains the raw path and full query, as well as other request targets such as * for OPTIONS requests (https://tools.ietf.org/html/rfc7230#section-5.3).

C#
public string RawTarget { get; set; }

Property Value

Implements

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0