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.
    See Also