form_var_content_type Property

This property specifies the Content-Type header for a Form Variable.

Syntax

def get_form_var_content_type(var_index: int) -> str: ...
def set_form_var_content_type(var_index: int, value: str) -> None: ...

Default Value

""

Remarks

This property specifies the Content-Type header for a Form Variable.

When a form variable is added to the class, the Content-Type header for the form variable can be controlled by this property. To omit the Content-Type header completely for a form variable set this to empty string.

The default value is "text/plain".

The var_index parameter specifies the index of the item in the array. The size of the array is controlled by the form_var_count property.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]