HttpWebRequestElement::MaximumResponseHeadersLength Property
.NET Framework (current version)
Gets or sets the maximum allowed length of the response headers.
Assembly: System (in System.dll)
public: [ConfigurationPropertyAttribute("maximumResponseHeadersLength", DefaultValue = 64)] property int MaximumResponseHeadersLength { int get(); void set(int value); }
Property Value
Type: System::Int32A 32-bit signed integer containing the maximum length in kilobytes (1024 bytes) of the response headers. The default value is 64.
The length is measured in kilobytes (1024 bytes) and it includes the response status line and the response headers, as well as all extra control characters received as part of the HTTP protocol.
A value of -1 means no limit is imposed on the response headers; a value of 0 means that all requests will fail.
.NET Framework
Available since 2.0
Available since 2.0
Show: