protected function shouldUsePostData()
    {
        if (!isset($this->postData)) {
            return false;
        }
        
        $contentType = $this->getContentType();
        
        return
            in_array($contentType, ['application/x-www-form-urlencoded', 'multipart/form-data']) ||
            empty($contentType) && !array_key_exists('SERVER_PROTOCOL', $this->getServerParams());
    }