Example #1
0
	/**
	 *
	 *@return string a HTTP method in all caps
	 */
	public static function normalizeHTTPMethod($method) {
		$method = strtoupper($method);

		if(OAuthUtil::isSupportedMethod($method)){
			return $method;
		}

		//raise error/ exception? 'unsupported HTTP Method
	}