Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ def _fetch(self, url, method="GET", body=None, headers={}):
if self._fully_authed:
hdrs["Cookie"] = self._session
else:
hdrs["X-Fastly-Key"] = self._api_key
hdrs["Fastly-Key"] = self._api_key

hdrs["Content-Accept"] = "application/json"
if not hdrs.has_key("Content-Type") and method in ["POST", "PUT"]:
Expand Down