コード例 #1
0
ファイル: HttpResponseTest.php プロジェクト: weew/http
 public function test_is_secure()
 {
     $response = new HttpResponse();
     $this->assertFalse($response->isSecure());
     $response->setProtocol(HttpProtocol::HTTPS);
     $this->assertTrue($response->isSecure());
 }