dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHttpOptions Class / StrictContentLength Property

In This Topic
    StrictContentLength Property
    In This Topic
    Gets or sets a value indicating whether data padding is enabled when message size is smaller than Devart.Common.HttpOptions.ContentLength.
    Syntax
    'Declaration
     
    Public Property StrictContentLength As Boolean
    public bool StrictContentLength {get; set;}

    Property Value

    true, if data padding is enabled; otherwise, false. The default value is true.
    Remarks
    Some firewalls require message body size to be equal to the Content-Length HTTP header parameter. The property must be set to true for compatibility with such firewalls.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also