classes/phing/tasks/system/condition/HttpCondition.php
public function setRequestMethod($method)
    {
        $this->requestMethod = $method === null ? self::DEFAULT_REQUEST_METHOD : strtoupper($method);
    }
public function setRequestMethod($method)
    {
        $this->requestMethod = $method === null ? self::DEFAULT_REQUEST_METHOD : strtoupper($method);
    }
public function setRequestMethod ( $ method ) { $ this -> requestMethod = $ method === null ? self :: DEFAULT_REQUEST_METHOD : strtoupper ( $ method ) ; }
Sets the method to be used when issuing the HTTP request.

@param string $method The HTTP request method to use. Valid values are
"GET", "HEAD", "TRACE", etc. The default
if not specified is "GET".
Sets the method to be used when issuing the HTTP request .