Gets or sets a value indicating whether data padding is enabled when message size is smaller than ContentLength.
[Visual Basic]
Public Property StrictContentLength As Boolean[C#]
public bool StrictContentLength {get; set;}true, if data padding is enabled; otherwise, false. The default value is true.
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.
HttpOptions Class | HttpOptions Members
© 2002 - 2008 Devart. All Rights Reserved.