public function RequestTest::testSetTrustedProxiesInvalidHeaderName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testSetTrustedProxiesInvalidHeaderName()
@expectedException \InvalidArgumentException
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 1664
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testSetTrustedProxiesInvalidHeaderName() {
Request::create('http://example.com/');
Request::setTrustedHeaderName('bogus name', 'X_MY_FOR');
}