Fixed bug with additional headers.

This commit is contained in:
Matt Butcher 2012-06-22 11:46:59 -05:00
parent 7448eb5280
commit fbc04a426a

View File

@ -274,6 +274,14 @@ class RemoteObject extends Object {
return $this->allHeaders;
}
public function additionalHeaders() {
// Any additional headers will be set. Note that $this->headers will contain
// some headers that are NOT additional. But we do not know which headers are
// additional and which are from Swift because Swift does not commit to using
// a specific set of headers.
return parent::additionalHeaders() + $this->headers;
}
/**
* Get the content of this object.
*