ContentType Property

Content type for posts and puts.

Object Oriented Interface

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

Procedural Interface

ipworks_atom_get($res, 32 );
ipworks_atom_set($res, 32, $value );

Default Value

'application/atom+xml'

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 PostResource or PutResource to the server.

This property is not available at design time.

Data Type

String

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