ownCloud\TarStreamer\Tests\Streamer::providerSendHeadersOK PHP Method

providerSendHeadersOK() public method

public providerSendHeadersOK ( ) : array
return array array(filename, mimetype), expectedMimetype, expectedFilename, $description, $browser
    public function providerSendHeadersOK()
    {
        return array(array(array(), 'application/x-tar', 'archive.tar', 'default headers', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36', 'Content-Disposition: attachment; filename*=UTF-8\'\'archive.tar; filename="archive.tar"'), array(array('file.tar', 'application/octet-stream'), 'application/octet-stream', 'file.tar', 'specific headers', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36', 'Content-Disposition: attachment; filename*=UTF-8\'\'file.tar; filename="file.tar"'), array(array(), 'application/x-tar', 'archive.tar', 'default headers', 'Mozilla/5.0 (compatible, MSIE 11, Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko', 'Content-Disposition: attachment; filename="archive.tar"'), array(array('file.tar', 'application/octet-stream'), 'application/octet-stream', 'file.tar', 'specific headers', 'Mozilla/5.0 (compatible, MSIE 11, Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko', 'Content-Disposition: attachment; filename="file.tar"'));
    }