Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
PhlyTest
Http
ServerRequestFactoryTest
PHP Class PhlyTest\Http\ServerRequestFactoryTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Afficher le fichier
Open project: phly/http
Méthodes publiques
Méthode
Description
testCanCreateServerRequestViaFromGlobalsMethod
( )
testGetWillReturnDefaultValueIfKeyIsNotInArray
( )
testGetWillReturnValueIfPresentInArray
( )
testMarshalHostAndPortReturnsEmptyValuesIfNoHostHeaderAndNoServerName
( )
testMarshalHostAndPortReturnsServerAddrForHostIfPresentAndHostIsIpv6Address
( )
testMarshalHostAndPortReturnsServerNameForHostIfServerAddrPresentButHostIsNotIpv6Address
( )
testMarshalHostAndPortReturnsServerNameForHostWhenPresent
( )
testMarshalHostAndPortReturnsServerPortForPortWhenPresentWithServerName
( )
testMarshalHostAndPortUsesHostHeaderWhenPresent
( )
testMarshalHostAndPortWillDetectPortInHostHeaderWhenPresent
( )
testMarshalHostAndPortWillDetectPortInIpv6StyleHost
( )
testMarshalRequestUriFallsBackToRoot
( )
testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent
( )
testMarshalRequestUriUsesHTTPXOriginalUrlIfPresent
( )
testMarshalRequestUriUsesHTTPXRewriteUrlIfPresent
( )
testMarshalRequestUriUsesIISUnencodedUrlValueIfPresentAndUrlWasRewritten
( )
testMarshalRequestUriUsesOrigPathInfoIfPresent
( )
testMarshalUriDetectsHttpsSchemeFromServerValue
( )
testMarshalUriDetectsHttpsSchemeFromXForwardedProtoValue
( )
testMarshalUriInjectsQueryStringFromServer
( )
testMarshalUriStripsQueryStringFromRequestUri
( )
testMarshalUriUsesHttpSchemeIfHttpsServerValueEqualsOff
( )
testMarshalsExpectedHeadersFromServerArray
( )
testNormalizeServerReturnsArrayUnalteredIfApacheHeadersDoNotContainAuthorization
( )
testNormalizeServerUsesLowerCaseAuthorizationHeaderFromApacheWhenPresent
( )
testNormalizeServerUsesMixedCaseAuthorizationHeaderFromApacheWhenPresent
( )
testReturnsServerValueUnchangedIfHttpAuthorizationHeaderIsPresent
( )
testStripQueryStringReturnsNormalizedPathWhenQueryStringDetected
( )
testStripQueryStringReturnsUnchangedStringIfNoQueryStringDetected
( )
Method Details
testCanCreateServerRequestViaFromGlobalsMethod()
public
méthode
public
testCanCreateServerRequestViaFromGlobalsMethod
( )
testGetWillReturnDefaultValueIfKeyIsNotInArray()
public
méthode
public
testGetWillReturnDefaultValueIfKeyIsNotInArray
( )
testGetWillReturnValueIfPresentInArray()
public
méthode
public
testGetWillReturnValueIfPresentInArray
( )
testMarshalHostAndPortReturnsEmptyValuesIfNoHostHeaderAndNoServerName()
public
méthode
public
testMarshalHostAndPortReturnsEmptyValuesIfNoHostHeaderAndNoServerName
( )
testMarshalHostAndPortReturnsServerAddrForHostIfPresentAndHostIsIpv6Address()
public
méthode
public
testMarshalHostAndPortReturnsServerAddrForHostIfPresentAndHostIsIpv6Address
( )
testMarshalHostAndPortReturnsServerNameForHostIfServerAddrPresentButHostIsNotIpv6Address()
public
méthode
public
testMarshalHostAndPortReturnsServerNameForHostIfServerAddrPresentButHostIsNotIpv6Address
( )
testMarshalHostAndPortReturnsServerNameForHostWhenPresent()
public
méthode
public
testMarshalHostAndPortReturnsServerNameForHostWhenPresent
( )
testMarshalHostAndPortReturnsServerPortForPortWhenPresentWithServerName()
public
méthode
public
testMarshalHostAndPortReturnsServerPortForPortWhenPresentWithServerName
( )
testMarshalHostAndPortUsesHostHeaderWhenPresent()
public
méthode
public
testMarshalHostAndPortUsesHostHeaderWhenPresent
( )
testMarshalHostAndPortWillDetectPortInHostHeaderWhenPresent()
public
méthode
public
testMarshalHostAndPortWillDetectPortInHostHeaderWhenPresent
( )
testMarshalHostAndPortWillDetectPortInIpv6StyleHost()
public
méthode
public
testMarshalHostAndPortWillDetectPortInIpv6StyleHost
( )
testMarshalRequestUriFallsBackToRoot()
public
méthode
public
testMarshalRequestUriFallsBackToRoot
( )
testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent()
public
méthode
public
testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent
( )
testMarshalRequestUriUsesHTTPXOriginalUrlIfPresent()
public
méthode
public
testMarshalRequestUriUsesHTTPXOriginalUrlIfPresent
( )
testMarshalRequestUriUsesHTTPXRewriteUrlIfPresent()
public
méthode
public
testMarshalRequestUriUsesHTTPXRewriteUrlIfPresent
( )
testMarshalRequestUriUsesIISUnencodedUrlValueIfPresentAndUrlWasRewritten()
public
méthode
public
testMarshalRequestUriUsesIISUnencodedUrlValueIfPresentAndUrlWasRewritten
( )
testMarshalRequestUriUsesOrigPathInfoIfPresent()
public
méthode
public
testMarshalRequestUriUsesOrigPathInfoIfPresent
( )
testMarshalUriDetectsHttpsSchemeFromServerValue()
public
méthode
public
testMarshalUriDetectsHttpsSchemeFromServerValue
( )
testMarshalUriDetectsHttpsSchemeFromXForwardedProtoValue()
public
méthode
public
testMarshalUriDetectsHttpsSchemeFromXForwardedProtoValue
( )
testMarshalUriInjectsQueryStringFromServer()
public
méthode
public
testMarshalUriInjectsQueryStringFromServer
( )
testMarshalUriStripsQueryStringFromRequestUri()
public
méthode
public
testMarshalUriStripsQueryStringFromRequestUri
( )
testMarshalUriUsesHttpSchemeIfHttpsServerValueEqualsOff()
public
méthode
public
testMarshalUriUsesHttpSchemeIfHttpsServerValueEqualsOff
( )
testMarshalsExpectedHeadersFromServerArray()
public
méthode
public
testMarshalsExpectedHeadersFromServerArray
( )
testNormalizeServerReturnsArrayUnalteredIfApacheHeadersDoNotContainAuthorization()
public
méthode
public
testNormalizeServerReturnsArrayUnalteredIfApacheHeadersDoNotContainAuthorization
( )
testNormalizeServerUsesLowerCaseAuthorizationHeaderFromApacheWhenPresent()
public
méthode
public
testNormalizeServerUsesLowerCaseAuthorizationHeaderFromApacheWhenPresent
( )
testNormalizeServerUsesMixedCaseAuthorizationHeaderFromApacheWhenPresent()
public
méthode
public
testNormalizeServerUsesMixedCaseAuthorizationHeaderFromApacheWhenPresent
( )
testReturnsServerValueUnchangedIfHttpAuthorizationHeaderIsPresent()
public
méthode
public
testReturnsServerValueUnchangedIfHttpAuthorizationHeaderIsPresent
( )
testStripQueryStringReturnsNormalizedPathWhenQueryStringDetected()
public
méthode
public
testStripQueryStringReturnsNormalizedPathWhenQueryStringDetected
( )
testStripQueryStringReturnsUnchangedStringIfNoQueryStringDetected()
public
méthode
public
testStripQueryStringReturnsUnchangedStringIfNoQueryStringDetected
( )