Layton/Library/Http/Headers.php
public function allPreserveCase()
    {
        $fields = $this->all();
        $raw = [];
        foreach ($fields as $key => $field) {
            $raw[static::toPreserveCase($key)] = $field;
        }
        return $raw;
    }
public function allPreserveCase()
    {
        $fields = $this->all();
        $raw = [];
        foreach ($fields as $key => $field) {
            $raw[static::toPreserveCase($key)] = $field;
        }
        return $raw;
    }
public function allPreserveCase ( ) { $ fields = $ this -> all ( ) ; $ raw = [ ] ; foreach ( $ fields as $ key => $ field ) { $ raw [ static :: toPreserveCase ( $ key ) ] = $ field ; } return $ raw ; }
Get all header fields with Preserve Case format.

@return array
Get all header fields with Preserve Case format .