URLEncode property



Indicates whether URL encoding is set.

Syntax

Set:     Gateway.setURLEncode(setting)
Get: setting = Gateway.getURLEncode()

Applies to

Gateway class.

Data type

Boolean. The encoding setting. Valid values are "True" to enable URL encoding and "False" to disable URL encoding.

Usage

If URL encoding is enbled, data is URL-encoded before sending (i.e., the outgoing MIME type is application/x-www-form-urlencoded). Without this parameter, data is sent in raw text form (MIME type text/plain). The usage of this parameter despends on the destination CGI program.

Example
URLEncode property example

See also
CGI gateway applet