protected function _setContentTypeMemorization($value)
    {
        $found = null;
        foreach ($this->_specificOptions['memorize_headers'] as $key => $value) {
            if (strtolower($value) == 'content-type') {
                $found = $key;
            }
        }
        if ($value) {
            if (!$found) {
                $this->_specificOptions['memorize_headers'][] = 'Content-Type';
            }
        } else {
            if ($found) {
                unset($this->_specificOptions['memorize_headers'][$found]);
            }
        }
    }
protected function _setContentTypeMemorization($value)
    {
        $found = null;
        foreach ($this->_specificOptions['memorize_headers'] as $key => $value) {
            if (strtolower($value) == 'content-type') {
                $found = $key;
            }
        }
        if ($value) {
            if (!$found) {
                $this->_specificOptions['memorize_headers'][] = 'Content-Type';
            }
        } else {
            if ($found) {
                unset($this->_specificOptions['memorize_headers'][$found]);
            }
        }
    }
protected function _setContentTypeMemorization ( $ value ) { $ found = null ; foreach ( $ this -> _specificOptions [ 'memorize_headers' ] as $ key => $ value ) { if ( strtolower ( $ value ) == 'content-type' ) { $ found = $ key ; } } if ( $ value ) { if ( ! $ found ) { $ this -> _specificOptions [ 'memorize_headers' ] [ ] = 'Content-Type' ; } } else { if ( $ found ) { unset ( $ this -> _specificOptions [ 'memorize_headers' ] [ $ found ] ) ; } } }
Set the deprecated contentTypeMemorization option

@param boolean $value value
@return void
@deprecated
Set the deprecated contentTypeMemorization option