System.Net.HttpStatusCode.SeeOther Field

Equivalent to HTTP status 303. HttpStatusCode.SeeOther automatically redirects the client to the URI specified in the Location header as the result of a POST. The request to the resource specified by the Location header will be made with a GET.

Value: RedirectMethod

Syntax

HttpStatusCode SeeOther

Remarks

If the HttpWebRequest.AllowAutoRedirect property is false, HttpStatusCode.SeeOther will cause an exception to be thrown.

HttpStatusCode.SeeOther is a synonym for HttpStatusCode.RedirectMethod.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0