Skip to content

Commit

Permalink
Merge 714131c into da24adc
Browse files Browse the repository at this point in the history
  • Loading branch information
summercms committed Jan 19, 2021
2 parents da24adc + 714131c commit fdc03d9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Analyser/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ private function &analyseHeaders()
$this->analyseBaiduHeader($header);
}

if ($header = $this->getHeader('X-Bolt-Phone-UA')) {
$this->analyseBoltHeader($header);
}

if ($header = $this->getHeader('X-Skyfire-Phone')) {
$this->analyseSkyfireHeader($header);
}

/* Analyse Android WebView browser ids */

Expand Down Expand Up @@ -90,6 +97,16 @@ private function analyseBaiduHeader($header)
new Header\Baidu($header, $this->data);
}

private function analyseBoltHeader($header)
{
new Header\Bolt($header, $this->data);
}

private function analyseSkyfireHeader($header)
{
new Header\Skyfire($header, $this->data);
}

private function analyseOperaMiniPhone($header)
{
new Header\OperaMini($header, $this->data);
Expand Down

0 comments on commit fdc03d9

Please sign in to comment.