You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was very specific to prototype, which has a very low adoption rate
these days.
/**
* testRequestClientTypes method
*
* @return void
*/
public function testRequestClientTypes() {
$this->RequestHandler->request->env('HTTP_X_PROTOTYPE_VERSION', '1.5');
$this->assertEquals('1.5', $this->RequestHandler->getAjaxVersion());
$this->RequestHandler->request->env('HTTP_X_REQUESTED_WITH', false);
$this->RequestHandler->request->env('HTTP_X_PROTOTYPE_VERSION', false);
$this->assertFalse($this->RequestHandler->getAjaxVersion());
}
0 commit comments