Did I find the right examples for you? yes no

All Samples(22)  |  Call(22)  |  Derive(0)  |  Import(0)
HTTP redirection is occurring endlessly.

@type location: C{str}
@ivar location: The first URL in the series of redirections which was
    not followed.

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/web/client.py   oh-mainline(Download)
            if self.factory._redirectCount >= self.factory.redirectLimit:
                err = error.InfiniteRedirection(
                    self.status,
                    'Infinite redirection detected',
                    location=url)

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/web/client.py   hortonworks-sandbox(Download)
            if self.factory._redirectCount >= self.factory.redirectLimit:
                err = error.InfiniteRedirection(
                    self.status,
                    'Infinite redirection detected',
                    location=url)

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/web/test/test_error.py   oh-mainline(Download)
        assigned.
        """
        e = error.InfiniteRedirection("200", location="/foo")
        self.assertEquals(e.message, "OK to /foo")
 
        location.
        """
        e = error.InfiniteRedirection("200")
        self.assertEquals(e.message, "OK")
 
        C{None}.
        """
        e = error.InfiniteRedirection("InvalidCode", location="/foo")
        self.assertEquals(e.message, None)
 
        constructor, the C{message} isn't affected by the value of C{status}.
        """
        e = error.InfiniteRedirection("200", "My own message", location="/foo")
        self.assertEquals(e.message, "My own message to /foo")
 
        include the empty location.
        """
        e = error.InfiniteRedirection("200", "My own message")
        self.assertEquals(e.message, "My own message")
 

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/web/test/test_error.py   SubliminalCollaborator(Download)
        assigned.
        """
        e = error.InfiniteRedirection("200", location="/foo")
        self.assertEqual(e.message, "OK to /foo")
 
        location.
        """
        e = error.InfiniteRedirection("200")
        self.assertEqual(e.message, "OK")
 
        C{None}.
        """
        e = error.InfiniteRedirection("InvalidCode", location="/foo")
        self.assertEqual(e.message, None)
 
        constructor, the C{message} isn't affected by the value of C{status}.
        """
        e = error.InfiniteRedirection("200", "My own message", location="/foo")
        self.assertEqual(e.message, "My own message to /foo")
 
        include the empty location.
        """
        e = error.InfiniteRedirection("200", "My own message")
        self.assertEqual(e.message, "My own message")
 

src/u/n/UnitScan-HEAD/twisted/web/test/test_error.py   UnitScan(Download)
        assigned.
        """
        e = error.InfiniteRedirection("200", location="/foo")
        self.assertEqual(e.message, "OK to /foo")
 
        location.
        """
        e = error.InfiniteRedirection("200")
        self.assertEqual(e.message, "OK")
 
        C{None}.
        """
        e = error.InfiniteRedirection("InvalidCode", location="/foo")
        self.assertEqual(e.message, None)
 
        constructor, the C{message} isn't affected by the value of C{status}.
        """
        e = error.InfiniteRedirection("200", "My own message", location="/foo")
        self.assertEqual(e.message, "My own message to /foo")
 
        include the empty location.
        """
        e = error.InfiniteRedirection("200", "My own message")
        self.assertEqual(e.message, "My own message")
 

src/t/w/Twisted-13.2.0/twisted/web/test/test_error.py   Twisted(Download)
        assigned.
        """
        e = error.InfiniteRedirection("200", location="/foo")
        self.assertEqual(e.message, "OK to /foo")
 
        location.
        """
        e = error.InfiniteRedirection("200")
        self.assertEqual(e.message, "OK")
 
        C{None}.
        """
        e = error.InfiniteRedirection("InvalidCode", location="/foo")
        self.assertEqual(e.message, None)
 
        constructor, the C{message} isn't affected by the value of C{status}.
        """
        e = error.InfiniteRedirection("200", "My own message", location="/foo")
        self.assertEqual(e.message, "My own message to /foo")
 
        include the empty location.
        """
        e = error.InfiniteRedirection("200", "My own message")
        self.assertEqual(e.message, "My own message")