Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • Psr
    • Http
      • Message

Classes

  • ClientTest
  • HandlerStackTest
  • MessageFormatterTest
  • MiddlewareTest
  • MultipartStreamTest
  • PoolTest
  • PrepareBodyMiddlewareTest
  • RedirectMiddlewareTest
  • RetryMiddlewareTest
  • Server
  • TransferStatsTest
  • UriTemplateTest
  • Overview
  • Namespace
  • Class
  • Download

Class RedirectMiddlewareTest

PHPUnit\Framework\TestCase
Extended by GuzzleHttp\Tests\RedirectMiddlewareTest
Namespace: GuzzleHttp\Tests
Covers: GuzzleHttp\RedirectMiddleware
Located at tests/RedirectMiddlewareTest.php
Methods summary
public
# testIgnoresNonRedirects( )
public
# testIgnoresWhenNoLocation( )
public
# testRedirectsWithAbsoluteUri( )
public
# testRedirectsWithRelativeUri( )
public
# testLimitsToMaxRedirects( )

Expectedexception

\GuzzleHttp\Exception\TooManyRedirectsException

Expectedexceptionmessage

Will not follow more than 3 redirects
public
# testEnsuresProtocolIsValid( )

Expectedexception

\GuzzleHttp\Exception\BadResponseException

Expectedexceptionmessage

Redirect URI,
public
# testAddsRefererHeader( )
public
# testAddsGuzzleRedirectHeader( )
public
# testAddsGuzzleRedirectStatusHeader( )
public
# testDoesNotAddRefererWhenGoingFromHttpsToHttp( )
public
# testInvokesOnRedirectForRedirects( )
public
# testRemoveAuthorizationHeaderOnRedirect( )
public
# testNotRemoveAuthorizationHeaderOnRedirect( )
MercadoLibre PHP SDK API documentation generated by ApiGen