Open jbiggsets opened 6 months ago
Setting the API key header name to X-CKAN-API-Key seems problematic. For example, the data.gov API uses the x-api-key as the HTTP header name.
X-CKAN-API-Key
x-api-key
This PR allows users to pass a dictionary instead of just an API key, specifying both the API key and the header name.
Setting the API key header name to
X-CKAN-API-Key
seems problematic. For example, the data.gov API uses thex-api-key
as the HTTP header name.This PR allows users to pass a dictionary instead of just an API key, specifying both the API key and the header name.