public static function Reader::setHttpMethodOverride in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Reader/Reader.php \Zend\Feed\Reader\Reader::setHttpMethodOverride()
Toggle using POST instead of PUT and DELETE HTTP methods
Some feed implementations do not accept PUT and DELETE HTTP methods, or they can't be used because of proxies or other measures. This allows turning on using POST where PUT and DELETE would normally be used; in addition, an X-Method-Override header will be sent with a value of PUT or DELETE as appropriate.
Parameters
bool $override Whether to override PUT and DELETE.:
Return value
void
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Reader.php, line 155
Class
Namespace
Zend\Feed\ReaderCode
public static function setHttpMethodOverride($override = true) {
static::$httpMethodOverride = $override;
}