Export (0) Print
Expand All

HttpRequest::InsertEntityBody Method

Provides IIS with a copy of the HTTP request entity body.

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

void InsertEntityBody()


The method was invoked on a version of IIS earlier than IIS 7.0.

IIS does not maintain a copy of the request after it has been read. Therefore, it is recommended that only the handler for an HTTP request should read the request entity.

The HttpRequest::InsertEntityBody method overload provides IIS with a copy of the request entity if it was previously read by ASP.NET. This method overload is useful for cases where ASP.NET has read the entity request and you want to reuse the existing request data.

.NET Framework

Supported in: 4.6, 4.5, 4

© 2015 Microsoft