Esempio n. 1
0
 /**
  * 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.
  *
  * @param  boolean $override Whether to override PUT and DELETE.
  * @return void
  */
 public static function setHttpMethodOverride($override = true)
 {
     self::$_httpMethodOverride = $override;
 }