Edit

Bagikan melalui


WinHttpHandler.MaxResponseHeadersLength Property

Definition

Gets or sets the maximum size of the header portion from the server response in bytes.

public:
 property int MaxResponseHeadersLength { int get(); void set(int value); };
public int MaxResponseHeadersLength { get; set; }
member this.MaxResponseHeadersLength : int with get, set
Public Property MaxResponseHeadersLength As Integer

Property Value

The maximum size of the header portion from the server response in bytes.

Remarks

This property protects the client from an unauthorized server attempting to stall the client by sending a response with an infinite amount of header data. The default value for this property is 65536.

Applies to