Share via


FormOptions.MultipartHeadersLengthLimit Property

Definition

A limit for the total length of the header keys and values in each multipart section. Form sections that exceed this limit will throw an InvalidDataException when parsed. Defaults to 16,384 bytes, which is approximately 16KB.

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

Property Value

Applies to