HttpRequestExtensions.GetHttpMethodOverride Method (HttpRequestBase)

 

Retrieves the HTTP data-transfer method override that was used by the client.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public static string GetHttpMethodOverride(
	this HttpRequestBase request
)

Parameters

request
Type: System.Web.HttpRequestBase

An object that contains the HTTP values that were sent by a client during a Web request.

Return Value

Type: System.String

The HTTP data-transfer method override that was used by the client.

Exception Condition
ArgumentNullException

The request parameter is null.

NotImplementedException

The HTTP data-transfer method override was not implemented.

Return to top
Show: