Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GuzzleHttp
Tests
RedirectMiddlewareTest
PHP Class GuzzleHttp\Tests\RedirectMiddlewareTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Show file
Open project: nystudio107/instantanalytics
Public Methods
Method
Description
testAddsGuzzleRedirectHeader
( )
testAddsRefererHeader
( )
testDoesNotAddRefererWhenGoingFromHttpsToHttp
( )
testEnsuresProtocolIsValid
( )
testIgnoresNonRedirects
( )
testIgnoresWhenNoLocation
( )
testInvokesOnRedirectForRedirects
( )
testLimitsToMaxRedirects
( )
testNotRemoveAuthorizationHeaderOnRedirect
( )
testRedirectsWithAbsoluteUri
( )
testRedirectsWithRelativeUri
( )
testRemoveAuthorizationHeaderOnRedirect
( )
Method Details
testAddsGuzzleRedirectHeader()
public
method
public
testAddsGuzzleRedirectHeader
( )
testAddsRefererHeader()
public
method
public
testAddsRefererHeader
( )
testDoesNotAddRefererWhenGoingFromHttpsToHttp()
public
method
public
testDoesNotAddRefererWhenGoingFromHttpsToHttp
( )
testEnsuresProtocolIsValid()
public
method
public
testEnsuresProtocolIsValid
( )
testIgnoresNonRedirects()
public
method
public
testIgnoresNonRedirects
( )
testIgnoresWhenNoLocation()
public
method
public
testIgnoresWhenNoLocation
( )
testInvokesOnRedirectForRedirects()
public
method
public
testInvokesOnRedirectForRedirects
( )
testLimitsToMaxRedirects()
public
method
public
testLimitsToMaxRedirects
( )
testNotRemoveAuthorizationHeaderOnRedirect()
public
method
public
testNotRemoveAuthorizationHeaderOnRedirect
( )
testRedirectsWithAbsoluteUri()
public
method
public
testRedirectsWithAbsoluteUri
( )
testRedirectsWithRelativeUri()
public
method
public
testRedirectsWithRelativeUri
( )
testRemoveAuthorizationHeaderOnRedirect()
public
method
public
testRemoveAuthorizationHeaderOnRedirect
( )