dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnectionStringBuilder Class / HttpStrictContentLength Property

In This Topic
    HttpStrictContentLength 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 HttpStrictContentLength As Boolean
    public bool HttpStrictContentLength {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. This feature is not available in Mobile edition.
    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