removal of unnecessary file, and composer update
This commit is contained in:
@@ -243,6 +243,17 @@ class Request extends SymfonyRequest implements Arrayable, ArrayAccess
|
||||
return $this->headers->get('X-PJAX') == true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the request is the result of an prefetch call.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function prefetch()
|
||||
{
|
||||
return strcasecmp($this->server->get('HTTP_X_MOZ'), 'prefetch') === 0 ||
|
||||
strcasecmp($this->headers->get('Purpose'), 'prefetch') === 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the request is over HTTPS.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user