SimplePie_HTTP_Parser::value PHP Method

value() public method

See what state to move to while within non-quoted header values
public value ( )
    function value()
    {
        if ($this->is_linear_whitespace()) {
            $this->linear_whitespace();
        } else {
            switch ($this->data[$this->position]) {
                case '"':
                    $this->position++;
                    $this->state = 'quote';
                    break;
                case "\n":
                    $this->position++;
                    $this->state = 'new_line';
                    break;
                default:
                    $this->state = 'value_char';
                    break;
            }
        }
    }