Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Elgg
Application
ServeFileHandlerTest
PHP Class Elgg\Application\ServeFileHandlerTest
Inheritance:
extends
Elgg\TestCase
Datei anzeigen
Open project: elgg/elgg
Protected Properties
Property
Type
Description
$file
ElggFile
$handler
ServeFileHandler
Public Methods
Method
Description
createRequest
(
File
$file
)
setUp
( )
testInvalidDisposition
( )
testResponseCodesOnSessionRestartWithCookieEnabledForFileUrls
( )
testResponseHeadersMatchFileAttributesForAttachmentUrls
( )
testResponseHeadersMatchFileAttributesForInlineUrls
( )
testSend400WhenUrlIsMalformmatted
( )
testSend403OnUrlExpiration
( )
testSends304WithIfNoneMatchHeadersIncluded
( )
testSends304WithIfNoneMatchHeadersIncludedAndDeflationEnabled
( )
testSends403OnFileModificationTimeMismatch
( )
Method Details
createRequest()
public
method
public
createRequest
(
File
$file
)
$file
Elgg\FileService\File
setUp()
public
method
public
setUp
( )
testInvalidDisposition()
public
method
public
testInvalidDisposition
( )
testResponseCodesOnSessionRestartWithCookieEnabledForFileUrls()
public
method
public
testResponseCodesOnSessionRestartWithCookieEnabledForFileUrls
( )
testResponseHeadersMatchFileAttributesForAttachmentUrls()
public
method
public
testResponseHeadersMatchFileAttributesForAttachmentUrls
( )
testResponseHeadersMatchFileAttributesForInlineUrls()
public
method
public
testResponseHeadersMatchFileAttributesForInlineUrls
( )
testSend400WhenUrlIsMalformmatted()
public
method
public
testSend400WhenUrlIsMalformmatted
( )
testSend403OnUrlExpiration()
public
method
public
testSend403OnUrlExpiration
( )
testSends304WithIfNoneMatchHeadersIncluded()
public
method
public
testSends304WithIfNoneMatchHeadersIncluded
( )
testSends304WithIfNoneMatchHeadersIncludedAndDeflationEnabled()
public
method
public
testSends304WithIfNoneMatchHeadersIncludedAndDeflationEnabled
( )
testSends403OnFileModificationTimeMismatch()
public
method
public
testSends403OnFileModificationTimeMismatch
( )
Property Details
$file
protected_oe property
protected
ElggFile
$file
return
ElggFile
$handler
protected_oe property
protected
ServeFileHandler,Elgg\Application
$handler
return
ServeFileHandler