public function matchHeaders($attributes)
    {
        $attributes = (array) $attributes;
        foreach ($attributes as $key => $regexp) {
            $this->matchHeader($key, $regexp);
        }
    }