Accept Property

A list of acceptable MIME types for the request.

Object Oriented Interface

public function getAccept();
public function setAccept($value);

Procedural Interface

ipworks_webdav_get($res, 1 );
ipworks_webdav_set($res, 1, $value );

Default Value



If this property contains a non-empty string, an HTTP Accept header is added to the request.

The Accept header is used for content negotiation. It provides the server with a comma-separated list of MIME types that are acceptable for its response.

Data Type


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