diff --git a/src/Bigcommerce/Api/Connection.php b/src/Bigcommerce/Api/Connection.php index a9daa336..e6f9845b 100644 --- a/src/Bigcommerce/Api/Connection.php +++ b/src/Bigcommerce/Api/Connection.php @@ -164,6 +164,15 @@ public function addHeader($header, $value) $this->headers[$header] = "$header: $value"; } + /** + * Remove a header from the request. + * @param string $header + */ + public function removeHeader($header) + { + unset($this->headers[$header]); + } + /** * Get the MIME type that should be used for this request. */