Library/Think/Http/Request.class.php
/**
     * Does the Request body contain parsed form data?
     * @return bool
     */
Does the Request body contain parsed form data.
@return bool
Does the Request body contain parsed form data . @return bool
public function isFormData() {
        $method = isset($this->env['hhailuo.method_override.original_method']) ? $this->env['hhailuo.method_override.original_method'] : $this->getMethod();
        return ($method === self::METHOD_POST && is_null($this->getContentType())) || in_array($this->getMediaType(), self::$formDataMediaTypes);
    }
public function isFormData ( ) { $ method = isset ( $ this -> env [ 'hhailuo.method_override.original_method' ] ) ? $ this -> env [ 'hhailuo.method_override.original_method' ] : $ this -> getMethod ( ) ; return ( $ method === self :: METHOD_POST && is_null ( $ this -> getContentType ( ) ) ) || in_array ( $ this -> getMediaType ( ) , self :: $ formDataMediaTypes ) ; }
Does the Request body contain parsed form data?
Does the Request body contain parsed form data?