IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

ContentType Property

Content type for posts and puts.

Object Oriented Interface

public function getContentType();
public function setContentType($value);

Procedural Interface

ipworks_http_get($res, 7 );
ipworks_http_set($res, 7, $value );

Default Value

''

Remarks

If this property contains a non-empty string, a Content-Type HTTP request header is added to the request. The purpose of the header is to show the contents of the data during a Post or Put to the server.

The most common example is posting of HTML form input data. In that case, this property must be set to "application/x-www-form-urlencoded".

This property is not available at design time.

Data Type

String

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0