HttpRequest

The HttpRequest object (Request) enables ASP.NET applications to read HTTP values sent by a client during a Web request. ASP.NET adds more than 25 new methods and properties. Some new functionality includes file uploading support, text and stream writer support, filter stream support, and write file support. Tables C.2 and C.3 show some of the new Request object's properties and methods.

Table C.2. New HttpRequest Properties
Property Description
AcceptTypes Returns an array of the MIME types the client accepts
ApplicationPath Returns the application's virtual path
Browser Returns an HttpBrowserCapabilities object for gathering information about the client's browser
ContentEncoding Returns the client's encoding type
ContentType Returns ...

Get Building e-Commerce Sites with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.