public function removeHeaders($keys) {
    foreach ($keys as $key) {
      unset($this->allHeaders[$key]);
      unset($this->additionalHeaders[$key]);
    }

    return $this;
  }
public function removeHeaders($keys) {
    foreach ($keys as $key) {
      unset($this->allHeaders[$key]);
      unset($this->additionalHeaders[$key]);
    }

    return $this;
  }
public function removeHeaders ( $ keys ) { foreach ( $ keys as $ key ) { unset ( $ this -> allHeaders [ $ key ] ) ; unset ( $ this -> additionalHeaders [ $ key ] ) ; } return $ this ; }
Given an array of header names.

This will remove the given headers from the existing headers.
Both additional headers and the original headers from the
server are affected here.

Note that you cannot remove metadata through this mechanism,
as it is managed using the metadata() methods.

@attention
Many headers are generated automatically, such as
Content-Type and Content-Length. Removing these
will simply result in their being regenerated.

@param array $keys
The header names to be removed.

@retval HPCloud::Storage::ObjectStorage::RemoteObject
@return \HPCloud\Storage\ObjectStorage\RemoteObject
$this for the current object so it can be used in chaining methods.
Given an array of header names .