diff --git a/woocommerce/api.py b/woocommerce/api.py index da81e81..4a0ca37 100644 --- a/woocommerce/api.py +++ b/woocommerce/api.py @@ -74,6 +74,8 @@ def __request(self, method, endpoint, data, params=None, **kwargs): "user-agent": "WooCommerce API Client-Python/%s" % __version__, "accept": "application/json" } + new_headers = kwargs.pop("headers", {}) + headers.update(new_headers) if self.is_ssl is True and self.query_string_auth is False: auth = (self.consumer_key, self.consumer_secret)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: